-
Notifications
You must be signed in to change notification settings - Fork 38.6k
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
Make thirdparty codec able to decode DeleteOptions #37328
Make thirdparty codec able to decode DeleteOptions #37328
Conversation
@deads2k @smarterclayton could you help review it? |
Removing label |
I wonder why gvk was set as the default - doesn't make much sense. |
@brendandburns is it intentional to set gvk as the default? You are the original author. Thank. |
Oh, I see what is happening. You need to check the defaulting GVK (if not nil) and send it onwards only if it doesn't point to your group.
In this case you know that the nested delegate cannot recognize your group (the TPR group) so no defaulting should be possible. That's the safer change, since defaulting for something like a |
54a6318
to
58e8fde
Compare
You are right. Updated. PTAL. Thanks. |
58e8fde
to
c0e3790
Compare
Jenkins GKE smoke e2e failed for commit 58e8fde5e68298abe48dc06cb82d24b90450f87e. Full PR test history. The magic incantation to run this job again is |
Jenkins GCE Node e2e failed for commit 58e8fde5e68298abe48dc06cb82d24b90450f87e. Full PR test history. The magic incantation to run this job again is |
Jenkins Kubemark GCE e2e failed for commit 58e8fde5e68298abe48dc06cb82d24b90450f87e. Full PR test history. The magic incantation to run this job again is |
Jenkins verification failed for commit 58e8fde5e68298abe48dc06cb82d24b90450f87e. Full PR test history. The magic incantation to run this job again is |
Jenkins CRI GCE Node e2e failed for commit 58e8fde5e68298abe48dc06cb82d24b90450f87e. Full PR test history. The magic incantation to run this job again is |
@k8s-bot kubemark e2e test this |
@k8s-bot cvm gce e2e test this |
@k8s-bot kubemark e2e test this |
@k8s-bot cvm gce e2e test this |
Jenkins kops AWS e2e failed for commit c0e3790f848b6987ee1ef4c0269d5884ff7d7145. Full PR test history. The magic incantation to run this job again is |
Jenkins GCE e2e failed for commit c0e3790f848b6987ee1ef4c0269d5884ff7d7145. Full PR test history. The magic incantation to run this job again is |
c0e3790
to
6534661
Compare
Rebased. Didn't change anything. Adding back the lgtm. |
Jenkins GCE etcd3 e2e failed for commit 6534661. Full PR test history. The magic incantation to run this job again is |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue (batch tested with PRs 37328, 38102, 37261, 31321, 38146) |
Commit found in the "release-1.5" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked. |
…de DeleteOptions) Hopefully this allows us to delete namespaces again.
Fix #37278.
Without this PR, the gvk sent to the delegated codec will be the thirdparty one, which is not recognized by the delegated codec (usually api.Codecs).
This change is