-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Cannot disable autologin or create unique creds for superuser #5321
Comments
Hey @syoung-gaia! I'm here to help you with any bugs, questions, or contributions you have in mind. Let's work together to solve this issue! The issue you're experiencing with the
If these steps don't resolve the issue, it might be helpful to review the Helm chart's documentation or source code to ensure there are no additional conditions or settings affecting the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
@dosu I have previously done all those things you suggest. Otherwise, I would have solved the problem and not needed to submit this issue to GitHub. But thank you for trying anyway... |
This is a tough nut to crack, could really use your help on this, @ogabrielluiz. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Hi @syoung-gaia, First, create this folder structure:
Create Chart.yaml:
Create values.yaml:
Create templates/deployment.yaml:
Create templates/service.yaml:
To deploy: Watch the pod status
Key points addressed: Fixed the port validation error by using proper environment variables The pod should now start successfully and you should be able to: Access Langflow through the service You can download the full code here: helm.zip Let me know if you need any clarification or run into other issues! |
Bug Description
Looking at the code, I should only need to uncomment and add values to these few lines within my own values.yaml file:
However, this block never gets inserted into the rendered manifest. There must either be a bug with Helm, or this if-statement within the backend-statefulset.yaml file isn't correct:
{{- if and (hasKey .Values.langflow.backend "autoLogin") (eq .Values.langflow.backend.autoLogin false) }}
Certainly looks right. But it also never works. I've checked everything imaginable, like running yamllint against my values.yaml file, and running
helm template
to see if any errors are received. Sure would be nice if Helm's--debug
flag actually printed the logic steps & results. Why does something so seemingly innocuous always turns out to be rather deadly?Reproduction
Expected behavior
I expect AutoLogin o be disabled. The superuser & superuserPassword should be required to login to Langflow The Admin panel within the UI should be enabled. New users can be added and granted access to Langflow.
Who can help?
No response
Operating System
OpenShift 4.16
Langflow Version
1.1.1
Python Version
3.12
Screenshot
No response
Flow File
No response
The text was updated successfully, but these errors were encountered: