mirror of
https://github.com/bitnami/charts.git
synced 2026-03-05 14:57:31 +08:00
[bitnami/etcd] only add the service to advertised addresses when it is enabled (#18211)
* [bitnami/etcd] only add the service to advertised addresses when it is enabled Signed-off-by: Sven Wiltink <sven@wiltink.dev> * bump chart version Signed-off-by: Sven Wiltink <sven@wiltink.dev> * Update bitnami/etcd/templates/statefulset.yaml Co-authored-by: Fran de Paz Galán <fdepaz@vmware.com> Signed-off-by: svenwiltink <sven@wiltink.dev> --------- Signed-off-by: Sven Wiltink <sven@wiltink.dev> Signed-off-by: svenwiltink <sven@wiltink.dev> Co-authored-by: Fran de Paz Galán <fdepaz@vmware.com>
This commit is contained in:
@@ -27,4 +27,4 @@ maintainers:
|
||||
name: etcd
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/etcd
|
||||
version: 9.1.0
|
||||
version: 9.2.0
|
||||
|
||||
@@ -179,7 +179,7 @@ spec:
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
- name: ETCD_ADVERTISE_CLIENT_URLS
|
||||
value: "{{ $etcdClientProtocol }}://$(MY_POD_NAME).{{ $etcdHeadlessServiceName }}.{{ .Release.Namespace }}.svc.{{ $clusterDomain }}:{{ .Values.containerPorts.client }},{{ $etcdClientProtocol }}://{{ $etcdFullname }}.{{ .Release.Namespace }}.svc.{{ $clusterDomain }}:{{ coalesce .Values.service.ports.client .Values.service.port }}"
|
||||
value: "{{ $etcdClientProtocol }}://$(MY_POD_NAME).{{ $etcdHeadlessServiceName }}.{{ .Release.Namespace }}.svc.{{ $clusterDomain }}:{{ .Values.containerPorts.client }}{{- if .Values.service.enabled }},{{ $etcdClientProtocol }}://{{ $etcdFullname }}.{{ .Release.Namespace }}.svc.{{ $clusterDomain }}:{{ coalesce .Values.service.ports.client .Values.service.port }}{{- end }}"
|
||||
- name: ETCD_LISTEN_CLIENT_URLS
|
||||
value: "{{ $etcdClientProtocol }}://0.0.0.0:{{ .Values.containerPorts.client }}"
|
||||
- name: ETCD_INITIAL_ADVERTISE_PEER_URLS
|
||||
|
||||
Reference in New Issue
Block a user