dex.yml 986 Bytes
Newer Older
torgiren's avatar
torgiren committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: dex
  namespace: argocd
  finalizers:
    - resources-finalizer.argocd.argoproj.io
spec:
  project: default
  source:
    repoURL: 'https://charts.dexidp.io'
    targetRevision: 0.5.0
    chart: dex
    helm:
      values: |
        configSecret:
          create: false
          name: dex-config
        ingress:
          enabled: true
          hosts:
            - host: auth.{{ .Values.domain }}
              paths:
                - path: /dex
                  pathType: ImplementationSpecific
          tls:
            - hosts:
                - auth.{{ .Values.domain }}
              secretName: dex-acme.tls
          annotations:
            cert-manager.io/cluster-issuer: acme-issuer
  destination:
    server: 'https://kubernetes.default.svc'
    namespace: dex
  syncPolicy:
    automated:
      prune: true
torgiren's avatar
torgiren committed
38
      selfHeal: true
torgiren's avatar
torgiren committed
39
40
41
    syncOptions:
      - PruneLast=true
      - CreateNamespace=true