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

Infers common credential helper names from target registry. #64

Merged
merged 12 commits into from
Feb 8, 2018

Conversation

coollog
Copy link
Contributor

@coollog coollog commented Feb 6, 2018

Fixes #20

@coollog coollog added this to the 0.1.1 milestone Feb 6, 2018
@coollog coollog requested a review from loosebazooka February 6, 2018 22:36
@coollog
Copy link
Contributor Author

coollog commented Feb 6, 2018

Should release v0.1.1 after this is merged.

@coollog coollog mentioned this pull request Feb 6, 2018
} else if (registry.endsWith("amazonaws.com")) {
return "ecr-login";
}
// TODO: Add more common credential helpers.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: this TODO seems unnecessary.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is mostly as a note to add more inferences such as Azure's -acr-* credential helpers. Is it standard practice to not have a note like this?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, everyone uses them differently. I would think it's better to file a bug than leave this here, I tend to lose track of TODOs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Filed #79

@coollog coollog merged commit d6d9467 into master Feb 8, 2018
@coollog coollog deleted the infer-credential-helper branch February 8, 2018 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants