mirror of
https://github.com/open-webui/helm-charts
synced 2025-06-26 18:16:14 +00:00
render envVars as yaml (allow valueFrom)
This commit is contained in:
parent
79626f0828
commit
d0e695b57c
@ -8,15 +8,15 @@ icon: https://raw.githubusercontent.com/open-webui/open-webui/main/static/favico
|
|||||||
|
|
||||||
description: "Open WebUI: A User-Friendly Web Interface for Chat Interactions 👋"
|
description: "Open WebUI: A User-Friendly Web Interface for Chat Interactions 👋"
|
||||||
keywords:
|
keywords:
|
||||||
- llm
|
- llm
|
||||||
- chat
|
- chat
|
||||||
- web-ui
|
- web-ui
|
||||||
|
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/open-webui/helm-charts
|
- https://github.com/open-webui/helm-charts
|
||||||
- https://github.com/open-webui/open-webui/pkgs/container/open-webui
|
- https://github.com/open-webui/open-webui/pkgs/container/open-webui
|
||||||
- https://github.com/otwld/ollama-helm/
|
- https://github.com/otwld/ollama-helm/
|
||||||
- https://hub.docker.com/r/ollama/ollama
|
- https://hub.docker.com/r/ollama/ollama
|
||||||
|
|
||||||
annotations:
|
annotations:
|
||||||
licenses: MIT
|
licenses: MIT
|
||||||
@ -26,7 +26,6 @@ dependencies:
|
|||||||
repository: https://otwld.github.io/ollama-helm/
|
repository: https://otwld.github.io/ollama-helm/
|
||||||
version: ">=0.24.0"
|
version: ">=0.24.0"
|
||||||
import-values:
|
import-values:
|
||||||
|
|
||||||
- child: service
|
- child: service
|
||||||
parent: ollama.service
|
parent: ollama.service
|
||||||
condition: ollama.enabled
|
condition: ollama.enabled
|
||||||
|
@ -42,11 +42,8 @@ spec:
|
|||||||
env:
|
env:
|
||||||
- name: OLLAMA_BASE_URLS
|
- name: OLLAMA_BASE_URLS
|
||||||
value: {{ include "ollamaBaseUrls" . | quote }}
|
value: {{ include "ollamaBaseUrls" . | quote }}
|
||||||
{{- with .Values.extraEnvVars }}
|
{{- if .Values.extraEnvVars }}
|
||||||
{{- range . }}
|
{{- toYaml .Values.extraEnvVars | nindent 8 }}
|
||||||
- name: {{ .name }}
|
|
||||||
value: {{ .value | quote }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
tty: true
|
tty: true
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
|
@ -15,7 +15,6 @@ ollama:
|
|||||||
# persistentVolume:
|
# persistentVolume:
|
||||||
# enabled: true
|
# 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.
|
||||||
ollamaUrls: []
|
ollamaUrls: []
|
||||||
|
|
||||||
@ -45,7 +44,7 @@ persistence:
|
|||||||
existingClaim: ""
|
existingClaim: ""
|
||||||
# -- If using multiple replicas, you must update accessModes to ReadWriteMany
|
# -- If using multiple replicas, you must update accessModes to ReadWriteMany
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
storageClass: ""
|
storageClass: ""
|
||||||
selector: {}
|
selector: {}
|
||||||
annotations: {}
|
annotations: {}
|
||||||
@ -69,6 +68,11 @@ service:
|
|||||||
loadBalancerClass: ""
|
loadBalancerClass: ""
|
||||||
|
|
||||||
# -- Additional environments variables on the output Deployment definition.
|
# -- Additional environments variables on the output Deployment definition.
|
||||||
extraEnvVars: []
|
extraEnvVars:
|
||||||
# - name: OLLAMA_DEBUG
|
- name: OPENAI_API_KEY
|
||||||
# value: "1"
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: openai-api-key
|
||||||
|
key: api-key
|
||||||
|
- name: OLLAMA_DEBUG
|
||||||
|
value: "1"
|
||||||
|
Loading…
Reference in New Issue
Block a user