-
Notifications
You must be signed in to change notification settings - Fork 28
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
Seed admin user on deploy #96
Comments
Hi @BestLSJ - I'm not sure how else you would achieve this? The call to |
Thanks for your quick reply. I'm working on a way to deploy flagsmith fully automatically, and I can't seem find a way to seed the admin user without visiting I'd like a way to do this more programmatically, and having it as part of the flagsmith helm chart just seemed intuitive. |
Ah interesting point. Would a REST interface to do this achieve what you are looking for? |
I guess it would. EDIT: I did figure out how to make a POST request to |
How could we make it simpler? |
First you have to make a get request to get the Furthermore documenting the |
Ah ok understood. Will update description and add to backlog! |
Also this helm chart apparently implements such feature, so maybe that can be used as inspiration Alternatively we could have a section in the template to run |
Related PR: Flagsmith/flagsmith#2205 |
Development on this feature is complete but we need to add documentation, particularly for k8s installs. |
Add a REST
POST
endpoint that achieves the same functionality as/api/v1/users/config/init/
after deployment. This will make it easier to automate deployments.The text was updated successfully, but these errors were encountered: