Add option to disable specific deployments
[oom.git] / kubernetes / policy / templates / dep-pap.yaml
index aeb3d6b..0816aa5 100644 (file)
@@ -1,3 +1,4 @@
+#{{ if not .Values.disablePolicyPap }}
 apiVersion: extensions/v1beta1
 kind: Deployment
 metadata:
@@ -128,3 +129,4 @@ spec:
             path: /dockerdata-nfs/{{ .Values.nsPrefix }}/policy/opt/policy/config/pe/
       imagePullSecrets:
       - name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file