apiVersion: v1
kind: ConfigMap
metadata:
  name: argocd-cm
data:
  url: https://cd.roundtable.lsst.codes
  statusbadge.enabled: 'true'
  # Dex handles OAuth single-sign-on (SSO).
  dex.config: |
    connectors:
      # Auth using GitHub.
      # See https://dexidp.io/docs/connectors/github/
      # For example, we can authorize only members of certain teams in orgs.
      - type: github
        id: github
        name: GitHub
        config:
          clientID: 2595f4cc1c9547209007
          # Reference to key in argo-secret Kubernetes resource
          clientSecret: $dex.github.clientSecret
          orgs:
            - name: lsst-sqre
  # Git repositories that Argo CD monitors.
  repositories: |
    - url: https://github.com/argoproj/argocd-example-apps.git
    - url: https://github.com/argoproj/argo-cd.git
    - url: https://github.com/lsst-sqre/checkerboard.git
    - url: https://github.com/lsst-sqre/lsp-deploy.git
    - url: https://github.com/lsst-sqre/lsst-templatebot-aide.git
    - url: https://github.com/lsst-sqre/ltd-dasher.git
    - url: https://github.com/lsst-sqre/ltd-events.git
    - url: https://github.com/lsst-sqre/ltd-keeper.git
    - url: https://github.com/lsst-sqre/roundtable.git
    - url: https://github.com/lsst-sqre/safirdemo.git
    - url: https://github.com/lsst-sqre/segwarides.git
    - url: https://github.com/lsst-sqre/sqrbot-jr.git
    - url: https://github.com/lsst-sqre/strimzi-registry-operator.git
    - url: https://github.com/lsst-sqre/templatebot.git
    - url: https://github.com/lsst-sqre/ook.git
  # Non-standard Helm chart repositories.
  helm.repositories: |
    # New default stable Helm chart repository
    - url: https://charts.helm.sh/stable
      name: stable
    # For the cert-manager chart
    - url: https://charts.jetstack.io
      name: jetstack
    # For the ingress-nginx chart
    - url: https://kubernetes.github.io/ingress-nginx/
      name: ingress-nginx
    # For Strimzi (Kafka)
    - url: https://strimzi.io/charts/
      name: strimzi
    # For Vault Secrets Operator
    - url: https://ricoberger.github.io/helm-charts/
      name: ricoberger
    # For Prometheus
    - url: https://prometheus-community.github.io/helm-charts
      name: prometheus-community
    # For the Grafana subchart for Prometheus
    - url: https://grafana.github.io/helm-charts
      name: grafana
    # SQuaRE charts
    - url: https://lsst-sqre.github.io/charts/
      name: lsst-sqre
