mirror of
https://github.com/open-webui/helm-charts
synced 2025-06-26 18:16:14 +00:00
feat: add support for extra init containers
This commit is contained in:
parent
9acc6aa73c
commit
934c4ff600
@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: open-webui
|
name: open-webui
|
||||||
version: 5.21.0
|
version: 5.22.0
|
||||||
appVersion: 0.5.16
|
appVersion: 0.5.16
|
||||||
home: https://www.openwebui.com/
|
home: https://www.openwebui.com/
|
||||||
icon: >-
|
icon: >-
|
||||||
|
@ -50,6 +50,7 @@ helm upgrade --install open-webui open-webui/open-webui
|
|||||||
| copyAppData.resources | object | `{}` | |
|
| copyAppData.resources | object | `{}` | |
|
||||||
| extraEnvVars | list | `[{"name":"OPENAI_API_KEY","value":"0p3n-w3bu!"}]` | Env vars added to the Open WebUI deployment. Most up-to-date environment variables can be found here: https://docs.openwebui.com/getting-started/env-configuration/ |
|
| extraEnvVars | list | `[{"name":"OPENAI_API_KEY","value":"0p3n-w3bu!"}]` | Env vars added to the Open WebUI deployment. Most up-to-date environment variables can be found here: https://docs.openwebui.com/getting-started/env-configuration/ |
|
||||||
| extraEnvVars[0] | object | `{"name":"OPENAI_API_KEY","value":"0p3n-w3bu!"}` | Default API key value for Pipelines. Should be updated in a production deployment, or be changed to the required API key if not using Pipelines |
|
| extraEnvVars[0] | object | `{"name":"OPENAI_API_KEY","value":"0p3n-w3bu!"}` | Default API key value for Pipelines. Should be updated in a production deployment, or be changed to the required API key if not using Pipelines |
|
||||||
|
| extraInitContainers | list | `[]` | Additional init containers to add to the deployment/statefulset ref: <https://kubernetes.io/docs/concepts/workloads/pods/init-containers/> |
|
||||||
| extraResources | list | `[]` | Extra resources to deploy with Open WebUI |
|
| extraResources | list | `[]` | Extra resources to deploy with Open WebUI |
|
||||||
| hostAliases | list | `[]` | HostAliases to be added to hosts-file of each container |
|
| hostAliases | list | `[]` | HostAliases to be added to hosts-file of each container |
|
||||||
| image | object | `{"pullPolicy":"IfNotPresent","repository":"ghcr.io/open-webui/open-webui","tag":""}` | Open WebUI image tags can be found here: https://github.com/open-webui/open-webui |
|
| image | object | `{"pullPolicy":"IfNotPresent","repository":"ghcr.io/open-webui/open-webui","tag":""}` | Open WebUI image tags can be found here: https://github.com/open-webui/open-webui |
|
||||||
|
@ -69,6 +69,9 @@ spec:
|
|||||||
{{- with .Values.volumeMounts.initContainer }}
|
{{- with .Values.volumeMounts.initContainer }}
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.extraInitContainers }}
|
||||||
|
{{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
enableServiceLinks: false
|
enableServiceLinks: false
|
||||||
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
|
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
|
||||||
{{- if .Values.serviceAccount.enable }}
|
{{- if .Values.serviceAccount.enable }}
|
||||||
|
@ -303,6 +303,16 @@ volumeMounts:
|
|||||||
# - name: ""
|
# - name: ""
|
||||||
# mountPath: ""
|
# mountPath: ""
|
||||||
|
|
||||||
|
# -- Additional init containers to add to the deployment/statefulset
|
||||||
|
# ref: <https://kubernetes.io/docs/concepts/workloads/pods/init-containers/>
|
||||||
|
extraInitContainers: []
|
||||||
|
# - name: custom-init
|
||||||
|
# image: busybox:latest
|
||||||
|
# command: ['sh', '-c', 'echo "Custom init container running"']
|
||||||
|
# volumeMounts:
|
||||||
|
# - name: data
|
||||||
|
# mountPath: /data
|
||||||
|
|
||||||
# -- Configure pod volumes
|
# -- Configure pod volumes
|
||||||
# ref: <https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/>
|
# ref: <https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/>
|
||||||
volumes: []
|
volumes: []
|
||||||
|
Loading…
Reference in New Issue
Block a user