mirror of
https://github.com/open-webui/helm-charts
synced 2025-06-11 00:57:21 +00:00
changed externalUrls key to ollamaUrls in values.yaml
This commit is contained in:
parent
4e0b38bc1d
commit
46c7ba6256
@ -40,7 +40,6 @@ helm upgrade --install open-webui open-webui/open-webui
|
|||||||
|-----|------|---------|-------------|
|
|-----|------|---------|-------------|
|
||||||
| annotations | object | `{}` | |
|
| annotations | object | `{}` | |
|
||||||
| clusterDomain | string | `"cluster.local"` | Value of cluster domain |
|
| clusterDomain | string | `"cluster.local"` | Value of cluster domain |
|
||||||
| externalHosts | list | `[]` | A list of Ollama API endpoints. These can be added in lieu of automatically installing the Ollama Helm chart, or in addition to it. |
|
|
||||||
| image.pullPolicy | string | `"Always"` | |
|
| image.pullPolicy | string | `"Always"` | |
|
||||||
| image.repository | string | `"ghcr.io/open-webui/open-webui"` | |
|
| image.repository | string | `"ghcr.io/open-webui/open-webui"` | |
|
||||||
| image.tag | string | `""` | |
|
| image.tag | string | `""` | |
|
||||||
@ -53,6 +52,7 @@ helm upgrade --install open-webui open-webui/open-webui
|
|||||||
| nameOverride | string | `""` | |
|
| nameOverride | string | `""` | |
|
||||||
| nodeSelector | object | `{}` | |
|
| nodeSelector | object | `{}` | |
|
||||||
| ollama.enabled | bool | `true` | Automatically install Ollama Helm chart from https://otwld.github.io/ollama-helm/. Use [Helm Values](https://github.com/otwld/ollama-helm/#helm-values) to configure |
|
| ollama.enabled | bool | `true` | Automatically install Ollama Helm chart from https://otwld.github.io/ollama-helm/. Use [Helm Values](https://github.com/otwld/ollama-helm/#helm-values) to configure |
|
||||||
|
| ollamaUrls | list | `[]` | A list of Ollama API endpoints. These can be added in lieu of automatically installing the Ollama Helm chart, or in addition to it. |
|
||||||
| persistence.accessModes | list | `["ReadWriteOnce"]` | If using multiple replicas, you must update accessModes to ReadWriteMany |
|
| persistence.accessModes | list | `["ReadWriteOnce"]` | If using multiple replicas, you must update accessModes to ReadWriteMany |
|
||||||
| persistence.annotations | object | `{}` | |
|
| persistence.annotations | object | `{}` | |
|
||||||
| persistence.enabled | bool | `true` | |
|
| persistence.enabled | bool | `true` | |
|
||||||
|
@ -5,9 +5,9 @@
|
|||||||
ollama
|
ollama
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- define "externalHostUrls" -}}
|
{{- define "ollamaUrls" -}}
|
||||||
{{- if .Values.externalHosts }}
|
{{- if .Values.ollamaUrls }}
|
||||||
{{- join ";" .Values.externalHosts | trimSuffix "/" }}
|
{{- join ";" .Values.ollamaUrls | trimSuffix "/" }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
@ -21,13 +21,13 @@ ollama
|
|||||||
|
|
||||||
{{- define "ollamaBaseUrls" -}}
|
{{- define "ollamaBaseUrls" -}}
|
||||||
{{- $ollamaLocalUrl := include "ollamaLocalUrl" . }}
|
{{- $ollamaLocalUrl := include "ollamaLocalUrl" . }}
|
||||||
{{- $externalHostUrls := include "externalHostUrls" . }}
|
{{- $ollamaUrls := include "ollamaUrls" . }}
|
||||||
{{- if and .Values.ollama.enabled .Values.externalHosts }}
|
{{- if and .Values.ollama.enabled .Values.ollamaUrls }}
|
||||||
{{- printf "%s;%s" $externalHostUrls $ollamaLocalUrl }}
|
{{- printf "%s;%s" $ollamaUrls $ollamaLocalUrl }}
|
||||||
{{- else if .Values.ollama.enabled }}
|
{{- else if .Values.ollama.enabled }}
|
||||||
{{- printf "%s" $ollamaLocalUrl }}
|
{{- printf "%s" $ollamaLocalUrl }}
|
||||||
{{- else if .Values.externalHosts }}
|
{{- else if .Values.ollamaUrls }}
|
||||||
{{- printf "%s" $externalHostUrls }}
|
{{- printf "%s" $ollamaUrls }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
@ -3,9 +3,21 @@ nameOverride: ""
|
|||||||
ollama:
|
ollama:
|
||||||
# -- Automatically install Ollama Helm chart from https://otwld.github.io/ollama-helm/. Use [Helm Values](https://github.com/otwld/ollama-helm/#helm-values) to configure
|
# -- Automatically install Ollama Helm chart from https://otwld.github.io/ollama-helm/. Use [Helm Values](https://github.com/otwld/ollama-helm/#helm-values) to configure
|
||||||
enabled: true
|
enabled: true
|
||||||
|
# Example Ollama configuration with nvidia GPU enabled, automatically downloading a model, and deploying a PVC for model persistence
|
||||||
|
# ollama:
|
||||||
|
# gpu:
|
||||||
|
# enabled: true
|
||||||
|
# type: 'nvidia'
|
||||||
|
# number: 1
|
||||||
|
# models:
|
||||||
|
# - llama3
|
||||||
|
# runtimeClassName: nvidia
|
||||||
|
# persistentVolume:
|
||||||
|
# enabled: true
|
||||||
|
|
||||||
|
|
||||||
# -- A list of Ollama API endpoints. These can be added in lieu of automatically installing the Ollama Helm chart, or in addition to it.
|
# -- A list of Ollama API endpoints. These can be added in lieu of automatically installing the Ollama Helm chart, or in addition to it.
|
||||||
externalHosts: []
|
ollamaUrls: []
|
||||||
|
|
||||||
# -- Value of cluster domain
|
# -- Value of cluster domain
|
||||||
clusterDomain: cluster.local
|
clusterDomain: cluster.local
|
||||||
|
Loading…
Reference in New Issue
Block a user