argocd.yml 1.91 KB
Newer Older
torgiren's avatar
torgiren committed
1
2
3
4
5
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: argocd
  namespace: argocd
6
7
8
  annotations:
    argocd.argoproj.io/sync-options: Prune=true
    argocd.argoproj.io/sync-wave: "-1"
torgiren's avatar
torgiren committed
9
spec:
10
  project: exphost
torgiren's avatar
torgiren committed
11
12
  source:
    repoURL: 'https://argoproj.github.io/argo-helm'
13
    targetRevision: 7.3.9
torgiren's avatar
torgiren committed
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    chart: argo-cd
    helm:
      values: |
        controller:
          metrics:
            enabled: true
            serviceMonitor:
              enabled: true
        server:
          extraArgs:
            - --insecure
          metrics:
            enabled: true
            serviceMonitor:
              enabled: true
          ingress:
            enabled: true
31
32
33
            hostname: argocd.{{ .Values.domain}}
            tls: true
            #https: false
torgiren's avatar
torgiren committed
34
35
36
37
            annotations:
              cert-manager.io/cluster-issuer: acme-issuer
          ingressGrpc:
            enabled: false
38
39
40
41
42
            hostname: argocd.{{ .Values.domain}}
            tls: true
            #https: false
        config:
          cm:
torgiren's avatar
torgiren committed
43
44
45
46
47
            url: https://argocd.{{ .Values.domain }}
            oidc.config: |
              name: dex
              issuer: "https://auth.{{ .Values.domain }}/dex"
              clientID: argo
48
              cliClientID: argocli
torgiren's avatar
torgiren committed
49
50
51
52
53
54
55
56
57
              clientSecret: nY4pHGFH0dXKARUWwsxh1Q==
              requestedIDTokenClaims:
                groups:
                  essential: true
              requestedScopes:
                - openid
                - profile
                - email
                - groups
58
          rbac:
torgiren's avatar
torgiren committed
59
60
61
62
63
64
65
66
67
68
69
70
71
            policy.csv: |
              g, argo-admins, role:admin
        repoServer:
          metrics:
            enabled: true
            serviceMonitor:
              enabled: true
  destination:
    server: 'https://kubernetes.default.svc'
    namespace: argocd
  syncPolicy:
    automated:
      prune: true
torgiren's avatar
torgiren committed
72
      selfHeal: true
torgiren's avatar
torgiren committed
73
74
    syncOptions:
      - CreateNamespace=true