travisghansen / external-auth-server

easy auth for reverse proxies
MIT License
330 stars 44 forks source link

Migrating from ingress networking.k8s.io/v1beta1 to /v1 #127

Closed runningman84 closed 3 years ago

runningman84 commented 3 years ago

Please update your chart, right now it is not working with k8s 1.22 or newer:

https://blog.hycorve.com/migrating-from-ingress-networking-k8s-io-v1beta1-to-v1/

travisghansen commented 3 years ago

Should be easy enough.

runningman84 commented 3 years ago

https://github.com/travisghansen/external-auth-server/pull/128

kettenbach-it commented 3 years ago

This is important for me, too. Google has already notified me by mail, that I need to do something, since 1.22 is coming in March 2022. Traefik tells it, too:

traefik-jpn7k traefik 2021-10-18T09:06:18.257320281+02:00 W1018 07:06:18.254790       1 warnings.go:70] extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
traefik-jpn7k traefik 2021-10-18T09:07:37.982934369+02:00 W1018 07:07:37.982744       1 warnings.go:70] networking.k8s.io/v1beta1 IngressClass is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 IngressClassList
traefik-xj4b8 traefik 2021-10-18T09:07:40.104685652+02:00 W1018 07:07:40.104521       1 warnings.go:70] extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
traefik-p8n8p traefik 2021-10-18T09:07:59.168758145+02:00 W1018 07:07:59.168617       1 warnings.go:70] networking.k8s.io/v1beta1 IngressClass is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 IngressClassList
traefik-xj4b8 traefik 2021-10-18T09:09:00.352198795+02:00 W1018 07:09:00.351970       1 warnings.go:70] networking.k8s.io/v1beta1 IngressClass is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 IngressClassList

Stupid question: how can I find out, which deployments use the networking.k8s.io/v1beta1 api without searching through all my yaml files? Can I query the API?

travisghansen commented 3 years ago

Thanks for the work @runningman84 ! We'll discuss on the PR a little and get it merged.

travisghansen commented 3 years ago

OK, version 0.2.0 has been published. Most notably the ingress block has breaking changes to be sure to review that. Otherwise all else should be the same.

Give it a try and report back here your experiences please!

runningman84 commented 3 years ago

It works great from my experience...