mirror of
https://github.com/bitnami/charts.git
synced 2026-04-03 15:57:08 +08:00
[bitnami/etcd] Fix service.clusterIP only works when service.type is ClusterIP (#16390)
Signed-off-by: icefery <icefery@163.com>
This commit is contained in:
@@ -24,4 +24,4 @@ maintainers:
|
||||
name: etcd
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/etcd
|
||||
version: 8.11.2
|
||||
version: 8.11.3
|
||||
|
||||
@@ -17,7 +17,7 @@ metadata:
|
||||
{{- end }}
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
{{- if and .Values.service.clusterIP (eq .Values.service.type "ClusterIP") }}
|
||||
{{- if .Values.service.clusterIP }}
|
||||
clusterIP: {{ .Values.service.clusterIP }}
|
||||
{{- end }}
|
||||
{{- if (or (eq .Values.service.type "LoadBalancer") (eq .Values.service.type "NodePort")) }}
|
||||
|
||||
Reference in New Issue
Block a user