-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathvalues-hub.yaml
More file actions
176 lines (162 loc) · 5.37 KB
/
Copy pathvalues-hub.yaml
File metadata and controls
176 lines (162 loc) · 5.37 KB
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
---
clusterGroup:
name: hub
isHubCluster: true
namespaces:
cluster-ca-mgt: {}
open-cluster-management: {}
open-cluster-management-observability: {}
vault: {}
external-secrets-operator:
operatorGroup: true
targetNamespaces: []
regional-dr: {}
openshift-dr-system: {}
openshift-dr-ops: {}
openshift-storage: {}
policies: {}
subscriptions:
acm:
name: advanced-cluster-management
namespace: open-cluster-management
channel: release-2.17
eso:
name: openshift-external-secrets-operator
namespace: external-secrets-operator
channel: stable-v1
odf-multicluster-orchestrator:
name: odf-multicluster-orchestrator
namespace: openshift-operators
openshift-data-foundation:
name: odf-operator
namespace: openshift-storage
argoCD:
resourceTrackingMethod: annotation
argoProjects:
- hub
- opp
# Explicitly mention the cluster-state based overrides we plan to use for this pattern.
# We can use self-referential variables because the chart calls the tpl function with these variables defined
sharedValueFiles:
- '/overrides/values-{{ $.Values.global.clusterPlatform }}.yaml'
# sharedValueFiles is a flexible mechanism that will add the listed valuefiles to every app defined in the
# applications section. We intend this to supplement and possibly even replace previous "magic" mechanisms, though
# we do not at present have a target date for removal.
#
# To replicate the "classic" magic include structure, the clusterGroup would need all of these
# sharedValueFiles, in this order:
# - '/overrides/values-{{ $.Values.global.clusterPlatform }}.yaml'
# - '/overrides/values-{{ $.Values.global.clusterPlatform }}-{{ $.Values.global.clusterVersion }}.yaml'
# - '/overrides/values-{{ $.Values.global.clusterPlatform }}-{{ $.Values.clusterGroup.name }}.yaml'
# - '/overrides/values-{{ $.Values.global.clusterVersion }}-{{ $.Values.clusterGroup.name }}.yaml"
# - '/overrides/values-{{ $.Values.global.localClusterName }}.yaml'
# This kind of variable substitution will work with any of the variables the Validated Patterns operator knows
# about and sets, so this is also possible, for example:
# - '/overrides/values-{{ $.Values.global.hubClusterDomain }}.yaml'
# - '/overrides/values-{{ $.Values.global.localClusterDomain }}.yaml'
applications:
acm:
name: acm
namespace: open-cluster-management
argoProject: hub
chart: acm
chartVersion: 0.2.*
ignoreDifferences:
- group: internal.open-cluster-management.io
kind: ManagedClusterInfo
ensure-openshift-console-plugins:
name: ensure-openshift-console-plugins
namespace: openshift-console
argoProject: opp
chart: ensure-openshift-console-plugins
chartVersion: 0.1.*
extraValueFiles:
- '$patternref/overrides/values-console-plugins-hub.yaml'
opp-policy:
name: opp-policy
namespace: openshift
argoProject: opp
chart: opp-policy-chart
chartVersion: 0.0.*
annotations:
argocd.argoproj.io/sync-wave: "5"
syncPolicy:
automated: {}
retry:
limit: 20
backoff:
duration: 5s
factor: 2
maxDuration: 3m
syncOptions:
- syncTimeout=3600s
- CreateNamespace=true
- PrunePropagationPolicy=foreground
- RespectIgnoreDifferences=true
- ServerSideApply=true
extraValueFiles:
- '/overrides/values-cluster-names.yaml'
ignoreDifferences:
- group: operators.openshift.io
kind: Console
jsonPointers:
- /spec/plugins
rdr:
name: regional-dr
namespace: regional-dr
argoProject: opp
chart: regionaldr-with-virt
chartVersion: 0.0.*
annotations:
argocd.argoproj.io/sync-wave: "10"
syncPolicy:
automated: {}
# We have to wait for the clusters to build, whcih can take a long time
retry:
limit: 60
backoff:
duration: 5s
factor: 2
maxDuration: 3m
syncOptions:
- RespectIgnoreDifferences=true
extraValueFiles:
- '/overrides/values-cluster-names.yaml'
- '/overrides/values-egv-dr.yaml'
ignoreDifferences:
# Prevent ArgoCD from pruning dynamically created OCM resources
# These resources are created by OCM operators and should never be pruned
- group: internal.open-cluster-management.io
kind: ManagedClusterInfo
vault:
name: vault
namespace: vault
argoProject: hub
chart: hashicorp-vault
chartVersion: 0.1.*
openshift-external-secrets:
name: openshift-external-secrets
namespace: external-secrets
argoProject: opp
chart: openshift-external-secrets
chartVersion: 0.0.*
odf:
name: odf
namespace: openshift-storage
argoProject: opp
chart: openshift-data-foundations
chartVersion: 0.2.*
extraValueFiles:
- '$patternref/overrides/values-odf-chart.yaml'
imperative:
verbosity: "-vvv"
jobs: []
managedClusterGroups:
resilient:
name: resilient
helmOverrides:
- name: clusterGroup.isHubCluster
value: "false"
acmlabels:
- name: clusterGroup
value: resilient