Merge "[ETCD] Give full FQDN name for etcd"
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Mon, 8 Nov 2021 15:10:44 +0000 (15:10 +0000)
committerGerrit Code Review <gerrit@onap.org>
Mon, 8 Nov 2021 15:10:44 +0000 (15:10 +0000)
kubernetes/common/etcd/templates/statefulset.yaml
kubernetes/common/etcd/values.yaml

index c8c0ffa..ff11da3 100644 (file)
@@ -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 }}
index 3cfd453..e2334ea 100644 (file)
@@ -17,6 +17,7 @@
 #################################################################
 global:
   nodePortPrefix: 302
+  clusterName: cluster.local
   persistence: {}
 
 #################################################################