Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update hack directory with new CRD API #102

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

anusha-ragunathan
Copy link

Kubernetes 1.22 deprecated the v1beta1 CRD API and replaced it with v1 CRD API. iam-manager's hack directory still uses the old API. Update that.

Note that this change is very specific about fixing the hack directory alone. There maybe more items that need the API upgrade. This change does not cover those.

Testing:
Before this change, using ./hack/install broke the iam-manager controller install. After this change, ./hack/install works fine.

Signed-off-by: Anusha Ragunathan [email protected]

Kubernetes 1.22 deprecated the v1beta1 CRD API and replaced it with
v1 CRD API. iam-manager's hack directory still uses the old API.
Update that.

Testing:
Before this change, using ./hack/install broke the iam-manager controller install.
After this change, ./hack/install works fine.

Signed-off-by: Anusha Ragunathan <[email protected]>
@anusha-ragunathan anusha-ragunathan requested a review from a team as a code owner October 20, 2022 19:34
@anusha-ragunathan anusha-ragunathan changed the title Update hack directory with new CRD API structure Update hack directory with new CRD API Oct 20, 2022
@nvandanapu
Copy link
Collaborator

@anusha-ragunathan Can you also update the manifests to v1 version? I was doing similar stuff on my PR https://github.com/keikoproj/iam-manager/pull/104/files (and later realized that this change in progress)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants