diff options
author | Mandeep Khinda <Mandeep.Khinda@amdocs.com> | 2017-10-31 14:16:43 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-10-31 14:16:43 +0000 |
commit | 61468adee9e2c443c336536c29b216209a569478 (patch) | |
tree | 1cf9867babfd25de1bf48f80d988cbb7bb073181 /kubernetes/consul/templates | |
parent | a6bd2ed7f0d00ee18d9616a20587ff8140cd60fe (diff) | |
parent | fcef994a85ee1e2f581e2dc2d2f2ab968632db25 (diff) |
Merge "Add option to disable specific deployments"
Diffstat (limited to 'kubernetes/consul/templates')
3 files changed, 6 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 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 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 |