summaryrefslogtreecommitdiffstats
path: root/kubernetes/consul/templates/consul-server-service.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/consul/templates/consul-server-service.yaml')
-rw-r--r--kubernetes/consul/templates/consul-server-service.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/consul/templates/consul-server-service.yaml b/kubernetes/consul/templates/consul-server-service.yaml
index 465456425e..3dd801664c 100644
--- a/kubernetes/consul/templates/consul-server-service.yaml
+++ b/kubernetes/consul/templates/consul-server-service.yaml
@@ -1,3 +1,4 @@
+#{{ if not .Values.disableConsulConsulServer }}
apiVersion: v1
kind: Service
metadata:
@@ -20,3 +21,4 @@ spec:
selector:
app: consul-server
type: {{ .Values.service.type | quote }}
+#{{ end }} \ No newline at end of file