|
@@ -26,6 +26,15 @@ spec:
|
|
|
serviceName: hue-balancer
|
|
serviceName: hue-balancer
|
|
|
servicePort: 80
|
|
servicePort: 80
|
|
|
path: /
|
|
path: /
|
|
|
|
|
+ {{- range .Values.ingress.extraHosts }}
|
|
|
|
|
+ - host: {{ . | quote }}
|
|
|
|
|
+ http:
|
|
|
|
|
+ paths:
|
|
|
|
|
+ - backend:
|
|
|
|
|
+ serviceName: hue-balancer
|
|
|
|
|
+ servicePort: 80
|
|
|
|
|
+ path: /
|
|
|
|
|
+ {{- end }}
|
|
|
{{ if .Values.api.enabled }}
|
|
{{ if .Values.api.enabled }}
|
|
|
- host: {{ .Values.api.domain }}
|
|
- host: {{ .Values.api.domain }}
|
|
|
http:
|
|
http:
|
|
@@ -38,6 +47,9 @@ spec:
|
|
|
tls:
|
|
tls:
|
|
|
- hosts:
|
|
- hosts:
|
|
|
- {{ .Values.ingress.domain }}
|
|
- {{ .Values.ingress.domain }}
|
|
|
|
|
+ {{- range .Values.ingress.extraHosts }}
|
|
|
|
|
+ - {{ . | quote }}
|
|
|
|
|
+ {{- end }}
|
|
|
{{ if .Values.api.enabled }}
|
|
{{ if .Values.api.enabled }}
|
|
|
- {{ .Values.api.domain }}
|
|
- {{ .Values.api.domain }}
|
|
|
{{ end }}
|
|
{{ end }}
|