fix: multi-cert fix for istio-ingress
This commit is contained in:
parent
6e916135b2
commit
c71be4d283
@ -15,17 +15,12 @@ istio-ingress:
|
||||
istio-ingressgateway:
|
||||
{{- toYaml . | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- with index .Values "istio-ingress" "public" "dnsNames" }}
|
||||
# Legacy
|
||||
dnsNames:
|
||||
{{- toYaml . | nindent 2 }}
|
||||
|
||||
certificates:
|
||||
{{- with index .Values "istio-ingress" "public" "dnsNames" }}
|
||||
- name: ingress-cert
|
||||
dnsNames:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
# New multi cert gateway
|
||||
{{- range $cert := (index .Values "istio-ingress" "public" "certificates") }}
|
||||
- name: {{ $cert.name }}
|
||||
dnsNames:
|
||||
@ -44,17 +39,12 @@ istio-private-ingress:
|
||||
istio-ingressgateway:
|
||||
{{- toYaml . | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- with index .Values "istio-ingress" "private" "dnsNames" }}
|
||||
# Legacy
|
||||
dnsNames:
|
||||
{{- toYaml . | nindent 2 }}
|
||||
|
||||
certificates:
|
||||
{{- with index .Values "istio-ingress" "private" "dnsNames" }}
|
||||
- name: private-ingress-cert
|
||||
dnsNames:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
# New multi cert gateway
|
||||
{{- range $cert := (index .Values "istio-ingress" "private" "certificates") }}
|
||||
- name: {{ $cert.name }}
|
||||
dnsNames:
|
||||
|
Loading…
Reference in New Issue
Block a user