I am trying to create a docker-registry secrete for GCR, but am getting a really cryptic error message. This is the kubectl cmd that I am running:
kubectl create secret docker-registry gcrsecret --docker-username=_json_key --docker-password=”$(cat wk-test-1-b3c9659d9a07.json)” --docker-server=https://gcr.io --docker-email=rynslmns@gmail.com
But it is erroring out with the following error message:
error: exactly one NAME is required, got 26
Any thoughts? I am not seeing anything obvious in the documentation.