epinio / helm-charts

Epinio Helm chart
https://epinio.github.io/helm-charts/
2 stars 15 forks source link

Added 'adminPassword', 'epinioPassword', and 'password' values #490

Closed enrichman closed 1 year ago

enrichman commented 1 year ago

This PR adds the 'api.adminPassword', 'api.epinioPassword' fields to specifiy the cleartext password for the admin and epinio user. This password will be then hashed with Bcrypt.

In the same way now also a password field was added in the api.users object.

If the adminPassword or the epinioPassword are specified they will have priority over the passwordBcrypt or password fields. Otherwise the passwordBcrypt has priority over the password field.

In the Rancher question.yaml the api.username or the api.passwordBcrypt fields were not working, probably a leftover of the initial fixed user to the users array refactor. Now the adminPassword field can be specified, but we don't have a way to provide the username of the defaul/admin user.