Skip to content

Conversation

@tyranron
Copy link
Contributor

@tyranron tyranron commented Jul 6, 2022

Found the current setup not working okay out-of-the-box.

Having the following values:

ingress:
  enabled: yes
  hosts: ["my.domain.tld"]
  paths: ["/cockroach/"]

Returns 404 error on accessing http://my.domain.tld/cockroach/. I think this is due to Admin UI doesn't work OK under sub-path.

Editing the Ingress resource manually to have the following:

# ...
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /$1
# ...
        paths:
          - path: /cockroach/(.*)
            pathType: ImplementationSpecific
# ...

does solve the issue, and Admin UI opens OK.

Unfortunately, the pathType cannot be specified from the Helm values at the moment, which this PR tries to fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant