Add option to disable specific deployments
[oom.git] / kubernetes / dcae / templates / dcae-collector-common-event.yaml
index c77e5a4..aa51f14 100644 (file)
@@ -1,3 +1,4 @@
+#{{ if not .Values.disableDcaeDcaeCollectorCommonEvent }}
 apiVersion: extensions/v1beta1
 kind: Deployment
 metadata:
@@ -36,3 +37,4 @@ spec:
           path: /dockerdata-nfs/{{ .Values.nsPrefix }}/dcae/common-event/config
       imagePullSecrets:
       - name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file