137e00cc by Adam Heath

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

1 parent 76377756
......@@ -19,7 +19,7 @@ releases:
- raw:
resources:
{{- range $redirect_index, $redirect := .Values.redirect }}
{{- if .Values.istio.enabled }}
{{- if $.Values.istio.enabled }}
- apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
......@@ -37,7 +37,7 @@ releases:
redirectCode: 302
authority: {{ $redirect.target }}
{{- end }}
{{- if .Values.gatewayAPI.enabled }}
{{- if $.Values.gatewayAPI.enabled }}
- apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
......@@ -81,7 +81,7 @@ releases:
}
}
{{- range $proxy_index, $proxy := .Values.proxy }}
{{- if .Values.istio.enabled }}
{{- if $.Values.istio.enabled }}
- apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
......@@ -112,7 +112,7 @@ releases:
x-backend-address: {{ $proxy.backend.address }}
x-backend-scheme: {{ $proxy.backend.scheme }}
{{- end }}
{{- if .Values.gatewayAPI.enabled }}
{{- if $.Values.gatewayAPI.enabled }}
- apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
......