Closed olivierboucher closed 1 year ago
Thanks for reporting it @olivierboucher
Will this change fail on older k8s versions, or the old Ingresses will just be ignored?
Not sure of the exact behavior, I would test it but it's not possible to spawn clusters with 1.18 or lower on GKE anymore.
I don't know if the networking.k8s.io/v1
existed then.
Got it.
Please create the pr. Maybe we can test it on kind cluster or similar
@arikalon1 There you go. I was surprised to see that the dependency was so far behind.
Thanks @olivierboucher I'll review it shortly
released in 2.3
Hi,
Accessing ingresses through
extensions/v1beta1
is no longer possible since 1.22. Deprecation noticeThis means that the following code has to start using
networking.k8s.io/v1
https://github.com/robusta-dev/kubewatch/blob/55493a566b5c1ec65af7459e3ca7ed443d40b320/pkg/controller/controller.go#L494
However, by doing so we are breaking ingress support for people running 1.18 and lower.
Since people should have moved on from 1.18 a long time ago, I think it's fair enough to proceed.
Let me know and I can open a pull request pretty quickly