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