Replies: 2 comments 1 reply
-
I have the exact same problem, have you found a solution? |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is what worked for me:
And also not forgetting to delete the harbor-portal pod in order for the changes in the configmap to become effective. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am trying to install harbor using "harbor-helm" chart. I want to serve "harbor portal" on custom path e.g. ( https://monitoring.example.com/harbor/ ), but it is not working & throwing errors.
My stack looks like this:
GKE cluster + custom nginx proxy (with custom nginx config and daemonset, not ingress) + https (which will be terminated at nginx level) + "harbor-helm" chart.
Harbor Helm Chart values.yaml looks like this:
After helm install, when I port-forwarded the service and harbor-portal is loading in browser properly, means service is running fine at root url ("/").
kubectl port-forward svc/harbor-portal -n harbor 7000:80
light-theme.css?buildTimestamp=1661659968787 net::ERR_ABORTED 404 (Not Found)
looks like harbor-portal angular app base path url rewriting not working properly with nginx.
same nginx "server and location context" is working fine for other solutions (like grafana, prometheus etc.)
I saw similar post:
Harbor Portal on Path instead of domain root. harbor#16031
I tried nginx configuration mentioned there (ingress doesn't apply to me), but it is not working for me.
Anyone can help, how to serve "harbor-portal" through custom path based routing (like "/harbor" instead of root "/") ?
Beta Was this translation helpful? Give feedback.
All reactions