summaryrefslogtreecommitdiffstats
path: root/kubernetes/consul/templates/consul-agent-deployment.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/consul/templates/consul-agent-deployment.yaml')
-rw-r--r--kubernetes/consul/templates/consul-agent-deployment.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/consul/templates/consul-agent-deployment.yaml b/kubernetes/consul/templates/consul-agent-deployment.yaml
index 15318660b5..aa8e096f6a 100644
--- a/kubernetes/consul/templates/consul-agent-deployment.yaml
+++ b/kubernetes/consul/templates/consul-agent-deployment.yaml
@@ -1,3 +1,4 @@
+#{{ if not .Values.disableConsulConsulAgent }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
@@ -27,3 +28,4 @@ spec:
- hostPath:
path: {{ .Values.rootHostPath }}/{{ .Values.nsPrefix }}/consul/consul-agent-config
name: consul-agent-config
+#{{ end }} \ No newline at end of file