Helm chart, how do I change the default admin password without exposing a password in the values.yml

  • which versions are you using: SonarQube 9.5.0 Helm chart for kubernetes
  • what are you trying to achieve: In Helm chart, how do I change the default admin password without exposing a password in the values.yaml file to be checked into source control? was looking for some equivalent to postgresql.existingSecret that lets me point to an existing secret instead of hardcoding the secret in a values.yaml file.
  • what have you tried so far to achieve this: searched this readme

Hi @tle ,

Currently, the new admin password can only be set through the values.yaml in the helm chart.
The use case of having the possibility to set the password outside of the values.yaml file for security reasons is relevant, so I have created an improvement ticket on our side.

2 Likes

Curious if anyone has successfully copied down the helm chart source for this and updated it to use an existing secret for this use case. If so, can you point me either your source or snippet of how you got it working?