You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ingresses of the console and the api server should work properly, managing HTTPS requests from the outside and proxy them to the HTTPS minio backend service.
Current Behavior
Using minio-operator and minio-tenant v6.0.4, both installed with helm.
After the latest upgrade of Nginx Ingress Controller to the application version 1.12.0, we are encountering issues with the annotations specified here https://github.com/minio/operator/blob/master/docs/nginx-ingress.md, that are the following:
Issuing a request towards an ingress configured in this way, now return a 404 error from nginx. The Nginx Ingress Controller doesn't log any specific error, other then the warning: annotation group ConfigurationSnippet contains risky annotation based on ingress configuration
It's not clear which one of those annotations cause this malfunction, and I'm not sure if they're all necessary for the correct functioning of minio.
Possible Solution
After understanding which nginx annotations are causing the issue, removing or editing some of them should fix the problem
Steps to Reproduce (for bugs)
Remove all those annotations, the Ingress is able to contact the backend minio service, responding:
"Client sent an HTTP request to an HTTPS server."
Add all the annotations again, the Ingress continues to work, still responding
"Client sent an HTTP request to an HTTPS server."
Which is weird since now there's the nginx.ingress.kubernetes.io/backend-protocol: HTTPS annotation there.
I was experiencing the same error, and was able to fix it by escalating the allowed risk level of the ingress annotations in nginx-ingress. This appears as following line in the ingress controller configuration: annotations-risk-level: "Critical". After this the warning about the risky annotation is also gone.
Hi @hannesr, thank you very much for your help. It works!
I added the annotation you specified, and the ingresses are now accepted by the Ingress Controller.
So I can finally access the backends through them again.
Expected Behavior
The ingresses of the console and the api server should work properly, managing HTTPS requests from the outside and proxy them to the HTTPS minio backend service.
Current Behavior
Using minio-operator and minio-tenant v6.0.4, both installed with helm.
After the latest upgrade of Nginx Ingress Controller to the application version 1.12.0, we are encountering issues with the annotations specified here https://github.com/minio/operator/blob/master/docs/nginx-ingress.md, that are the following:
Issuing a request towards an ingress configured in this way, now return a 404 error from nginx. The Nginx Ingress Controller doesn't log any specific error, other then the warning:
annotation group ConfigurationSnippet contains risky annotation based on ingress configuration
It's not clear which one of those annotations cause this malfunction, and I'm not sure if they're all necessary for the correct functioning of minio.
Possible Solution
After understanding which nginx annotations are causing the issue, removing or editing some of them should fix the problem
Steps to Reproduce (for bugs)
"Client sent an HTTP request to an HTTPS server."
"Client sent an HTTP request to an HTTPS server."
Which is weird since now there's the
nginx.ingress.kubernetes.io/backend-protocol: HTTPS
annotation there.Now you finally receive an Access Denied from the actual minio backend.
Add again all the other annotation and it should continue to work fine.
Context
Both Minio backend and console are not accessible from the outside
Your Environment
k8s version: 1.31
minio-operator and minio-tenant versions: v6.0.4, both installed with helm
Nginx Ingress Controller version: 1.12.0
The text was updated successfully, but these errors were encountered: