-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
remove IsUnstructuredCRDReady #4085
remove IsUnstructuredCRDReady #4085
Conversation
76b864b
to
a58469f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - thanks! I'll approve again once the CI check is green (looks like a go fmt
issue).
This commit removes `IsUnstructuredCRDReady` since kubernetes/kubernetes#87675 is fixed. Is uses `Is1CRDReady` to check the readiness of CRD. After v1.7 we may consider merge the funcx `IsV1Beta1CRDReady` and `IsV1CRDReady` Signed-off-by: Daniel Jiang <jiangd@vmware.com>
a58469f
to
e23cbda
Compare
The upstream fixes this issue at Kubernetes 1.20+? |
@jenting So the version of k8s that velero server runs on should be irrelevant |
Okay, it's like fixed in k8s.io/apimachinery in 0.20.x version. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for removing this workaround.
@jenting Also, the associated test should fail if we ever pull in a version of kubernetes code without the fix -- the reproducing test was added when moving to the unstructured workaround. |
This commit removes `IsUnstructuredCRDReady` since kubernetes/kubernetes#87675 is fixed. Is uses `Is1CRDReady` to check the readiness of CRD. After v1.7 we may consider merge the funcx `IsV1Beta1CRDReady` and `IsV1CRDReady` Signed-off-by: Daniel Jiang <jiangd@vmware.com>
This commit removes `IsUnstructuredCRDReady` since kubernetes/kubernetes#87675 is fixed. Is uses `Is1CRDReady` to check the readiness of CRD. After v1.7 we may consider merge the funcx `IsV1Beta1CRDReady` and `IsV1CRDReady` Signed-off-by: Daniel Jiang <jiangd@vmware.com>
Please add a summary of your change
This commit removes
IsUnstructuredCRDReady
sincekubernetes/kubernetes#87675 is fixed.
It uses
Is1CRDReady
to check the readiness of CRD.After v1.7 we may consider merge the funcx
IsV1Beta1CRDReady
andIsV1CRDReady
Does your change fix a particular issue?
Fixes #4059
Please indicate you've done the following:
/kind changelog-not-required
.site/content/docs/main
.