Skip to content
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

Issue with k8s.io/docs/tasks/configure-pod-container/pull-image-private-registry/ #9401

Closed
1 task
gkaleta opened this issue Jul 6, 2018 · 3 comments
Closed
1 task

Comments

@gkaleta
Copy link

gkaleta commented Jul 6, 2018

This is a...

  • Feature Request
  • [x ] Bug Report

Problem:
kubectl get secret regcred --output="jsonpath={.data..dockerconfigjson}" | base64 -d

Proposed Solution:
Should be with capital D
kubectl get secret regcred --output="jsonpath={.data..dockerconfigjson}" | base64 -D

Page to Update:
https://kubernetes.io/...

@jimangel
Copy link
Member

jimangel commented Jul 6, 2018

@gkaleta what OS version are you using? It seems like -d works on ubuntu and -D is not allowed.

:~# cat encrypted-file | base64 -D
base64: invalid option -- 'D'
Try 'base64 --help' for more information.
:~# cat encrypted-file | base64 -d
<works>

We can look at adding a flag to warn users.

Edit: I did find this online "Note: if on OS X, use capital D" - can you confirm?

@gkaleta
Copy link
Author

gkaleta commented Jul 16, 2018

Sorry for the late reply - i am running MacOS. I need to use capital D

@bradtopol
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants