Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specify custom pathType in ingress.paths #255

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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