-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathargocd.yaml
103 lines (103 loc) · 3.03 KB
/
argocd.yaml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: https://argoproj.github.io/argo-helm
chart: argo-cd
targetRevision: '*'
helm:
values: |
dex:
enabled: false
redis:
enabled: true
metrics:
enabled: true
serviceMonitor:
enabled: true
redis-ha:
enabled: false
controller:
metrics:
enabled: true
serviceMonitor:
enabled: true
repoServer:
metrics:
enabled: true
serviceMonitor:
enabled: true
server:
volumeMounts:
- name: opt-ca-certificates
mountPath: /etc/ssl/certs/root-ca.pem
readOnly: true
volumes:
- name: opt-ca-certificates
hostPath:
path: /opt/ca-certificates/root-ca.pem
type: File
metrics:
enabled: true
serviceMonitor:
enabled: true
config:
url: https://argocd.kind.cluster
application.instanceLabelKey: argocd.argoproj.io/instance
admin.enabled: 'false'
resource.customizations.ignoreDifferences.kyverno.io_Policy: |
jqPathExpressions:
- .spec.rules[] | select(.name|test("autogen-."))
resource.customizations.ignoreDifferences.kyverno.io_ClusterPolicy: |
jqPathExpressions:
- .spec.rules[] | select(.name|test("autogen-."))
resource.exclusions: |
- apiGroups:
- cilium.io
kinds:
- CiliumIdentity
clusters:
- '*'
resource.compareoptions: |
ignoreResourceStatusField: all
oidc.config: |
name: Keycloak
issuer: https://keycloak.kind.cluster/auth/realms/master
clientID: argocd
clientSecret: argocd-client-secret
requestedScopes: ['openid', 'profile', 'email', 'groups']
rbacConfig:
policy.default: role:readonly
policy.csv: |
g, argocd-admin, role:admin
extraArgs:
- --insecure
ingress:
annotations:
kubernetes.io/ingress.class: nginx
cert-manager.io/cluster-issuer: ca-issuer
enabled: true
hosts:
- argocd.kind.cluster
tls:
- secretName: argocd.kind.cluster
hosts:
- argocd.kind.cluster
destination:
server: https://kubernetes.default.svc
namespace: argocd
revisionHistoryLimit: 3
syncPolicy:
syncOptions:
- ApplyOutOfSyncOnly=true
- CreateNamespace=true
- FailOnSharedResource=true
- PruneLast=true
automated:
prune: true
selfHeal: true