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

Change await logic client to use target apiVersion on update #1758

Merged
merged 2 commits into from
Oct 6, 2021

Conversation

lblackstone
Copy link
Member

@lblackstone lblackstone commented Oct 5, 2021

Proposed changes

Previously, the await logic used the previous apiVersion of a
resource to issue requests to the API server. In the case of
API changes, this could cause errors. Newer apiVersions should
be backward compatible, so switch to using the target apiVersion
of a resource instead.

Related issues (optional)

Fix #1668
Fix #1734

Previously, the await logic used the previous apiVersion of a
resource to issue requests to the API server. In the case of
API changes, this could cause errors. Newer apiVersions should
be backward compatible, so switch to using the target apiVersion
of a resource instead.
@github-actions
Copy link

github-actions bot commented Oct 5, 2021

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

@lblackstone lblackstone marked this pull request as ready for review October 5, 2021 20:08
@lblackstone
Copy link
Member Author

I confirmed that this change fixes both linked issues.

@github-actions
Copy link

github-actions bot commented Oct 5, 2021

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

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.

Error when switching Ingress from v1beta1 to v1 Cannot update apiVersion of apiextensions.CustomResource
2 participants