[PR #315] [MERGED] fix(open-webui): wrong behavior on openai api keys #326

Closed
opened 2026-02-15 19:17:24 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/helm-charts/pull/315
Author: @this-is-tobi
Created: 11/2/2025
Status: Merged
Merged: 11/3/2025
Merged by: @westbrook-ai

Base: mainHead: fix/openai-api-key-behavior


📝 Commits (1)

  • f1708d2 fix(open-webui): wrong behavior on openai api keys

📊 Changes

4 files changed (+14 additions, -6 deletions)

View changed files

📝 charts/open-webui/Chart.yaml (+1 -1)
📝 charts/open-webui/README.md (+2 -2)
📝 charts/open-webui/templates/workload-manager.yaml (+8 -0)
📝 charts/open-webui/values.yaml (+3 -3)

📄 Description

Fix #310

This pull request updates the Open WebUI Helm chart to version 8.12.3 and refines the configuration for handling OpenAI API keys and endpoints. The changes clarify and improve how multiple OpenAI API keys are provided and used, especially in deployments with Pipelines enabled, and ensure that environment variables are only set when relevant values are present.

Chart version and documentation updates:

  • Bumped chart version from 8.12.2 to 8.12.3 in Chart.yaml and updated the version badge in README.md to reflect the new release. [1] [2]

OpenAI API keys configuration improvements:

  • Changed the default value of openaiApiKeys in values.yaml from a preset list to an empty list, and updated documentation to clarify how keys should be provided, especially when Pipelines are enabled (the list should match the number of URLs, plus one if Pipelines are used). [1] [2]
  • Updated the Helm template logic in workload-manager.yaml to only set the OPENAI_API_KEY and OPENAI_API_KEYS environment variables if the corresponding values are provided, preventing unnecessary or empty environment variables from being set.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/helm-charts/pull/315 **Author:** [@this-is-tobi](https://github.com/this-is-tobi) **Created:** 11/2/2025 **Status:** ✅ Merged **Merged:** 11/3/2025 **Merged by:** [@westbrook-ai](https://github.com/westbrook-ai) **Base:** `main` ← **Head:** `fix/openai-api-key-behavior` --- ### 📝 Commits (1) - [`f1708d2`](https://github.com/open-webui/helm-charts/commit/f1708d23d127b7f6e8d6d7d02f6af9d2c118123d) fix(open-webui): wrong behavior on openai api keys ### 📊 Changes **4 files changed** (+14 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `charts/open-webui/Chart.yaml` (+1 -1) 📝 `charts/open-webui/README.md` (+2 -2) 📝 `charts/open-webui/templates/workload-manager.yaml` (+8 -0) 📝 `charts/open-webui/values.yaml` (+3 -3) </details> ### 📄 Description Fix #310 This pull request updates the Open WebUI Helm chart to version 8.12.3 and refines the configuration for handling OpenAI API keys and endpoints. The changes clarify and improve how multiple OpenAI API keys are provided and used, especially in deployments with Pipelines enabled, and ensure that environment variables are only set when relevant values are present. **Chart version and documentation updates:** * Bumped chart version from `8.12.2` to `8.12.3` in `Chart.yaml` and updated the version badge in `README.md` to reflect the new release. [[1]](diffhunk://#diff-fd1c91305ae5ec8685061c0996edf27e8fdf180534d5c02219ed03418765f624L3-R3) [[2]](diffhunk://#diff-f923dfcf40b056769f08b1c67dd4b43fde108d4ddbea3c27e725070d28e9003dL3-R3) **OpenAI API keys configuration improvements:** * Changed the default value of `openaiApiKeys` in `values.yaml` from a preset list to an empty list, and updated documentation to clarify how keys should be provided, especially when Pipelines are enabled (the list should match the number of URLs, plus one if Pipelines are used). [[1]](diffhunk://#diff-bbcc9d78d9f50476a0b1619e8a1e9a2377f05aeae7aed666433186247f00f30dL453-R456) [[2]](diffhunk://#diff-f923dfcf40b056769f08b1c67dd4b43fde108d4ddbea3c27e725070d28e9003dL47-R47) * Updated the Helm template logic in `workload-manager.yaml` to only set the `OPENAI_API_KEY` and `OPENAI_API_KEYS` environment variables if the corresponding values are provided, preventing unnecessary or empty environment variables from being set. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 19:17:24 -05:00
yindo closed this issue 2026-02-15 19:17:24 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: open-webui/helm-charts#326