Compare commits

...

1 Commits

Author SHA1 Message Date
0xThresh
b7b6bc2022 fix: Use init container fix offline install issue (#53) 2024-07-23 17:20:07 -07:00
4 changed files with 14 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v2
name: open-webui
version: 3.0.10
version: 3.1.0
appVersion: "v0.3.8"
home: https://www.openwebui.com/

View File

@@ -1,6 +1,6 @@
# open-webui
![Version: 3.0.10](https://img.shields.io/badge/Version-3.0.10-informational?style=flat-square) ![AppVersion: v0.3.8](https://img.shields.io/badge/AppVersion-v0.3.8-informational?style=flat-square)
![Version: 3.1.0](https://img.shields.io/badge/Version-3.1.0-informational?style=flat-square) ![AppVersion: v0.3.8](https://img.shields.io/badge/AppVersion-v0.3.8-informational?style=flat-square)
Open WebUI: A User-Friendly Web Interface for Chat Interactions 👋
@@ -45,7 +45,7 @@ helm upgrade --install open-webui open-webui/open-webui
| containerSecurityContext | object | `{}` | Configure container security context ref: <https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-containe> |
| extraEnvVars | list | `[{"name":"OPENAI_API_KEY","value":"0p3n-w3bu!"}]` | Additional environments variables on the output Deployment definition. 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 |
| image | object | `{"pullPolicy":"Always","repository":"ghcr.io/open-webui/open-webui","tag":"latest"}` | Open WebUI image tags can be found here: https://github.com/open-webui/open-webui/pkgs/container/open-webui |
| image | object | `{"pullPolicy":"IfNotPresent","repository":"ghcr.io/open-webui/open-webui","tag":"latest"}` | Open WebUI image tags can be found here: https://github.com/open-webui/open-webui/pkgs/container/open-webui |
| ingress.annotations | object | `{}` | Use appropriate annotations for your Ingress controller, e.g., for NGINX: nginx.ingress.kubernetes.io/rewrite-target: / |
| ingress.class | string | `""` | |
| ingress.enabled | bool | `false` | |

View File

@@ -29,6 +29,16 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
initContainers:
- name: copy-app-data
{{- with .Values.image }}
image: {{ .repository }}:{{ .tag | default $.Chart.AppVersion }}
imagePullPolicy: {{ .pullPolicy }}
{{- end }}
command: ['sh', '-c', 'cp -R /app/backend/data/* /tmp/app-data/']
volumeMounts:
- name: data
mountPath: /tmp/app-data
enableServiceLinks: false
automountServiceAccountToken: false
{{- with .Values.podSecurityContext }}

View File

@@ -36,7 +36,7 @@ replicaCount: 1
image:
repository: ghcr.io/open-webui/open-webui
tag: "latest"
pullPolicy: Always
pullPolicy: "IfNotPresent"
resources: {}
ingress:
enabled: false