-
Notifications
You must be signed in to change notification settings - Fork 39.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
Make docker-email
optional when create registry secret
#41727
Comments
Agree it should not be required |
Automatic merge from submit-queue (batch tested with PRs 42316, 41618, 42201, 42113, 42191) Make 'docker-email' optional on dockercfg secrets It is not required for most username/password registries. Fixes #41727
Did this change get reverted? I do not see |
I feel that this code should be changed because "--docker-email flag" is no longer required. |
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. remove docker-email from required args for "create secret docker-registry" Completes #42191 While that removed `docker-email` as required from the generator, the CLI still asserts the presence of the argument resulting in "error: flag docker-email is required" when `--docker-email` is omitted from a `kubectl create secret docker-registry` call. Comments on the original issue (#41727) note that this change is still needed to accomplish the original intent.
error: flag docker-email is required. |
The |
Why is this closed? As far as I can see it is still required? |
Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see http://kubernetes.io/docs/troubleshooting/.):
What keywords did you search in Kubernetes issues before filing this one? (If you have found any duplicates, you should instead reply there.):
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
Kubernetes version (use
kubectl version
):Environment:
uname -a
):What happened:
When I create a docker registry secret, the
docker-email
is also a MUST, I think we should make this parameter as optional as there is no need always putdocker-email
when creating a docker registry secret.What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:
The text was updated successfully, but these errors were encountered: