apiVersion: v1
kind: ConfigMap
metadata:
  name: argocd-cm
data:
  url: https://argocd.distrail.io
  statusbadge.enabled: "true"
  admin.enabled: "true"
  dex.config: |
    connectors:
      - type: github
        id: github
        name: GitHub
        config:
          clientID: 677cdda3f2a6ea99531f
          clientSecret: $dex.github.clientSecret
          orgs:
          - name: distrail-io
  repository.credentials: |
    - githubAppID: 115303
      githubAppInstallationID: 16920488
      githubAppPrivateKeySecret:
        key: githubAppPrivateKey
        name: repo-distrail-io
      url: https://github.com/distrail-io
