Closed BugRoger closed 3 years ago
@Carthaca @rajivmucheli We still have a transitive dependency to the master_password
in this utility function.
I suggest we delete the function: https://github.com/sapcc/helm-charts/blob/0c26619ebb462261149801e561b0ec8342306fde/openstack/utils/templates/_hosts.tpl#L125-L131
and replace each occurance with a similar require
as was used here:
required ".Values.global.bigip_user required!") ( $envAll.Values.global.bigip_password | required ".Values.global.bigip_password required!"
Hi @BugRoger,
https://github.com/sapcc/helm-charts/blob/master/openstack/utils/templates/_hosts.tpl#L130
Values.global.master_password
Prior Art: https://github.com/sapcc/helm-charts/commit/a4c48f4160d81b1f3bbdb356f7526c431763ca4a Take note that this utility function is being used in many other charts:
utils.password_for_fixed_user_mysql
utils.password_for_user_mysql
utils.root_password
db_url_mysql