Skip to content
New issue

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

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

Already on GitHub? # to your account

Updates ingress definition with ingressClassName field #51

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

iceowlbeer
Copy link
Contributor

This PR adds the possibility of stating a name of a IngressClass in a field "ingressClassName".

Why?

I am getting the following warning when I deploy the ingresses with the annotation instead of the dedicated field from the spec

W1129 12:41:17.534196 143471 warnings.go:70] annotation "kubernetes.io/ingress.class" is deprecated, please use 'spec.ingressClassName' instead

See also https://kubernetes.io/docs/concepts/services-networking/ingress/#deprecated-annotation

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant