mirror of
				https://github.com/open-webui/helm-charts
				synced 2025-06-26 18:16:14 +00:00 
			
		
		
		
	Merge pull request #106 from zadjadr/zadjadr/ingress
feat: allow additionalHosts for ingress
This commit is contained in:
		
						commit
						01fd07172c
					
				| @ -17,6 +17,9 @@ spec: | ||||
|   tls: | ||||
|     - hosts: | ||||
|       - {{ .Values.ingress.host | quote }} | ||||
|       {{- range .Values.ingress.additionalHosts }} | ||||
|       - {{ . | quote }} | ||||
|       {{- end }} | ||||
|       secretName: {{ default (printf "%s-tls" .Release.Name) .Values.ingress.existingSecret }} | ||||
|   {{- end }} | ||||
|   rules: | ||||
| @ -30,4 +33,16 @@ spec: | ||||
|             name: {{ include "open-webui.name" . }} | ||||
|             port: | ||||
|               name: http | ||||
|   {{- range .Values.ingress.additionalHosts }} | ||||
|   - host: {{ . | quote }} | ||||
|     http: | ||||
|       paths: | ||||
|       - path: / | ||||
|         pathType: Prefix | ||||
|         backend: | ||||
|           service: | ||||
|             name: {{ include "open-webui.name" $ }} | ||||
|             port: | ||||
|               name: http | ||||
|   {{- end }} | ||||
| {{- end }} | ||||
|  | ||||
| @ -57,6 +57,7 @@ ingress: | ||||
|   # nginx.ingress.kubernetes.io/rewrite-target: / | ||||
|   annotations: {} | ||||
|   host: "" | ||||
|   additionalHosts: [] | ||||
|   tls: false | ||||
|   existingSecret: "" | ||||
| persistence: | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user