ca571919 by Adam Heath

Rename virtualService to istio.

1 parent f190ea88
......@@ -15,7 +15,7 @@ initialAdmin:
certificate:
hostName: auth.local
issuerRef: ca-issuer
virtualService:
istio:
enabled: true
hostName: auth.local
gateway: istio-system/cluster-local-gateway
......
......@@ -30,7 +30,7 @@ releases:
needs:
- kpg-postgresql
strategicMergePatches:
{{- if not .Values.virtualService.enabled }}
{{- if not .Values.istio.enabled }}
- apiVersion: networking.istio.io/v1beta1
kind: DestinationRule
metadata:
......@@ -43,7 +43,7 @@ releases:
metadata:
name: kpg-keycloak-crt
namespace: {{ .Values.namespace }}
{{- if .Values.virtualService.enabled }}
{{- if .Values.istio.enabled }}
spec:
dnsNames:
- {{ .Values.certificate.hostName }}
......@@ -57,12 +57,12 @@ releases:
metadata:
name: kpg-keycloak
namespace: {{ .Values.namespace }}
{{- if .Values.virtualService.enabled }}
{{- if .Values.istio.enabled }}
spec:
hosts:
- {{ .Values.virtualService.hostName }}
- {{ .Values.istio.hostName }}
gateways:
- {{ .Values.virtualService.gateway }}
- {{ .Values.istio.gateway }}
{{- else }}
$patch: delete
{{- end }}
......@@ -92,7 +92,7 @@ releases:
- op: replace
path: /spec/unsupported/podTemplate/spec/initContainers/0/image
value: {{ .Values.postgresql.waitForPg.image }}
{{- if .Values.virtualService.enabled }}
{{- if .Values.istio.enabled }}
- target:
kind: VirtualService
name: kpg-keycloak
......@@ -102,6 +102,6 @@ releases:
patch:
- op: replace
path: /spec/tls/0/match/0/sniHosts/0
value: {{ .Values.virtualService.hostName }}
value: {{ .Values.istio.hostName }}
{{- end }}
......