aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaegen2/templates/pod.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/dcaegen2/templates/pod.yaml')
-rw-r--r--kubernetes/dcaegen2/templates/pod.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/kubernetes/dcaegen2/templates/pod.yaml b/kubernetes/dcaegen2/templates/pod.yaml
index e275ff671d..ffb3716ecf 100644
--- a/kubernetes/dcaegen2/templates/pod.yaml
+++ b/kubernetes/dcaegen2/templates/pod.yaml
@@ -1,3 +1,4 @@
+#{{ if not .Values.disableDcaegen2 }}
apiVersion: v1
kind: Pod
metadata:
@@ -25,4 +26,5 @@ spec:
name: "{{ .Chart.Name }}-config-inputs"
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
- restartPolicy: Never \ No newline at end of file
+ restartPolicy: Never
+#{{ end }} \ No newline at end of file