admiral icon indicating copy to clipboard operation
admiral copied to clipboard

Update CRD to use apiextensions.k8s.io/v1

Open alexdotsh opened this issue 2 years ago • 3 comments

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 avatar Jul 21 '22 18:07 alexdotsh

@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 avatar Jul 25 '22 15:07 aattuluri

@aattuluri those were the only ones I manage to find that was deprecated. I think the rest are fine

alexdotsh avatar Aug 01 '22 08:08 alexdotsh

@alexdotsh , can you please resolve the CI failures? Thanks

shriramsharma avatar Sep 13 '22 00:09 shriramsharma