Open pchang388 opened 1 year ago
just a FYI - I was using chart version: 42.0.1
previously and setting the NEXUS_CONTEXT
env variable did nothing:
in the logs I saw:
2023-01-16 05:44:22,645+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder - nexus-context-path='/'
When I upgraded to 45.0.0
, it worked as expected and I saw:
*SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder - nexus-context-path='/nexus'
If you are seeing this same issue and wondering why it won't work, try upgrading. I did not see anyone mention this but at least in my current env/set up, this is what was also causing me issues. The 404 response issue mentioned in the first post still exists though, I haven't found the problem yet
Chart:
nexus-repository-manager
Chart version:45.0.0
Problem: When trying to configure nexus behind ingress-nginx with a base path (
/nexus
), I always get 404 when hitting the UI:I set the NEXUS_CONTENT env variable to:
I also set the liveness and readiness probes to match:
Ingress Rule:
But when accessing the UI, I can only see a 404 response. It appears I am missing some configuration or option, probably something simple I overlooked, does anyone have an idea by chance? This is usually straight forward with other apps and involves similar steps like seteting a ROOT_URL or path and then using ingress rules to add the path.
Any help is appreciated, thanks!