"src/git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "0a403eb129404122fab349d8eab2399a42f88804"
Commit 2f0ed3be authored by duhow's avatar duhow
Browse files

add ingress tls and settings

parent 18463d93
...@@ -10,6 +10,15 @@ metadata: ...@@ -10,6 +10,15 @@ metadata:
{{- toYaml . | nindent 4 }} {{- toYaml . | nindent 4 }}
{{- end }} {{- end }}
spec: spec:
{{- with .Values.webui.ingress.class }}
ingressClassName: {{ . }}
{{- end }}
{{- if .Values.webui.ingress.tls }}
tls:
- hosts:
- {{ .Values.webui.ingress.host | quote }}
secretName: {{ default (printf "%s-tls" .Release.Name) .Values.webui.ingress.existingSecret }}
{{- end }}
rules: rules:
- host: {{ .Values.webui.ingress.host }} - host: {{ .Values.webui.ingress.host }}
http: http:
......
...@@ -44,10 +44,13 @@ webui: ...@@ -44,10 +44,13 @@ webui:
resources: {} resources: {}
ingress: ingress:
enabled: false enabled: false
class: ""
# -- Use appropriate annotations for your Ingress controller, e.g., for NGINX: # -- Use appropriate annotations for your Ingress controller, e.g., for NGINX:
# nginx.ingress.kubernetes.io/rewrite-target: / # nginx.ingress.kubernetes.io/rewrite-target: /
annotations: {} annotations: {}
host: "" host: ""
tls: false
existingSecret: ""
persistence: persistence:
enabled: true enabled: true
size: 30Gi size: 30Gi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment