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 11ingress :
22 globalStaticIpName : blog-production
3- hostname : blog.sourced.tech
3+ hosts :
4+ - blog.sourced.tech
5+ - blog-archive.sourced.tech
46nodeSelector :
57 cloud.google.com/gke-nodepool : default-pool
68affinity :
Original file line number Diff line number Diff line change 11ingress :
22 globalStaticIpName : blog-staging
3- hostname : blog-staging.srcd.run
3+ hosts :
4+ - blog-staging.srcd.run
5+ - blog-archive-staging.srcd.run
46nodeSelector :
57 cloud.google.com/gke-nodepool : default-pool
68affinity :
Original file line number Diff line number Diff line change 11apiVersion : v1
22description : source{d} technical blog
33name : blog
4- version : 0.2 .0
4+ version : 0.3 .0
55maintainers :
66 - name : Infrastructure team
77
Original file line number Diff line number Diff line change @@ -17,14 +17,18 @@ metadata:
1717
1818spec :
1919 rules :
20- - host : {{ required "Hostname is missing" .Values.ingress.hostname }}
20+ {{- range $host := required "Missing .Values.ingress.hosts" .Values.ingress.hosts }}
21+ - host : {{ $host }}
2122 http :
2223 paths :
2324 - path : /*
2425 backend :
2526 serviceName : {{ $serviceName }}
2627 servicePort : {{ $servicePort }}
28+ {{- end }}
2729 tls :
28- - secretName : {{ .Values.ingress.hostname | replace "." "-" }}-tls
30+ - secretName : " {{ template " fullname" . }}-tls"
2931 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