forked from validatedpatterns/multicloud-gitops
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test deployment with values-global clusterGroupName changed
- Loading branch information
Showing
7 changed files
with
201 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
apiVersion: console.openshift.io/v1 | ||
kind: ConsoleNotification | ||
metadata: | ||
name: purpose-banner | ||
spec: | ||
text: Jonny Rocks FIPS | ||
location: BannerTop | ||
color: '#fff' | ||
backgroundColor: '#000000' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- banner.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
apiVersion: console.openshift.io/v1 | ||
kind: ConsoleNotification | ||
metadata: | ||
name: purpose-banner | ||
spec: | ||
text: EDGE-1 | ||
backgroundColor: '#00ff00' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
bases: | ||
../../base/ | ||
|
||
patchesStrategicMerge: | ||
- banner.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
apiVersion: console.openshift.io/v1 | ||
kind: ConsoleNotification | ||
metadata: | ||
name: purpose-banner | ||
spec: | ||
text: HUBPROD | ||
backgroundColor: '#ff0000' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
bases: | ||
../../base/ | ||
|
||
patchesStrategicMerge: | ||
- banner.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,154 @@ | ||
clusterGroup: | ||
name: hub-prod | ||
isHubCluster: true | ||
namespaces: | ||
- open-cluster-management | ||
- vault | ||
- golang-external-secrets | ||
- config-demo | ||
- hello-world | ||
subscriptions: | ||
acm: | ||
name: advanced-cluster-management | ||
namespace: open-cluster-management | ||
channel: release-2.10 | ||
#csv: advanced-cluster-management.v2.6.1 | ||
projects: | ||
- hub | ||
- config-demo | ||
- hello-world | ||
|
||
sharedValueFiles: | ||
- '/overrides/values-{{ $.Values.global.clusterPlatform }}.yaml' | ||
|
||
applications: | ||
acm: | ||
name: acm | ||
namespace: open-cluster-management | ||
project: hub | ||
path: common/acm | ||
ignoreDifferences: | ||
- group: internal.open-cluster-management.io | ||
kind: ManagedClusterInfo | ||
jsonPointers: | ||
- /spec/loggingCA | ||
banner: | ||
name: cluster-ops | ||
namespace: cluster-ops | ||
kustomize: true | ||
project: cluster-ops | ||
path: charts/all/cluster-ops/overlay/hub-prod | ||
|
||
vault: | ||
name: vault | ||
namespace: vault | ||
project: hub | ||
path: common/hashicorp-vault | ||
golang-external-secrets: | ||
name: golang-external-secrets | ||
namespace: golang-external-secrets | ||
project: hub | ||
path: common/golang-external-secrets | ||
config-demo: | ||
name: config-demo | ||
namespace: config-demo | ||
project: config-demo | ||
path: charts/all/config-demo | ||
hello-world: | ||
name: hello-world | ||
namespace: hello-world | ||
project: hello-world | ||
path: charts/all/hello-world | ||
imperative: | ||
jobs: | ||
- name: hello-world | ||
# ansible playbook to be run | ||
playbook: common/ansible/playbooks/hello-world/hello-world.yaml | ||
# per playbook timeout in seconds | ||
timeout: 234 | ||
# verbosity: "-v" | ||
managedClusterGroups: | ||
exampleRegion: | ||
name: group-one | ||
acmlabels: | ||
- name: clusterGroup | ||
value: group-one | ||
helmOverrides: | ||
- name: clusterGroup.isHubCluster | ||
value: false | ||
|
||
# Before enabling cluster provisioning, ensure AWS and/or Azure | ||
# credentials and OCP pull secrets are defined in Vault. | ||
# See values-secret.yaml.template | ||
# | ||
#clusterPools: | ||
# exampleAWSPool: | ||
# name: aws-ap | ||
# openshiftVersion: 4.10.18 | ||
# baseDomain: blueprints.rhecoeng.com | ||
# platform: | ||
# aws: | ||
# region: ap-southeast-2 | ||
# clusters: | ||
# - One | ||
# | ||
# exampleAzurePool: | ||
# name: azure-us | ||
# openshiftVersion: 4.10.18 | ||
# baseDomain: blueprints.rhecoeng.com | ||
# platform: | ||
# azure: | ||
# baseDomainResourceGroupName: dojo-dns-zones | ||
# region: eastus | ||
# clusters: | ||
# - Two | ||
# - Three | ||
# To have apps in multiple flavors, use namespaces and use helm overrides as appropriate | ||
# | ||
# pipelines: | ||
# name: pipelines | ||
# namespace: production | ||
# project: datacenter | ||
# path: applications/pipeline | ||
# repoURL: https://github.com/you/applications.git | ||
# targetRevision: stable | ||
# overrides: | ||
# - name: myparam | ||
# value: myparam | ||
# | ||
# pipelines_staging: | ||
# - name: pipelines | ||
# namespace: staging | ||
# project: datacenter | ||
# path: applications/pipeline | ||
# repoURL: https://github.com/you/applications.git | ||
# targetRevision: main | ||
# | ||
# Additional applications | ||
# Be sure to include additional resources your apps will require | ||
# +X machines | ||
# +Y RAM | ||
# +Z CPU | ||
# vendor-app: | ||
# name: vendor-app | ||
# namespace: default | ||
# project: vendor | ||
# path: path/to/myapp | ||
# repoURL: https://github.com/vendor/applications.git | ||
# targetRevision: main | ||
|
||
# managedSites: | ||
# factory: | ||
# name: factory | ||
# # repoURL: https://github.com/dagger-refuse-cool/manuela-factory.git | ||
# targetRevision: main | ||
# path: applications/factory | ||
# helmOverrides: | ||
# - name: site.isHubCluster | ||
# value: false | ||
# clusterSelector: | ||
# matchExpressions: | ||
# - key: vendor | ||
# operator: In | ||
# values: | ||
# - OpenShift |