aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/certInitializer/templates/configmap.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/common/certInitializer/templates/configmap.yaml')
-rw-r--r--kubernetes/common/certInitializer/templates/configmap.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/common/certInitializer/templates/configmap.yaml b/kubernetes/common/certInitializer/templates/configmap.yaml
index a89a33152b..69d74e1ca7 100644
--- a/kubernetes/common/certInitializer/templates/configmap.yaml
+++ b/kubernetes/common/certInitializer/templates/configmap.yaml
@@ -23,6 +23,7 @@ data:
aaf-add-config.sh: |
{{ tpl .Values.aaf_add_config . | indent 4 }}
{{- end }}
+{{- if .Values.createCertsCM }}
---
apiVersion: v1
kind: ConfigMap
@@ -30,3 +31,4 @@ kind: ConfigMap
metadata: {{- include "common.resourceMetadata" (dict "suffix" $suffix "dot" . ) | nindent 2 }}
data:
{{ tpl (.Files.Glob "resources/*").AsConfig . | indent 2 }}
+{{- end -}}