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
Not able to set the default ingressClassName when user creates issuer using class tag. #6897
Comments
Hey, thanks for sharing this! I assume that you are referring to the alert introduced in OpenShift 4.12. I wasn't aware of this warning. I found an explanation as to why this warning exists in transition-ingress-from-beta-to-stable.md:
Right now, cert-manager has three different "modes":
I imagine that you are referring to (3). (3) is necessary for backwards compatibility reasons: a while back, some ingress controllers were picking up Ingresses by default. This is still how ingress-gce operates.
If we were to add a "default" Before continuing, can you explain what prevents users from setting |
@maelvls Firstly user has to add any one of The main issue arises is that in cases of these alerts there are some cascading effects like re-issuing the certificate and restarting the ingress. I think can we add Please correct me if I am wrong. |
Defaulting the field The problem is that Does it make sense? |
I met with Anirudh this morning. Here are the notes I took from our meeting:
Actions:
|
The alert IngressWithoutClassName was introduced to Cluster. whether Ingress objects would exist without an ingressClassName specified. Given that without an ingressClassName specified, it's not clear what the ingress object is supposed to do, it's vital that alerting is taking place and actions are taken to set the ingressClassName properly for each ingress object.
And as the Ingress resources without a
spec.ingressClassName
are generated by the Cert-Manager.I request that Cert-Manager should be fixed to create its resolver Ingress resources with a
spec.ingressClassName
defined."Describe the bug:
We can create an Ingress without having IngressClassNAme specified. I am getting alerts messages that ingress Exists without IngressClassName Specified.
I propose that we can add default ingressClassName to issuer if ingressClassName is not specified.
Expected behaviour:
It should Set default ingressClassName if ClassName is not specified.
/kind bug
The text was updated successfully, but these errors were encountered: