From 7ae9391f69f18a57501151cf635a71396f78dafc Mon Sep 17 00:00:00 2001 From: Russell Parks Date: Tue, 21 Jan 2025 22:34:43 -0600 Subject: [PATCH] Add value to disable configmap If providing Openshift Pipelines operator outside the charts we don't want to affect the defaults configmap. --- charts/rfe-pipelines/templates/config-defaults-configmap.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/rfe-pipelines/templates/config-defaults-configmap.yaml b/charts/rfe-pipelines/templates/config-defaults-configmap.yaml index ecc7de00..a3167bdf 100644 --- a/charts/rfe-pipelines/templates/config-defaults-configmap.yaml +++ b/charts/rfe-pipelines/templates/config-defaults-configmap.yaml @@ -1,3 +1,4 @@ +{{- if not (defauilt .Values.defaultsConfigmap.disabled false) }} apiVersion: v1 data: default-service-account: pipeline @@ -10,3 +11,4 @@ metadata: namespace: openshift-pipelines labels: {{- include "common.labels.labels" . | nindent 4 }} +{{- end }}