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.
This PR adds the 'api.adminPassword', 'api.epinioPassword' fields to specifiy the cleartext password for the
admin
andepinio
user. This password will be then hashed with Bcrypt.In the same way now also a
password
field was added in theapi.users
object.If the
adminPassword
or theepinioPassword
are specified they will have priority over thepasswordBcrypt
orpassword
fields. Otherwise thepasswordBcrypt
has priority over thepassword
field.In the Rancher
question.yaml
theapi.username
or theapi.passwordBcrypt
fields were not working, probably a leftover of the initial fixed user to the users array refactor. Now theadminPassword
field can be specified, but we don't have a way to provide the username of the defaul/admin user.