File tree Expand file tree Collapse file tree 4 files changed +14
-6
lines changed Expand file tree Collapse file tree 4 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 1
1
ingress :
2
2
globalStaticIpName : blog-production
3
- hostname : blog.sourced.tech
3
+ hosts :
4
+ - blog.sourced.tech
5
+ - blog-archive.sourced.tech
4
6
nodeSelector :
5
7
cloud.google.com/gke-nodepool : default-pool
6
8
affinity :
Original file line number Diff line number Diff line change 1
1
ingress :
2
2
globalStaticIpName : blog-staging
3
- hostname : blog-staging.srcd.run
3
+ hosts :
4
+ - blog-staging.srcd.run
5
+ - blog-archive-staging.srcd.run
4
6
nodeSelector :
5
7
cloud.google.com/gke-nodepool : default-pool
6
8
affinity :
Original file line number Diff line number Diff line change 1
1
apiVersion : v1
2
2
description : source{d} technical blog
3
3
name : blog
4
- version : 0.2 .0
4
+ version : 0.3 .0
5
5
maintainers :
6
6
- name : Infrastructure team
7
7
Original file line number Diff line number Diff line change @@ -17,14 +17,18 @@ metadata:
17
17
18
18
spec :
19
19
rules :
20
- - host : {{ required "Hostname is missing" .Values.ingress.hostname }}
20
+ {{- range $host := required "Missing .Values.ingress.hosts" .Values.ingress.hosts }}
21
+ - host : {{ $host }}
21
22
http :
22
23
paths :
23
24
- path : /*
24
25
backend :
25
26
serviceName : {{ $serviceName }}
26
27
servicePort : {{ $servicePort }}
28
+ {{- end }}
27
29
tls :
28
- - secretName : {{ .Values.ingress.hostname | replace "." "-" }}-tls
30
+ - secretName : " {{ template " fullname" . }}-tls"
29
31
hosts :
30
- - {{ .Values.ingress.hostname }}
32
+ {{- range $host := required "Missing .Values.ingress.hosts" .Values.ingress.hosts }}
33
+ - {{ $host }}
34
+ {{- end }}
You can’t perform that action at this time.
0 commit comments