Skip to content

Commit 85baa99

Browse files
author
wlanboy
committed
fixing var name
1 parent 1b1bfdd commit 85baa99

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

webshell-chart/templates/gateway.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ spec:
1212
name: https
1313
protocol: HTTPS
1414
hosts:
15-
{{- range .Values.hosts }}
15+
{{- range .Values.istio.hosts }}
1616
- {{ . }}
1717
{{- end }}
1818
tls:

webshell-chart/templates/virtualservice.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ metadata:
44
name: {{ .Values.deploymentName }}-vs
55
spec:
66
hosts:
7-
- {{ .Values.istio.host }}
7+
{{- range .Values.istio.hosts }}
8+
- {{ . }}
9+
{{- end }}
810
exportTo:
911
- "."
1012
- istio-ingress

0 commit comments

Comments
 (0)