Add option to disable specific deployments
[oom.git] / kubernetes / dcae / templates / cdap0-dep.yaml
index d438ab9..c6239e2 100644 (file)
@@ -1,3 +1,4 @@
+#{{ if not .Values.disableDcaeCdap }}
 apiVersion: extensions/v1beta1
 kind: Deployment
 metadata:
@@ -82,3 +83,4 @@ spec:
           path: /dockerdata-nfs/{{ .Values.nsPrefix }}/dcae/cdap/cdap0-opt-data
       imagePullSecrets:
       - name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file