Skip to content

Commit 8feb8c8

Browse files
author
Martin Jackson
committed
Add sharedValueFiles to all clusterGroup files
1 parent ab96e0d commit 8feb8c8

5 files changed

Lines changed: 20 additions & 5 deletions

File tree

values-all-in-one.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ clusterGroup:
3232
name: hub
3333
isHubCluster: true
3434

35-
sharedValueFiles:
36-
- '/cluster-overrides/values-{{ $.Values.global.clusterPlatform }}.yaml'
37-
- '/cluster-overrides/values-{{ $.Values.global.clusterPlatform }}-{{ $.Values.global.clusterVersion }}.yaml'
38-
3935
# Namespaces that are expected to be created.
4036
# The pattern will apply these namespaces
4137
# and creates an operator group for that namespace
@@ -252,6 +248,10 @@ clusterGroup:
252248
# timeout: 234
253249
# verbosity: "-v"
254250

251+
sharedValueFiles:
252+
- '/cluster-overrides/values-{{ $.Values.global.clusterPlatform }}.yaml'
253+
- '/cluster-overrides/values-{{ $.Values.global.clusterPlatform }}-{{ $.Values.global.clusterVersion }}.yaml'
254+
255255
# This section is used by ACM
256256
managedClusterGroups:
257257
- name: development

values-development.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,18 @@ clusterGroup:
135135
# project: spring-petclinic
136136
# path: charts/region/stage/spring-petclinic-config
137137

138-
138+
139139
dev-spring-petclinic:
140140
name: dev-spring-petclinic
141141
namespace: devsecops-dev
142142
project: spring-petclinic
143143
kustomize: true
144144
path: charts/region/spring-petclinic/environments/dev
145145

146+
sharedValueFiles:
147+
- '/cluster-overrides/values-{{ $.Values.global.clusterPlatform }}.yaml'
148+
E - '/cluster-overrides/values-{{ $.Values.global.clusterPlatform }}-{{ $.Values.global.clusterVersion }}.yaml' # E:
149+
146150
# To have apps in multiple flavors, use namespaces and use helm overrides as appropriate
147151
#
148152
# - name: pipelines

values-hub.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,10 @@ clusterGroup:
135135
# timeout: 234
136136
# verbosity: "-v"
137137

138+
sharedValueFiles:
139+
- '/cluster-overrides/values-{{ $.Values.global.clusterPlatform }}.yaml'
140+
E - '/cluster-overrides/values-{{ $.Values.global.clusterPlatform }}-{{ $.Values.global.clusterVersion }}.yaml' # E: line too long (115 > 80 characters)
141+
138142
# This section is used by ACM
139143
managedClusterGroups:
140144
- name: development

values-opphub.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ clusterGroup:
105105
project: hub
106106
path: charts/hub/cli-tools
107107

108+
sharedValueFiles:
109+
- '/cluster-overrides/values-{{ $.Values.global.clusterPlatform }}.yaml'
110+
E - '/cluster-overrides/values-{{ $.Values.global.clusterPlatform }}-{{ $.Values.global.clusterVersion }}.yaml' # E:
108111
# This section is used by ACM
109112
managedClusterGroups:
110113
- name: devel

values-production.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,7 @@ clusterGroup:
3939
namespace: openshift-operators
4040
project: secured
4141
path: charts/region/quay
42+
43+
sharedValueFiles:
44+
- '/cluster-overrides/values-{{ $.Values.global.clusterPlatform }}.yaml'
45+
E - '/cluster-overrides/values-{{ $.Values.global.clusterPlatform }}-{{ $.Values.global.clusterVersion }}.yaml' # E:

0 commit comments

Comments
 (0)