diff --git a/openshift-gitops-operator/instance/components/enable-status-badge/kustomization.yaml b/openshift-gitops-operator/instance/components/enable-status-badge/kustomization.yaml new file mode 100644 index 00000000..05c9516a --- /dev/null +++ b/openshift-gitops-operator/instance/components/enable-status-badge/kustomization.yaml @@ -0,0 +1,7 @@ +apiVersion: kustomize.config.k8s.io/v1alpha1 +kind: Component + +patches: + - path: patch-enable-status-badge.yaml + target: + kind: ArgoCD diff --git a/openshift-gitops-operator/instance/components/enable-status-badge/patch-enable-status-badge.yaml b/openshift-gitops-operator/instance/components/enable-status-badge/patch-enable-status-badge.yaml new file mode 100644 index 00000000..500a5706 --- /dev/null +++ b/openshift-gitops-operator/instance/components/enable-status-badge/patch-enable-status-badge.yaml @@ -0,0 +1,6 @@ +apiVersion: argoproj.io/v1beta1 +kind: ArgoCD +metadata: + name: openshift-gitops +spec: + statusBadgeEnabled: true diff --git a/openshift-gitops-operator/instance/overlays/default/kustomization.yaml b/openshift-gitops-operator/instance/overlays/default/kustomization.yaml index 25c0b503..dab08a6e 100644 --- a/openshift-gitops-operator/instance/overlays/default/kustomization.yaml +++ b/openshift-gitops-operator/instance/overlays/default/kustomization.yaml @@ -10,6 +10,7 @@ components: - ../../components/annotation-resource-tracking - ../../components/edge-termination - ../../components/enable-notifications + - ../../components/enable-status-badge - ../../components/gitops-admins - ../../components/health-check-olm - ../../components/health-check-openshift-builds diff --git a/openshift-gitops-operator/instance/overlays/rhdp/kustomization.yaml b/openshift-gitops-operator/instance/overlays/rhdp/kustomization.yaml index 892e4e1c..778b3baa 100644 --- a/openshift-gitops-operator/instance/overlays/rhdp/kustomization.yaml +++ b/openshift-gitops-operator/instance/overlays/rhdp/kustomization.yaml @@ -12,6 +12,7 @@ components: - ../../components/gitops-admins - ../../components/edge-termination - ../../components/enable-notifications + - ../../components/enable-status-badge - ../../components/health-check-odf - ../../components/health-check-olm - ../../components/health-check-openshift-builds