From 802ec6ef135c43dc526c55d7490f3efc92ccec68 Mon Sep 17 00:00:00 2001 From: Asara Date: Sat, 8 Jul 2023 15:11:47 -0400 Subject: [PATCH] Fix it! --- .../templates/istio-ingress.yaml | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/argo/istio-ingress/templates/istio-ingress.yaml b/argo/istio-ingress/templates/istio-ingress.yaml index a1d5759..e9ba9b2 100644 --- a/argo/istio-ingress/templates/istio-ingress.yaml +++ b/argo/istio-ingress/templates/istio-ingress.yaml @@ -3,14 +3,14 @@ apiVersion: cert-manager.io/v1 kind: Certificate metadata: - name: {{ .Values.name }}-cert + name: {{ .Values.istio.name }}-cert namespace: istio-system spec: - secretName: {{ .Values.name }}-cert + secretName: {{ .Values.istio.name }}-cert commonName: {{ .Values.istio.commonName }} dnsNames: - {{ .Values.istio.commonName }} -{{- range .Values.sans }} +{{- range .Values.istio.sans }} - {{ . }} {{- end }} issuerRef: @@ -22,8 +22,8 @@ spec: apiVersion: networking.istio.io/v1beta1 kind: Gateway metadata: - name: {{ .Values.name }}-gateway - namespace: {{ .Values.namespace }} + name: {{ .Values.istio.name }}-gateway + namespace: {{ .Values.istio.namespace }} spec: selector: istio: {{ .Values.istio.ingressSelector }} @@ -34,7 +34,7 @@ spec: protocol: HTTPS tls: mode: SIMPLE - credentialName: {{ .Values.name }}-cert + credentialName: {{ .Values.istio.name }}-cert hosts: - {{ .Values.istio.commonName }} ... @@ -42,13 +42,13 @@ spec: apiVersion: networking.istio.io/v1beta1 kind: VirtualService metadata: - name: {{ .Values.name }}-gateway - namespace: {{ .Values.namespace }} + name: {{ .Values.istio.name }}-gateway + namespace: {{ .Values.istio.namespace }} spec: hosts: - {{ .Values.istio.commonName }} gateways: - - {{ .Values.name }}-gateway + - {{ .Values.istio.name }}-gateway http: - match: - uri: @@ -57,6 +57,6 @@ spec: - destination: port: number: {{ .Values.istio.port }} - host: {{ .Values.name }} + host: {{ .Values.istio.name }} ... {{ end }}