Hey everyone! I'm having a bit of a conundrum with accessing the Harbor UI after I installed it using Helm. I ran the command `helm repo add harbor https://helm.goharbor.io`, and everything seemed to install just fine. I set up a NodePort to access it through the master node's IP, and the default login credentials are supposed to be `admin:Harbor12345`. Unfortunately, I'm receiving an 'invalid username or password' error when I try to log in. I even tried resetting the password with the command: `kubectl -n harbor get secret harbor-core -o jsonpath="{.data.HARBOR_ADMIN_PASSWORD}" | base64 --decode`, but that password didn't work either. I'm really stuck here. What am I missing?
5 Answers
It might be worth checking your database connection. If the connection is failing, it could cause authentication issues. Ensure the database has created the necessary tables and users, and check the logs of the core pod for potential errors.
Just a heads up: make sure you're accessing the web UI using the correct baseURL. If that's not set right, it can lead to issues loading the UI properly.
I faced a similar issue too, and it turned out I needed to set the baseUrl for the NodePort service to work correctly. If you share your full values file, we might be able to spot the problem.
Have you checked the network tools or pod logs during your login attempts? Sometimes Harbor needs specific routing, and if traffic isn’t aligned with a single URL, you might get a false ‘wrong password’ error. It's a bit of a red herring. Also, switching log output from a PVC to stdout can make deployments roll out smoothly instead of getting stuck with PVCs as the default.
I had the same problem too before! Deploying Harbor with SSL made a huge difference for me. After setting it up, I could log in to the UI without any issues.

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically