-
Notifications
You must be signed in to change notification settings - Fork 732
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
Add ingressClassName to ArgoCDIngressSpec #626
Comments
Hi @sagikazarmark , I was about raise the similar issue. Thanks :) Yes, Ingress Class annotation is deprecated(never formally support) and moved to IngressClassName in the spec. I would like to see the below.
@sagikazarmark Do we agree on the above ? |
@sagikazarmark you have shown interest in working on this issue. Please let me know if you would like me to assign this to you. Thanks :) |
@iam-veeramalla Yep, I'm happy to take this one. A couple notes though:
This would be a breaking change. Is that acceptable? |
Also, I'd rather classify this as an enhancement, not necessarily a bug. My two cents. |
@sagikazarmark how about having nginx as default and allow users to configure a custom one through CRD ? If a custom Ingress controller is configured through CRD, we can remove the default Nginx. That way this wouldn't be a breaking change. |
Well, it's not that simple unfortunately. When the It would certainly be a reasonable expectation that the Ingress configuration for the CRD works the same way (which contradicts with the current behavior). To be clear: I think breaking the current behavior is the easiest solution here (especially because not everyone uses nginx as their ingress controller, so one could argue this opinionated default doesn't make much sense in the first place). An alternative I can imagine is introducing a temporary switch, like |
@sagikazarmark I would agree with you. The current behavior would not work down the line anyways as it is deprecated annotation. We can mention about the annotation removal in the release notes and also steps to configure the new Ingress Class. |
Ok. I'll get to work. |
@iam-veeramalla please see the linked PR. |
Hi @sagikazarmark Hope you are doing well. Just curious, would this change resolve the issue mentioned here #603 Thank you for your support :) |
@bitvijays I don't think it's related. |
Is your feature request related to a problem? Please describe.
The
kubernetes.io/ingress.class
annotation is deprecated and replaced by theingressClassName
parameter in the latest ingress spec.Describe the solution you'd like
Allow setting
ingressClassName
inArgoCDIngressSpec
. SettingingressClassName
should override any defaults that might be set currently.Additional context
I'm happy to work on this feature if we agree on the details.
The text was updated successfully, but these errors were encountered: