From 7e84bf87a92659eab7fe3683183963a9215df81a Mon Sep 17 00:00:00 2001 From: Trevor Royer Date: Wed, 17 Apr 2024 17:01:50 -0600 Subject: [PATCH] add component to enable status badge --- .../components/enable-status-badge/kustomization.yaml | 7 +++++++ .../enable-status-badge/patch-enable-status-badge.yaml | 6 ++++++ .../instance/overlays/default/kustomization.yaml | 1 + .../instance/overlays/rhdp/kustomization.yaml | 1 + 4 files changed, 15 insertions(+) create mode 100644 openshift-gitops-operator/instance/components/enable-status-badge/kustomization.yaml create mode 100644 openshift-gitops-operator/instance/components/enable-status-badge/patch-enable-status-badge.yaml 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