mirror of
				https://github.com/open-webui/helm-charts
				synced 2025-06-26 18:16:14 +00:00 
			
		
		
		
	feat(open-webui): add support for commonEnvVars to inject shared environment variables
This commit is contained in:
		
							parent
							
								
									78ba8db769
								
							
						
					
					
						commit
						5fcc219066
					
				| @ -168,6 +168,7 @@ 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 | `{}` |  | | ||||||
| | clusterDomain | string | `"cluster.local"` | Value of cluster domain | | | clusterDomain | string | `"cluster.local"` | Value of cluster domain | | ||||||
|  | | 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.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 | | ||||||
| @ -240,6 +241,7 @@ helm upgrade --install open-webui open-webui/open-webui | |||||||
| | volumes | list | `[]` | Configure pod volumes ref: <https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/> | | | volumes | list | `[]` | Configure pod volumes ref: <https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/> | | ||||||
| | websocket.enabled | bool | `false` | Enables websocket support in Open WebUI with env `ENABLE_WEBSOCKET_SUPPORT` | | | websocket.enabled | bool | `false` | Enables websocket support in Open WebUI with env `ENABLE_WEBSOCKET_SUPPORT` | | ||||||
| | websocket.manager | string | `"redis"` | Specifies the websocket manager to use with env `WEBSOCKET_MANAGER`: redis (default) | | | websocket.manager | string | `"redis"` | Specifies the websocket manager to use with env `WEBSOCKET_MANAGER`: redis (default) | | ||||||
|  | | websocket.nodeSelector | object | `{}` | Node selector for websocket pods | | ||||||
| | websocket.redis | object | `{"affinity":{},"annotations":{},"args":[],"command":[],"enabled":true,"image":{"pullPolicy":"IfNotPresent","repository":"redis","tag":"7.4.2-alpine3.21"},"labels":{},"name":"open-webui-redis","pods":{"annotations":{}},"resources":{},"securityContext":{},"service":{"annotations":{},"containerPort":6379,"labels":{},"nodePort":"","port":6379,"type":"ClusterIP"},"tolerations":[]}` | Deploys a redis | | | websocket.redis | object | `{"affinity":{},"annotations":{},"args":[],"command":[],"enabled":true,"image":{"pullPolicy":"IfNotPresent","repository":"redis","tag":"7.4.2-alpine3.21"},"labels":{},"name":"open-webui-redis","pods":{"annotations":{}},"resources":{},"securityContext":{},"service":{"annotations":{},"containerPort":6379,"labels":{},"nodePort":"","port":6379,"type":"ClusterIP"},"tolerations":[]}` | Deploys a redis | | ||||||
| | websocket.redis.affinity | object | `{}` | Redis affinity for pod assignment | | | websocket.redis.affinity | object | `{}` | Redis affinity for pod assignment | | ||||||
| | websocket.redis.annotations | object | `{}` | Redis annotations | | | websocket.redis.annotations | object | `{}` | Redis annotations | | ||||||
|  | |||||||
| @ -336,6 +336,9 @@ spec: | |||||||
|         {{- if .Values.extraEnvVars }} |         {{- if .Values.extraEnvVars }} | ||||||
|           {{- toYaml .Values.extraEnvVars | nindent 8 }} |           {{- toYaml .Values.extraEnvVars | nindent 8 }} | ||||||
|         {{- end }} |         {{- end }} | ||||||
|  |         {{- if .Values.commonEnvVars }} | ||||||
|  |           {{- toYaml .Values.commonEnvVars | nindent 8 }} | ||||||
|  |         {{- end }} | ||||||
|         {{- if .Values.extraEnvFrom }} |         {{- if .Values.extraEnvFrom }} | ||||||
|         envFrom: |         envFrom: | ||||||
|           {{- toYaml .Values.extraEnvFrom | nindent 8 }} |           {{- toYaml .Values.extraEnvFrom | nindent 8 }} | ||||||
|  | |||||||
| @ -325,6 +325,11 @@ extraEnvVars: | |||||||
|   # - name: OLLAMA_DEBUG |   # - name: OLLAMA_DEBUG | ||||||
|   #   value: "1" |   #   value: "1" | ||||||
| 
 | 
 | ||||||
|  | # -- 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: [] | ||||||
|  |   # - name: RAG_EMBEDDING_ENGINE | ||||||
|  |   #   value: "openai" | ||||||
|  | 
 | ||||||
| # -- Env vars added from configmap or secret to the Open WebUI deployment. Most up-to-date environment variables can be found here: https://docs.openwebui.com/getting-started/env-configuration/ (caution: `extraEnvVars` will take precedence over the value from `extraEnvFrom`) | # -- Env vars added from configmap or secret to the Open WebUI deployment. Most up-to-date environment variables can be found here: https://docs.openwebui.com/getting-started/env-configuration/ (caution: `extraEnvVars` will take precedence over the value from `extraEnvFrom`) | ||||||
| extraEnvFrom: [] | extraEnvFrom: [] | ||||||
|   # - configMapRef: |   # - configMapRef: | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user