-
Notifications
You must be signed in to change notification settings - Fork 14.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
Invalid example manifest for .dockercfg
Secret
#48533
Comments
This issue is currently awaiting triage. SIG Docs takes a lead on issue triage for this website, but any Kubernetes member can accept issues by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/retitle Invalid example manifest for |
.dockercfg
Secret
/assign |
The existing yaml is working for me. I think the bug might not be in the example file. It might be a user error or something else. > kubectl create -f https://k8s.io/examples/secret/dockercfg-secret.yaml
secret/secret-dockercfg created |
/priority awaiting-more-evidence |
@Linda-sa, The dockercfg-secret.yaml is correct and I tried to create Secret from it and it is working fine for me also. Please find the observation below:
|
The yaml specification in creates the following error:
Error from server (BadRequest): error when creating "dock3.yaml": Secret in version "v1" cannot be handled as a Secret: illegal base64 data at input byte 76
The file yaml specification needs to be updated to the below (removing the pipe | from the yaml):
The text was updated successfully, but these errors were encountered: