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

Handle dockerhub secrets special case. Allow optional protocol. #1674

Merged
merged 1 commit into from
Apr 19, 2020

Conversation

absoludity
Copy link
Contributor

Ref: #1617 . Updates the imagePullSecret injection in the post renderer for two cases:

  • Dockerhub images use "docker.io" as the registry domain in the image ref (docker's reference library even adds it as such), while the credential in docker configs must be keyed with "https://index.docker.io/v1/".
  • general registry domains in the docker credentials can be listed with or without an explicit protocol (https), so we update to append the imagePullSecret as long as the domain itself matches.

@absoludity absoludity requested a review from andresmgot April 17, 2020 04:38
@absoludity absoludity merged commit 06e4f3a into master Apr 19, 2020
@absoludity absoludity deleted the fix-credential-check branch April 19, 2020 22:40
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

Successfully merging this pull request may close these issues.

2 participants