longhorn: upgrade from 1.9.0 to 1.12.0 (with intermediate releases)
Change-Id: Ice8f4e8f7e073023ab274c83154d9368525f9231
diff --git a/charts/longhorn/templates/ingress.yaml b/charts/longhorn/templates/ingress.yaml
index 61175e8..a8a2702 100644
--- a/charts/longhorn/templates/ingress.yaml
+++ b/charts/longhorn/templates/ingress.yaml
@@ -28,10 +28,25 @@
name: longhorn-frontend
port:
number: 80
+{{- range .Values.ingress.extraHosts }}
+ - host: {{ . }}
+ http:
+ paths:
+ - path: {{ default "" $.Values.ingress.path }}
+ pathType: {{ default "ImplementationSpecific" $.Values.ingress.pathType }}
+ backend:
+ service:
+ name: longhorn-frontend
+ port:
+ number: 80
+{{- end }}
{{- if .Values.ingress.tls }}
tls:
- hosts:
- {{ .Values.ingress.host }}
+ {{- range .Values.ingress.extraHosts }}
+ - {{ . }}
+ {{- end }}
secretName: {{ .Values.ingress.tlsSecret }}
{{- end }}
{{- end }}