Using Ingress paths to show UI in Kubernetes #1691
Unanswered
mkoziel2000
asked this question in
Help
Replies: 1 comment 2 replies
|
After submitting this discussion, I found a SEQ_BASE_URI environment variable that gets me the path rewrite behavior I was looking for. Looks like its also exposed in the helm chart values.yaml as "baseUri:"...I totally missed this when reviewing the chart. It seems to allow the UI to render properly when ingress paths are used instead of specifying unique DNS host names. I did have to add a configuration-snippet to the ingress to get everything to work if the url was missing a trailing slash in its path, but adding that in addition to the baseUrl environment variable seem to clear everything up: ingress.yaml - |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Instead of creating multiple external DNS addresses for each seq instance we deploy, we'd like to avoid getting IT involved every time we want to create a temp instance of seq by using ingress pathing to discern one temporary seq install from another (https://mydomain/joeprivate/seq vs https://mydomain/sueprivate/seq). Using ingress paths is our general pattern for how we've done this with other services. We leverage the nginx.ingress.kubernetes.io/x-forwarded-prefix annotation in ingress definition to allow our UI services to apply the appropriate base paths to URLs it constructs for the browser. It seems the seq UI doesn't adhere to this. Instead, we see it dropping the last part of the path when it constructs URL paths to be sent to the client browser.
Is there anyway we can do with this pathing or do we need to expose every instance of seq as a DNS record?
All reactions