b16421be by Adam Heath

Move the gateway and certificates to the istio-ingress namespace.

1 parent b9e5178e
...@@ -11,7 +11,7 @@ repositories: ...@@ -11,7 +11,7 @@ repositories:
11 11
12 releases: 12 releases:
13 - name: istio-gateway-{{ .Values.name }} 13 - name: istio-gateway-{{ .Values.name }}
14 namespace: istio-system 14 namespace: istio-ingress
15 chart: bedag/raw 15 chart: bedag/raw
16 version: {{ $.Values.version.raw }} 16 version: {{ $.Values.version.raw }}
17 disableValidationOnInstall: true 17 disableValidationOnInstall: true
...@@ -70,6 +70,7 @@ releases: ...@@ -70,6 +70,7 @@ releases:
70 - apiVersion: cert-manager.io/v1 70 - apiVersion: cert-manager.io/v1
71 kind: Certificate 71 kind: Certificate
72 metadata: 72 metadata:
73 namespace: istio-ingress
73 {{- if hasPrefix "*." $host.name }} 74 {{- if hasPrefix "*." $host.name }}
74 name: istio-gateway-wildcardcert-{{ $host.name | replace "*." "" }} 75 name: istio-gateway-wildcardcert-{{ $host.name | replace "*." "" }}
75 {{- else }} 76 {{- else }}
......
1 bases:
2 - ../common/environments.yaml
3
4 ---
5
6 epositories:
7 - name: istio
8 url: https://istio-release.storage.googleapis.com/charts
9
10
11 releases:
12 - name: istio-gateway-{{ .Values.name }}
13 namespace: istio-system
14 chart: istio/gateway
15 version: {{ $.Values.version.istio }}
16 disableValidationOnInstall: true
17 # dependencies:
18 # {{- range $gateway_index, $gateway := .Values.gateway }}
19 # - chart: charts/gateway
20 # alias: gateway-{{ $gateway.name }}
21 # {{- end }}
22 values:
23 - name: istio-gateway-{{ .Values.name }}
24 nameSuffix: -{{ .Values.name }}
25 #
26 #
27 # strategicMergePatches:
28 # - apiVersion: apps/v1
29 # kind: Deployment
30 # metadata:
31 # name: istio-gateway-{{ .Values.name }}
32 # namespace: {{ .Values.namespace }}
33 #
34 # - apiVersion: networking.istio.io/v1beta1
35 # kind: Gateway
36 # metadata:
37 # name: istio-gateway-{{ .Values.name }}
38 # namespace: {{ .Values.namespace }}
39 # spec:
40 # selector: {{ .Values.selector | toYaml | nindent 12 }}
41 # servers:
42 # {{- if .Values.http.hosts }}
43 # - port:
44 # name: http
45 # number: 80
46 # protocol: HTTP
47 # hosts: {{ .Values.http.hosts | toYaml | nindent 16 }}
48 # {{- end }}
49 # {{- if .Values.tls.hosts }}
50 # - port:
51 # name: https
52 # number: 443
53 # protocol: HTTPS
54 # hosts: {{ .Values.http.hosts | toYaml | nindent 16 }}
55 # tls:
56 # credentialName: istio-gateway-cert-{{ .Values.name }}
57 # mode: {{ .Values.tls.mode | quote }}
58 # {{- end }}
59 # - apiVersion: cert-manager.io/v1
60 # kind: Certificate
61 # metadata:
62 # name: istio-gateway-basecert-{{ .Values.name }}
63 # namespace: {{ .Values.namespace }}
64 # {{- if .Values.tls.hosts }}
65 # spec:
66 # secretName: istio-gateway-basecert-{{ .Values.name }}
67 # dnsNames: {{ .Values.tls.hosts | toYaml | nindent 12 }}
68 # issuerRef: {{ .Values.tls.issuerRef | toYaml | nindent 12 }}
69 # {{ else }}
70 # $patch: delete
71 # {{- end }}
72 # - apiVersion: cert-manager.io/v1
73 # kind: Certificate
74 # metadata:
75 # name: istio-gateway-wildcardcert-{{ .Values.name }}
76 # namespace: {{ .Values.namespace }}
77 # {{- if .Values.tls.hosts }}
78 # spec:
79 # secretName: istio-gateway-basecert-{{ .Values.name }}
80 # dnsNames: {{ .Values.tls.hosts | toYaml | nindent 12 }}
81 # issuerRef: {{ .Values.tls.issuerRef | toYaml | nindent 12 }}
82 # {{ else }}
83 # $patch: delete
84 # {{- end }}
85 #
86 #
87 #namespace: default
88 #name: default
89 #selector: {}
90 #tls:
91 # hosts:
92 # - "*"
93 # issuerRef:
94 # name: ca-issuer
95 # # We can reference ClusterIssuers by changing the kind here.
96 # # The default value is Issuer (i.e. a locally namespaced Issuer)
97 # kind: ClusterIssuer
98 # group: cert-manager.io
99 # mode: SIMPLE
100 #http:
101 # hosts:
102 # - "*"
103 #