Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sharedValueFiles to all clusterGroup files in lieu of "magic" value files #107

Merged
merged 5 commits into from
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions values-all-in-one.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,10 @@ clusterGroup:
# timeout: 234
# verbosity: "-v"

sharedValueFiles:
- '/overrides/values-{{ $.Values.global.clusterPlatform }}.yaml'
- '/overrides/values-{{ $.Values.global.clusterPlatform }}-{{ $.Values.global.clusterVersion }}.yaml'

# This section is used by ACM
managedClusterGroups:
- name: development
Expand Down
6 changes: 5 additions & 1 deletion values-development.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,18 @@ clusterGroup:
# project: spring-petclinic
# path: charts/region/stage/spring-petclinic-config


dev-spring-petclinic:
name: dev-spring-petclinic
namespace: devsecops-dev
project: spring-petclinic
kustomize: true
path: charts/region/spring-petclinic/environments/dev

sharedValueFiles:
- '/overrides/values-{{ $.Values.global.clusterPlatform }}.yaml'
- '/overrides/values-{{ $.Values.global.clusterPlatform }}-{{ $.Values.global.clusterVersion }}.yaml' # E:

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move this to just before the applications section?

# To have apps in multiple flavors, use namespaces and use helm overrides as appropriate
#
# - name: pipelines
Expand Down
4 changes: 4 additions & 0 deletions values-hub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ clusterGroup:
# timeout: 234
# verbosity: "-v"

sharedValueFiles:
- '/overrides/values-{{ $.Values.global.clusterPlatform }}.yaml'
- '/overrides/values-{{ $.Values.global.clusterPlatform }}-{{ $.Values.global.clusterVersion }}.yaml' # E: line too long (115 > 80 characters)

# This section is used by ACM
managedClusterGroups:
- name: development
Expand Down
4 changes: 4 additions & 0 deletions values-opphub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ clusterGroup:
project: hub
path: charts/hub/cli-tools

sharedValueFiles:
- '/overrides/values-{{ $.Values.global.clusterPlatform }}.yaml'
- '/overrides/values-{{ $.Values.global.clusterPlatform }}-{{ $.Values.global.clusterVersion }}.yaml' # E:

# This section is used by ACM
managedClusterGroups:
- name: devel
Expand Down
4 changes: 4 additions & 0 deletions values-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,7 @@ clusterGroup:
namespace: openshift-operators
project: secured
path: charts/region/quay

sharedValueFiles:
- '/overrides/values-{{ $.Values.global.clusterPlatform }}.yaml'
- '/overrides/values-{{ $.Values.global.clusterPlatform }}-{{ $.Values.global.clusterVersion }}.yaml' # E:
Loading