Create secret with invalid base64 data gives unhelpful error message #10309
Labels
area/kubectl
priority/backlog
Higher priority than priority/awaiting-more-evidence.
sig/api-machinery
Categorizes an issue or PR as relevant to SIG API Machinery.
This works:
kubectl create -f examples/secrets/secret.yaml
But, modify one of the base64 encoded fields to be invalid (such as by adding an extra
=
at the end), and try again. You get this error message which is completely unhelpful:error: no objects passed to create
.The text was updated successfully, but these errors were encountered: