summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/templates/dep-pdp.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/policy/templates/dep-pdp.yaml')
-rw-r--r--kubernetes/policy/templates/dep-pdp.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/policy/templates/dep-pdp.yaml b/kubernetes/policy/templates/dep-pdp.yaml
index 841d55c00e..6cc442b417 100644
--- a/kubernetes/policy/templates/dep-pdp.yaml
+++ b/kubernetes/policy/templates/dep-pdp.yaml
@@ -1,3 +1,4 @@
+#{{ if not .Values.disablePolicyPdp }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
@@ -102,3 +103,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