diff options
author | Mandeep Khinda <Mandeep.Khinda@amdocs.com> | 2018-04-26 21:15:31 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-04-26 21:15:31 +0000 |
commit | 880fa5c26aab08e504a887e2659828693c2b12fd (patch) | |
tree | ad13da77dd6d88c3eaa68dde85249bb78b6b28a3 /kubernetes/consul/charts/consul-server/templates/deployment.yaml | |
parent | 2917c651fd869fb6f6a355542754b2dbff168eeb (diff) | |
parent | 0440a32f01c07acf2b965417c951413d53142687 (diff) |
Merge "Reduce consul default replica count"
Diffstat (limited to 'kubernetes/consul/charts/consul-server/templates/deployment.yaml')
-rw-r--r-- | kubernetes/consul/charts/consul-server/templates/deployment.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/consul/charts/consul-server/templates/deployment.yaml b/kubernetes/consul/charts/consul-server/templates/deployment.yaml index d14c42bf19..12403e77c9 100644 --- a/kubernetes/consul/charts/consul-server/templates/deployment.yaml +++ b/kubernetes/consul/charts/consul-server/templates/deployment.yaml @@ -35,7 +35,7 @@ spec: name: {{ include "common.name" . }} spec: containers: - - image: "{{ .Values.repository | default .Values.global.repository }}/{{ .Values.image }}" + - image: "{{ include "common.repository" . }}/{{ .Values.image }}" command: ["/usr/local/bin/docker-entrypoint.sh"] - args: ["agent","-server","-client","0.0.0.0","-enable-script-checks","-bootstrap-expect=3","-ui","-join","{{ include "common.servicename" . }}.{{ include "common.namespace" . }}"] + args: ["agent","-server","-client","0.0.0.0","-enable-script-checks","-bootstrap-expect={{ .Values.replicaCount }}","-ui"] name: {{ include "common.name" . }} |