summaryrefslogtreecommitdiffstats
path: root/kubernetes/consul/templates/consul-server-service.yaml
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2017-10-31 14:16:43 +0000
committerGerrit Code Review <gerrit@onap.org>2017-10-31 14:16:43 +0000
commit61468adee9e2c443c336536c29b216209a569478 (patch)
tree1cf9867babfd25de1bf48f80d988cbb7bb073181 /kubernetes/consul/templates/consul-server-service.yaml
parenta6bd2ed7f0d00ee18d9616a20587ff8140cd60fe (diff)
parentfcef994a85ee1e2f581e2dc2d2f2ab968632db25 (diff)
Merge "Add option to disable specific deployments"
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