coroot / helm-charts

Coroot Helm charts
Apache License 2.0
19 stars 21 forks source link

Ability to configure project name, admin user, and additional user from helm chart #33

Open Trungtin1011 opened 2 months ago

Trungtin1011 commented 2 months ago

Dear,

I'm using Coroot for my team and I'm very appreciate what you have been doing to develop this tool.

I feel it would even be better for every user if Coroot CE allowed users to set below things directly from the helm chart:

  1. Project configuration: Every time I initialize a brand new deployment, I have to go to the console to set project name and get the project token from the URL, then go back to my helm config to set .values.corootClusterAgent.api_key and .values.node-agent.apiKey with the correct token which I get from the URL manually. I hope Coroot will have some feature to allow this token setup stuff to be automated or configurable from the helm chart.
  2. Admin user password: Same as above, I have to manually setup the admin password. I would like to propose a way to setup the admin password with parameters like .values.corootCE.adminPassword for plain text password or .values.corootCE.adminPasswordSecret for fetching password from an existing secret.
  3. Configure additional user: Right now, this task has to be done with manual actions in the console. I also want to allow this feature to be set up from the helm value. The parameter maybe .values.corootCE.additionalUsers: []
image

I hope that my opinions will reach you and have some good responses.

Thanks,

l-rossetti commented 2 months ago

agree! It would be helpful to have user management. About the API key, thanks to you I have just discovered we have to provide it to cluster-agent and node-agent

Trungtin1011 commented 1 month ago

I've checked on the Coroot Authentication document and found out that it has been updated with a new environment variable AUTH_BOOTSTRAP_ADMIN_PASSWORD to set Admin password.

l-rossetti commented 1 month ago

basically is only a matter of integrating that variable in the chart as for clickhouse password