diff --git a/charts/open-webui/Chart.yaml b/charts/open-webui/Chart.yaml index c195b6f..6a5686d 100644 --- a/charts/open-webui/Chart.yaml +++ b/charts/open-webui/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: open-webui -version: 5.0.1 +version: 5.1.0 appVersion: 0.5.3 home: https://www.openwebui.com/ icon: >- diff --git a/charts/open-webui/README.md b/charts/open-webui/README.md index 24f817d..76a3c5c 100644 --- a/charts/open-webui/README.md +++ b/charts/open-webui/README.md @@ -49,6 +49,9 @@ helm upgrade --install open-webui open-webui/open-webui | 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":"IfNotPresent","repository":"ghcr.io/open-webui/open-webui","tag":""}` | Open WebUI image tags can be found here: https://github.com/open-webui/open-webui | | imagePullSecrets | list | `[]` | Configure imagePullSecrets to use private registry ref: | +| livenessProbe | object | `{}` | Configure livenessProbe ref: | +| readinessProbe | object | `{}` | Configure readinessProbe ref: | +| startupProbe | object | `{}` | Configure startupProbe ref: | | ingress.additionalHosts | list | `[]` | | | ingress.annotations | object | `{}` | Use appropriate annotations for your Ingress controller, e.g., for NGINX: nginx.ingress.kubernetes.io/rewrite-target: / | | ingress.class | string | `""` | | diff --git a/charts/open-webui/templates/workload-manager.yaml b/charts/open-webui/templates/workload-manager.yaml old mode 100755 new mode 100644 index 8ae3a77..8b5d14f --- a/charts/open-webui/templates/workload-manager.yaml +++ b/charts/open-webui/templates/workload-manager.yaml @@ -87,6 +87,15 @@ spec: ports: - name: http containerPort: {{ .Values.service.containerPort }} + {{- with .Values.livenessProbe }} + livenessProbe: {{- toYaml . | nindent 10 }} + {{- end }} + {{- with .Values.readinessProbe }} + readinessProbe: {{- toYaml . | nindent 10 }} + {{- end }} + {{- with .Values.startupProbe }} + startupProbe: {{- toYaml . | nindent 10 }} + {{- end }} {{- with .Values.resources }} resources: {{- toYaml . | nindent 10 }} {{- end }} diff --git a/charts/open-webui/values.yaml b/charts/open-webui/values.yaml index 23388c0..fb79dcf 100644 --- a/charts/open-webui/values.yaml +++ b/charts/open-webui/values.yaml @@ -59,6 +59,37 @@ imagePullSecrets: [] # imagePullSecrets: # - name: myRegistryKeySecretName +# -- Probe for liveness of the Open WebUI container +# ref: +livenessProbe: {} +# livenessProbe: +# httpGet: +# path: /health +# port: http +# failureThreshold: 1 +# periodSeconds: 10 + +# -- Probe for readiness of the Open WebUI container +# ref: +readinessProbe: {} +# readinessProbe: +# httpGet: +# path: /health/db +# port: http +# failureThreshold: 1 +# periodSeconds: 10 + +# -- Probe for startup of the Open WebUI container +# ref: +startupProbe: {} +# startupProbe: +# httpGet: +# path: /health +# port: http +# initialDelaySeconds: 30 +# periodSeconds: 5 +# failureThreshold: 20 + resources: {} copyAppData: