SQ installed via Helm Chart 2025.1.0 - change admin user password container failed

Installed SQ community build 2025.1.0 from helm chart: Sonarsource Chart Repository into ArgoCD.

I configured my SQ application for an admin user password secret with
setAdminPassword.passwordSecretName.

A pod try to comes up with this curl command to change the admin user password:

until curl -v --connect-timeout 100 sonarqube-sonarqube:9000/api/system/status | grep -w UP; do sleep 10; done; curl -v --connect-timeout 100 -u admin:$CURRENT_ADMIN_PASSWORD -X POST “sonarqube-sonarqube:9000/api/users/change_password?login=admin&previousPassword=$CURRENT_ADMIN_PASSWORD&password=$ADMIN_PASSWORD”

This curl crashes when the password contains brackets [d] , because curl think of IPv6 Addresses of it. The passwords have to be url encoded, what is missing.

Please fix this in a future version.

Fun fact:
If you change the admin user password with the helm values

setAdminPassword.currentPassword
setAdminPassword.newPassword

it’s working different - no password change container is coming up, but the password ist still changed - strange inconsistency.

1 Like

Hey @frankleja

Thanks for the report.

I think this should have been fixed in SONAR-25075, and was released as a part of the 2025.3.0 chart (latest is 2025.4.2).

At this point I don’t believe we’ll backport it to 2025.1.