diff --git a/charts/kubezero/templates/istio-ingress.yaml b/charts/kubezero/templates/istio-ingress.yaml index ccf1621..a7d1b22 100644 --- a/charts/kubezero/templates/istio-ingress.yaml +++ b/charts/kubezero/templates/istio-ingress.yaml @@ -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: