admiral
admiral copied to clipboard
Update CRD to use apiextensions.k8s.io/v1
As of K8s 1.22 the apiextensions.k8s.io/v1beta1 is deprecated and longer used, which causing issues to install on K8s running on version 1.22
This is PR is to address and update to use the newer apiextensions.k8s.io/v1
The apiextensions.k8s.io/v1 API version, available since v1.16.
#228 #218
@alexdotsh Thanks for the PR. This looks good, would you mind auditing other resources under the admiral/install directory for other resources that would have been deprecated in k8s 1.22.
FYI, there is another PR to update the k8s client in Admiral which might
also be required for Admiral to work for k8s 1.22 CC @shriramsharma
@aattuluri those were the only ones I manage to find that was deprecated. I think the rest are fine
@alexdotsh , can you please resolve the CI failures? Thanks