Closed framctr closed 1 month ago
When Harbor starts it populates the DB record with the admin password setting. Therefore, any changes afterwards will not take effect. You'll need to update admin password via UI or API.
@ framctr Can you provide the deployment environment and configuration files? After successful deployment on my end, I am unable to log in directly. My k8s is version 1.28
@reasonerjt thank you. I missed that information.
I deployed Harbor successfully on Kubernetes and everything is working fine. However, I cannot change the default admin password from the chart values.
I tried adding the
harborAdminPassword: ""
to force using password from secret, but it does not work.After applying changes, Harbor restart all containers, with the
core
one loading the admin password from the secret, but Harbor keeps default password when logging in from the dashboard.Note: Harbor password is built according to the required rules (8-128 characters long with at least 1 uppercase, 1 lowercase and 1 number)
The admin password can be changed only from dashboard or from accessing the PostgreSQL DB directly with
psql
.