Rename virtualService to istio.
Showing
2 changed files
with
8 additions
and
8 deletions
... | @@ -15,7 +15,7 @@ initialAdmin: | ... | @@ -15,7 +15,7 @@ initialAdmin: |
15 | certificate: | 15 | certificate: |
16 | hostName: auth.local | 16 | hostName: auth.local |
17 | issuerRef: ca-issuer | 17 | issuerRef: ca-issuer |
18 | virtualService: | 18 | istio: |
19 | enabled: true | 19 | enabled: true |
20 | hostName: auth.local | 20 | hostName: auth.local |
21 | gateway: istio-system/cluster-local-gateway | 21 | gateway: istio-system/cluster-local-gateway | ... | ... |
... | @@ -30,7 +30,7 @@ releases: | ... | @@ -30,7 +30,7 @@ releases: |
30 | needs: | 30 | needs: |
31 | - kpg-postgresql | 31 | - kpg-postgresql |
32 | strategicMergePatches: | 32 | strategicMergePatches: |
33 | {{- if not .Values.virtualService.enabled }} | 33 | {{- if not .Values.istio.enabled }} |
34 | - apiVersion: networking.istio.io/v1beta1 | 34 | - apiVersion: networking.istio.io/v1beta1 |
35 | kind: DestinationRule | 35 | kind: DestinationRule |
36 | metadata: | 36 | metadata: |
... | @@ -43,7 +43,7 @@ releases: | ... | @@ -43,7 +43,7 @@ releases: |
43 | metadata: | 43 | metadata: |
44 | name: kpg-keycloak-crt | 44 | name: kpg-keycloak-crt |
45 | namespace: {{ .Values.namespace }} | 45 | namespace: {{ .Values.namespace }} |
46 | {{- if .Values.virtualService.enabled }} | 46 | {{- if .Values.istio.enabled }} |
47 | spec: | 47 | spec: |
48 | dnsNames: | 48 | dnsNames: |
49 | - {{ .Values.certificate.hostName }} | 49 | - {{ .Values.certificate.hostName }} |
... | @@ -57,12 +57,12 @@ releases: | ... | @@ -57,12 +57,12 @@ releases: |
57 | metadata: | 57 | metadata: |
58 | name: kpg-keycloak | 58 | name: kpg-keycloak |
59 | namespace: {{ .Values.namespace }} | 59 | namespace: {{ .Values.namespace }} |
60 | {{- if .Values.virtualService.enabled }} | 60 | {{- if .Values.istio.enabled }} |
61 | spec: | 61 | spec: |
62 | hosts: | 62 | hosts: |
63 | - {{ .Values.virtualService.hostName }} | 63 | - {{ .Values.istio.hostName }} |
64 | gateways: | 64 | gateways: |
65 | - {{ .Values.virtualService.gateway }} | 65 | - {{ .Values.istio.gateway }} |
66 | {{- else }} | 66 | {{- else }} |
67 | $patch: delete | 67 | $patch: delete |
68 | {{- end }} | 68 | {{- end }} |
... | @@ -92,7 +92,7 @@ releases: | ... | @@ -92,7 +92,7 @@ releases: |
92 | - op: replace | 92 | - op: replace |
93 | path: /spec/unsupported/podTemplate/spec/initContainers/0/image | 93 | path: /spec/unsupported/podTemplate/spec/initContainers/0/image |
94 | value: {{ .Values.postgresql.waitForPg.image }} | 94 | value: {{ .Values.postgresql.waitForPg.image }} |
95 | {{- if .Values.virtualService.enabled }} | 95 | {{- if .Values.istio.enabled }} |
96 | - target: | 96 | - target: |
97 | kind: VirtualService | 97 | kind: VirtualService |
98 | name: kpg-keycloak | 98 | name: kpg-keycloak |
... | @@ -102,6 +102,6 @@ releases: | ... | @@ -102,6 +102,6 @@ releases: |
102 | patch: | 102 | patch: |
103 | - op: replace | 103 | - op: replace |
104 | path: /spec/tls/0/match/0/sniHosts/0 | 104 | path: /spec/tls/0/match/0/sniHosts/0 |
105 | value: {{ .Values.virtualService.hostName }} | 105 | value: {{ .Values.istio.hostName }} |
106 | {{- end }} | 106 | {{- end }} |
107 | 107 | ... | ... |
-
Please register or sign in to post a comment