-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathargocd-cr.yaml
61 lines (61 loc) · 1.51 KB
/
argocd-cr.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
apiVersion: argoproj.io/v1alpha1
kind: ArgoCD
metadata:
name: argocd
spec:
dex:
openShiftOAuth: true
applicationInstanceLabelKey: argocd.argoproj.io/instance
applicationSet: {}
server:
insecure: true
route:
enabled: true
tls:
termination: edge
insecureEdgeTerminationPolicy: Redirect
resourceCustomizations: |
route.openshift.io/Route:
ignoreDifferences: |
jsonPointers:
- /status/ingress
integreatly.org/GrafanaDataSource:
ignoreDifferences: |
jsonPointers:
- /spec/datasources/0/secureJsonData/httpHeaderValue1
PersistentVolumeClaim:
health.lua: |
hs = {}
if obj.status ~= nil then
if obj.status.phase ~= nil then
if obj.status.phase == "Pending" then
hs.status = "Healthy"
hs.message = obj.status.phase
return hs
end
if obj.status.phase == "Bound" then
hs.status = "Healthy"
hs.message = obj.status.phase
return hs
end
end
end
hs.status = "Progressing"
hs.message = "Waiting for certificate"
return hs
resourceExclusions: |
- apiGroups:
- tekton.dev
clusters:
- '*'
kinds:
- TaskRun
- PipelineRun
ha:
enabled: false
rbac:
defaultPolicy: role:readonly
policy: |
g, system:cluster-admins, role:admin
g, system:authenticated, role:readonly
scopes: "[groups]"