We have a bunch of GKE clusters on GCP that are unable to upgrade as Rancher is making calls to an API (/apis/policy/v1beta1/podsecuritypolicies) that's deprecated in K8s version 1.25. I have run the kubectl command under "i. See which PSPs are still active in your cluster:" here[0] (returns nothing) and I have upgraded Rancher with the global.cattle.psp.enabled switch set to false yet Rancher keeps calling the API. Does someone have an idea what exactly it is I'm supposed to do to make it stop calling that API?
There is one PSP policy that GKE has previously added that GKE will delete when it upgrades to 1.25 (according to Google I should not try to get rid of it myself). PSP is not active but maybe the existence of that policy is causing Rancher to make those calls? Perhaps I can just force GKE to upgrade and hopefully Rancher will continue to function?
[0]
https://ranchermanager.docs.rancher.com/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/pod-security-standards