diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2021-10-29 15:51:58 +0200 |
---|---|---|
committer | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2021-10-29 15:58:05 +0200 |
commit | c991f0bf4291c7b79207d98e51ca4c4cd2a3fe72 (patch) | |
tree | df258e9cc9f3a252cc5330871419dadac0915c5e /kubernetes/common/etcd/templates | |
parent | 75fe04aa71ef492f6589f7eac75c8fa24adbe552 (diff) |
[ETCD] Give full FQDN name for etcd
Some Kubernetes deployments needs the full fqdn and not just the first
part in order to make etcd statefulset to work.
Issue-ID: OPTFRA-981
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: Idf384d2c65b13f64885429181c4fa2eba5ac4282
Diffstat (limited to 'kubernetes/common/etcd/templates')
-rw-r--r-- | kubernetes/common/etcd/templates/statefulset.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/common/etcd/templates/statefulset.yaml b/kubernetes/common/etcd/templates/statefulset.yaml index c8c0ffa0b2..ff11da309a 100644 --- a/kubernetes/common/etcd/templates/statefulset.yaml +++ b/kubernetes/common/etcd/templates/statefulset.yaml @@ -75,7 +75,7 @@ spec: - name: SET_NAME value: {{ include "common.fullname" . }} - name: SERVICE_NAME - value: {{ include "common.servicename" . }} + value: {{ include "common.servicename" . }}.{{ include "common.namespace" . }}.svc.{{ .Values.global.clusterName }} {{- if .Values.extraEnv }} {{ toYaml .Values.extraEnv | indent 8 }} {{- end }} |