summaryrefslogtreecommitdiffstats
path: root/kubernetes/consul/templates
diff options
context:
space:
mode:
authorPriyanka Jain <Priyanka.Jain3@amdocs.com>2018-05-09 08:42:50 +0000
committerBorislavG <Borislav.Glozman@amdocs.com>2018-05-15 12:07:43 +0300
commit1fda96895b4e2d6debbcf6fe34a638d537e0a592 (patch)
treea131c2031d0f3de53d2dbe059eca2cdd7737d994 /kubernetes/consul/templates
parentd31e2a0a1032acd12cce02a3767988027cd6a5c6 (diff)
Consul Stateful Set
Issue-ID: OOM-1032 Change-Id: I911085dffc35067d844b5dcb286581fa0897a27a Signed-off-by: Priyanka Jain <Priyanka.Jain3@amdocs.com>
Diffstat (limited to 'kubernetes/consul/templates')
-rw-r--r--kubernetes/consul/templates/deployment.yaml3
1 files changed, 1 insertions, 2 deletions
diff --git a/kubernetes/consul/templates/deployment.yaml b/kubernetes/consul/templates/deployment.yaml
index 8fd09b728e..d37521b5e6 100644
--- a/kubernetes/consul/templates/deployment.yaml
+++ b/kubernetes/consul/templates/deployment.yaml
@@ -43,7 +43,7 @@ spec:
- "-c"
- |
cp /tmp/consul/config/* /consul/config
- /usr/local/bin/docker-entrypoint.sh agent -client 0.0.0.0 -enable-script-checks -join {{ .Values.consulServer.nameOverride }}.{{ include "common.namespace" .}}
+ /usr/local/bin/docker-entrypoint.sh agent -client 0.0.0.0 -enable-script-checks -retry-join {{ .Values.consulServer.nameOverride }}
name: {{ include "common.name" . }}
volumeMounts:
- mountPath: /tmp/consul/config
@@ -63,4 +63,3 @@ spec:
- secret:
secretName: {{ include "common.fullname" . }}-certs-secret
name: consul-agent-certs-config
-