Merge commit 'fe564d72279f4ab061b961dd528623f0ed272667' as 'cluster-config'
This commit is contained in:
3
cluster-config/components/banner/base/README.md
Normal file
3
cluster-config/components/banner/base/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
Displays a banner in the OpenShift Console with the cluster ID and name.
|
||||
|
||||
Note that is leveraging ACM to populate the GitOps subscription with environment variables coupled with a plugin in Argo CD to post-process kustomize.
|
||||
12
cluster-config/components/banner/base/banner.yaml
Normal file
12
cluster-config/components/banner/base/banner.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
apiVersion: console.openshift.io/v1
|
||||
kind: ConsoleNotification
|
||||
metadata:
|
||||
name: banner
|
||||
spec:
|
||||
text: "Cluster: ${CLUSTER_NAME}"
|
||||
location: BannerTop
|
||||
color: '#fff'
|
||||
backgroundColor: "#${COLOR}"
|
||||
link:
|
||||
href: https://console.redhat.com/openshift/details/${CLUSTER_ID}
|
||||
text: "(${CLUSTER_ID})"
|
||||
2
cluster-config/components/banner/base/kustomization.yaml
Normal file
2
cluster-config/components/banner/base/kustomization.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
resources:
|
||||
- banner.yaml
|
||||
Reference in New Issue
Block a user