Skip to content

Commit

Permalink
Merge pull request #107 from mhjacks/main
Browse files Browse the repository at this point in the history
Add sharedValueFiles to all clusterGroup files in lieu of "magic" value files
  • Loading branch information
mhjacks authored Oct 23, 2023
2 parents a0e169d + 28031ca commit 7a66342
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 3 deletions.
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.
6 changes: 5 additions & 1 deletion values-all-in-one.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,11 @@ clusterGroup:
#Adding jchraibi #advanced-devsecops to pattern framework
- spring-petclinic
- rollouts


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

applications:
acm:
name: acm #arbitary
Expand Down
6 changes: 5 additions & 1 deletion values-development.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ clusterGroup:
- spring-petclinic
- rollouts

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

applications:
acs-secured:
name: acs-secured
Expand Down Expand Up @@ -135,7 +139,7 @@ clusterGroup:
# project: spring-petclinic
# path: charts/region/stage/spring-petclinic-config


dev-spring-petclinic:
name: dev-spring-petclinic
namespace: devsecops-dev
Expand Down
6 changes: 5 additions & 1 deletion values-hub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ clusterGroup:
- hub
- opp
- external-secrets


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

applications:
acm:
name: acm #arbitary
Expand Down
4 changes: 4 additions & 0 deletions values-opphub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ clusterGroup:
- opp
- golang-external-secrets

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

applications:
acm:
name: acm #arbitary
Expand Down
4 changes: 4 additions & 0 deletions values-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ clusterGroup:
- app
- secured

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

applications:
acs-secured:
name: acs-secured
Expand Down

0 comments on commit 7a66342

Please sign in to comment.