mirror of
https://github.com/open-webui/helm-charts
synced 2025-06-26 18:16:14 +00:00
Merge pull request #255 from bdriggersTorch/openwebui-command-override
This commit is contained in:
commit
80232f8a26
@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: open-webui
|
name: open-webui
|
||||||
version: 6.21.0
|
version: 6.22.0
|
||||||
appVersion: 0.6.15
|
appVersion: 0.6.15
|
||||||
home: https://www.openwebui.com/
|
home: https://www.openwebui.com/
|
||||||
icon: >-
|
icon: >-
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
# open-webui
|
# open-webui
|
||||||
|
|
||||||
 
|
 
|
||||||
|
|
||||||
Open WebUI: A User-Friendly Web Interface for Chat Interactions 👋
|
Open WebUI: A User-Friendly Web Interface for Chat Interactions 👋
|
||||||
|
|
||||||
@ -167,9 +167,13 @@ helm upgrade --install open-webui open-webui/open-webui
|
|||||||
|-----|------|---------|-------------|
|
|-----|------|---------|-------------|
|
||||||
| affinity | object | `{}` | Affinity for pod assignment |
|
| affinity | object | `{}` | Affinity for pod assignment |
|
||||||
| annotations | object | `{}` | |
|
| annotations | object | `{}` | |
|
||||||
|
| args | list | `[]` | Open WebUI container arguments (overrides default) |
|
||||||
| clusterDomain | string | `"cluster.local"` | Value of cluster domain |
|
| clusterDomain | string | `"cluster.local"` | Value of cluster domain |
|
||||||
|
| command | list | `[]` | Open WebUI container command (overrides default entrypoint) |
|
||||||
| commonEnvVars | list | `[]` | Env vars added to the Open WebUI deployment, common across environments. Most up-to-date environment variables can be found here: https://docs.openwebui.com/getting-started/env-configuration/ (caution: environment variables defined in both `extraEnvVars` and `commonEnvVars` will result in a conflict. Avoid duplicates) |
|
| commonEnvVars | list | `[]` | Env vars added to the Open WebUI deployment, common across environments. Most up-to-date environment variables can be found here: https://docs.openwebui.com/getting-started/env-configuration/ (caution: environment variables defined in both `extraEnvVars` and `commonEnvVars` will result in a conflict. Avoid duplicates) |
|
||||||
| containerSecurityContext | object | `{}` | Configure container security context ref: <https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-containe> |
|
| containerSecurityContext | object | `{}` | Configure container security context ref: <https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-containe> |
|
||||||
|
| copyAppData.args | list | `[]` | Open WebUI copy-app-data init container arguments (overrides default) |
|
||||||
|
| copyAppData.command | list | `[]` | Open WebUI copy-app-data init container command (overrides default) |
|
||||||
| copyAppData.resources | object | `{}` | |
|
| copyAppData.resources | object | `{}` | |
|
||||||
| databaseUrl | string | `""` | Configure database URL, needed to work with Postgres (example: `postgresql://<user>:<password>@<service>:<port>/<database>`), leave empty to use the default sqlite database |
|
| databaseUrl | string | `""` | Configure database URL, needed to work with Postgres (example: `postgresql://<user>:<password>@<service>:<port>/<database>`), leave empty to use the default sqlite database |
|
||||||
| enableOpenaiApi | bool | `true` | Enables the use of OpenAI APIs |
|
| enableOpenaiApi | bool | `true` | Enables the use of OpenAI APIs |
|
||||||
|
|||||||
@ -52,7 +52,12 @@ spec:
|
|||||||
image: {{ .repository }}:{{ .tag | default $.Chart.AppVersion }}
|
image: {{ .repository }}:{{ .tag | default $.Chart.AppVersion }}
|
||||||
imagePullPolicy: {{ .pullPolicy }}
|
imagePullPolicy: {{ .pullPolicy }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
command: ['sh', '-c', 'cp -R -n /app/backend/data/* /tmp/app-data/']
|
command:
|
||||||
|
{{- toYaml (.Values.copyAppData.command | default (list "sh" "-c" "cp -R -n /app/backend/data/* /tmp/app-data/")) | nindent 10 }}
|
||||||
|
{{- with .Values.copyAppData.args }}
|
||||||
|
args:
|
||||||
|
{{- toYaml . | nindent 10 }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.containerSecurityContext }}
|
{{- with .Values.containerSecurityContext }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml . | nindent 10 }}
|
{{- toYaml . | nindent 10 }}
|
||||||
@ -90,6 +95,14 @@ spec:
|
|||||||
image: {{ .repository }}:{{ .tag | default $.Chart.AppVersion }}
|
image: {{ .repository }}:{{ .tag | default $.Chart.AppVersion }}
|
||||||
imagePullPolicy: {{ .pullPolicy }}
|
imagePullPolicy: {{ .pullPolicy }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.command }}
|
||||||
|
command:
|
||||||
|
{{- toYaml . | nindent 10 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.args }}
|
||||||
|
args:
|
||||||
|
{{- toYaml . | nindent 10 }}
|
||||||
|
{{- end }}
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: {{ .Values.service.containerPort }}
|
containerPort: {{ .Values.service.containerPort }}
|
||||||
|
|||||||
@ -130,6 +130,11 @@ image:
|
|||||||
tag: ""
|
tag: ""
|
||||||
pullPolicy: "IfNotPresent"
|
pullPolicy: "IfNotPresent"
|
||||||
|
|
||||||
|
# -- Open WebUI container command (overrides default entrypoint)
|
||||||
|
command: []
|
||||||
|
# -- Open WebUI container arguments (overrides default)
|
||||||
|
args: []
|
||||||
|
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
enable: true
|
enable: true
|
||||||
name: ""
|
name: ""
|
||||||
@ -176,6 +181,11 @@ startupProbe: {}
|
|||||||
resources: {}
|
resources: {}
|
||||||
|
|
||||||
copyAppData:
|
copyAppData:
|
||||||
|
# -- Open WebUI copy-app-data init container command (overrides default)
|
||||||
|
command: []
|
||||||
|
# -- Open WebUI copy-app-data init container arguments (overrides default)
|
||||||
|
args: []
|
||||||
|
|
||||||
resources: {}
|
resources: {}
|
||||||
|
|
||||||
managedCertificate:
|
managedCertificate:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user