137e00cc by Adam Heath

Fix http-support reference to .Values.*.enabled.

1 parent 76377756
...@@ -19,7 +19,7 @@ releases: ...@@ -19,7 +19,7 @@ releases:
19 - raw: 19 - raw:
20 resources: 20 resources:
21 {{- range $redirect_index, $redirect := .Values.redirect }} 21 {{- range $redirect_index, $redirect := .Values.redirect }}
22 {{- if .Values.istio.enabled }} 22 {{- if $.Values.istio.enabled }}
23 - apiVersion: networking.istio.io/v1alpha3 23 - apiVersion: networking.istio.io/v1alpha3
24 kind: VirtualService 24 kind: VirtualService
25 metadata: 25 metadata:
...@@ -37,7 +37,7 @@ releases: ...@@ -37,7 +37,7 @@ releases:
37 redirectCode: 302 37 redirectCode: 302
38 authority: {{ $redirect.target }} 38 authority: {{ $redirect.target }}
39 {{- end }} 39 {{- end }}
40 {{- if .Values.gatewayAPI.enabled }} 40 {{- if $.Values.gatewayAPI.enabled }}
41 - apiVersion: gateway.networking.k8s.io/v1beta1 41 - apiVersion: gateway.networking.k8s.io/v1beta1
42 kind: HTTPRoute 42 kind: HTTPRoute
43 metadata: 43 metadata:
...@@ -81,7 +81,7 @@ releases: ...@@ -81,7 +81,7 @@ releases:
81 } 81 }
82 } 82 }
83 {{- range $proxy_index, $proxy := .Values.proxy }} 83 {{- range $proxy_index, $proxy := .Values.proxy }}
84 {{- if .Values.istio.enabled }} 84 {{- if $.Values.istio.enabled }}
85 - apiVersion: networking.istio.io/v1alpha3 85 - apiVersion: networking.istio.io/v1alpha3
86 kind: VirtualService 86 kind: VirtualService
87 metadata: 87 metadata:
...@@ -112,7 +112,7 @@ releases: ...@@ -112,7 +112,7 @@ releases:
112 x-backend-address: {{ $proxy.backend.address }} 112 x-backend-address: {{ $proxy.backend.address }}
113 x-backend-scheme: {{ $proxy.backend.scheme }} 113 x-backend-scheme: {{ $proxy.backend.scheme }}
114 {{- end }} 114 {{- end }}
115 {{- if .Values.gatewayAPI.enabled }} 115 {{- if $.Values.gatewayAPI.enabled }}
116 - apiVersion: gateway.networking.k8s.io/v1beta1 116 - apiVersion: gateway.networking.k8s.io/v1beta1
117 kind: HTTPRoute 117 kind: HTTPRoute
118 metadata: 118 metadata:
......