It looks like there are API changes in newer K8s versions for PodDisruptionBudget resources. We get the following error when trying to install on k8s v1.25+
error: resource mapping not found for name: "imageswap-pdb" namespace: "imageswap-system" from "/Users/phenixblue/GIT/github/tmp/imageswap-webhook/deploy/install.yaml": no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
ensure CRDs are installed first
What you expected to happen:
Install cleanly
How to reproduce it (as minimally and precisely as possible):
What happened:
It looks like there are API changes in newer K8s versions for PodDisruptionBudget resources. We get the following error when trying to install on k8s v1.25+
What you expected to happen:
Install cleanly
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
kubectl version
):