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

"jsctl registry auth output --format=dockerconfig" can be simplified #96

Open
amcginlay opened this issue Mar 7, 2023 · 0 comments
Open

Comments

@amcginlay
Copy link

jsctl registry auth output --format=dockerconfig produces a JSON object with four attributes: username, password, email and auth. Both password and auth are derived from the contents of ~/.jsctl/eu.gcr.io--jetstack-secure-enterprise.json making the resultant JSON look more complicated than it actually is. That would be fine if this complexity served an identifiable purpose.

Given that auth and password are equivalent, I suspected that one was not strictly needed to gain access to the private registry. This suspicion appears to be correct and the password attribute is indeed surplus to requirements.

You can (IMO should) remove the password attribute from the result of jsctl registry auth output --format=dockerconfig.

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

1 participant