Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move extraEnvVars to Workload from ConfigMap #88

Merged

Conversation

saip92
Copy link
Contributor

@saip92 saip92 commented Sep 28, 2024

The extraEnvVars value in the open-webui chart is inserted into a config map which is later mounted in the workload (deployment/stateful set) for its environment variables. But this does not support referencing secrets which are needed when using features like OIDC Authentication or PostgreSQL as the database.

This PR removes the config map and moves the environment variables directly into the workload itself.

fixes #86
fixes #87

@JacopKane
Copy link

Nice, I guess this fixes disabling the API when you disable the bundled Ollama chart.

@0xThresh
Copy link
Collaborator

Hey @saip92, much appreciated on the PR - I tagged you for further discussion in #87. If we decide to merge this PR as the quick-fix, I still need you to update the appVersion in Chart.yaml so that merging this PR will trigger a new version release with these fixes added.

Thank you!

@saip92
Copy link
Contributor Author

saip92 commented Oct 2, 2024

@0xThresh Done. I've made it a minor update like the previous change since this affects how environment variables are stored which could be a breaking change for some.

Let me know if you would like it to just be a patch release instead.

@0xThresh 0xThresh merged commit 4f1fa47 into open-webui:main Oct 2, 2024
@0xThresh
Copy link
Collaborator

0xThresh commented Oct 2, 2024

Thanks @saip92 🫡

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants