-
Notifications
You must be signed in to change notification settings - Fork 456
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
Tenant Helm Chart: Bucket DNS support incomplete #1796
Comments
|
Using just the wildcard expression may work depending on the Ingress Controller implementation. However, the Ingress specs explicitly state that |
By the way, it makes sense to automatically enable a wildcard host if bucket DNS is enabled. |
I didn't get your point. Ingress config with |
@stephan2012 I can see it will config with that |
For Ingresses,
There are two different topics here: Usually, a service like This issue addresses the other part: Configuring the Ingress Controller. To fully support Bucket DNS besides paths, we need two different host records in the Ingress: One is the canonical service name (e.g., |
Create an extra ingress rule for wildcard api host if dns feature is enabled. Need to configure the TLS block accordingly in values.yaml Fixes minio#1796
@stephan2012 I agree with the issue, I achieve to mitigate it using the extraResources features, but here is the PR who seems to fix the issue with a more elegant way. Here is my workaroud, with an example of nginx ingress controller:
|
Create an extra ingress rule for wildcard api host if dns feature is enabled. Need to configure the TLS block accordingly in values.yaml Fixes #1796
Thank you, @alistarle! 😃 |
Is your feature request related to a problem? Please describe.
The Tenant Helm chart supports enabling the
bucketDNS
feature but only provides the Ingress configuration for the canonical domain. Kubernetes Ingresses support wildcards in hostnames nowadays, so a wildcard endpoint should be configured besides the canonical one.Describe the solution you'd like
Add the wildcard hostname as the second path in the API Ingress.
Describe alternatives you've considered
There are no alternatives since the current implementation is semantically incomplete.
Additional context
Combined without automatic DNS configuration (e.g.,
external-dns
), the Helm chart heads towards a plug-and-play solution.Kindly let me know if you're interested in a PR.
The text was updated successfully, but these errors were encountered: