We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
kubectl delete <CRD> <CR>
"there is no content to decode"
#1762 #1765
The text was updated successfully, but these errors were encountered:
I encountered the same problem as in #1762. When I delete the CR, the error "there is no content to decode" is returned from the mutating webhook.
The only difference is that I registered webhook for CR in the following way:
return ctrl.NewWebhookManagedBy(sm.runtimeMgr). For(&xxx.CR{}). WithDefaulter(sm). WithValidator(sm). Complete()
Then I found that the bug was only solved in the handler of interface Defaulter, but not in interface CustomDefaulter.
Defaulter
CustomDefaulter
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Version
Reproduce
kubectl delete <CRD> <CR>
, and get error message"there is no content to decode"
.Reference
#1762
#1765
The text was updated successfully, but these errors were encountered: