-
Notifications
You must be signed in to change notification settings - Fork 370
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
Add apiVersion and kind for unstructured objects in "antctl mc" code #5138
Conversation
/test-multicluster-e2e |
1 similar comment
/test-multicluster-e2e |
@luolanzone : could we fix the Kind tests? |
Fix a deletion error during rollback if any `antctl mc` command is failed. ``` Failed to delete kube-system/test-clusterset: Object 'Kind' is missing in 'unstructured object has no kind' ``` apiVersion and kind are required fields in unstructured object to do deletion but `DefaultUnstructuredConverter.ToUnstructured` will not convert them automatically. Signed-off-by: Lan Luo <[email protected]>
9dba25e
to
b0aad6f
Compare
@jianjuns the kind tests are all passed after a force push. Could you help to move forward? Thanks. |
/skip-all |
/test-multicluster-e2e |
|
/test-multicluster-e2e |
1 similar comment
/test-multicluster-e2e |
Fix a deletion error during rollback after an
antctl mc
command failed.apiVersion and kind are required fields in unstructured object to do deletion,
but
DefaultUnstructuredConverter.ToUnstructured
will not convert themautomatically.