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