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

webhook: try to read the old .dockercfg key from the imagePullSecret as well #975

Merged
merged 1 commit into from
May 12, 2020

Conversation

bonifaido
Copy link
Member

@bonifaido bonifaido commented May 12, 2020

Signed-off-by: Nandor Kracser bonifaido@gmail.com

Q A
Bug fix? no
New feature? yes
API breaks? no
Deprecations? no
Related tickets fixes #969
License Apache 2.0

What's in this PR?

Try to read the old .dockercfg key from the imagePullSecret as well a fallback option, since some providers still use the old Docker authentication format. The old format is deprecated for a long time: moby/moby@18c9b6c

Why?

Additional context

Checklist

  • Error handling code meets the guideline
  • Logging code meets the guideline (TODO)

@bonifaido bonifaido requested a review from pbalogh-sa May 12, 2020 07:55
@bonifaido bonifaido self-assigned this May 12, 2020
…as well

Signed-off-by: Nandor Kracser <bonifaido@gmail.com>
@bonifaido bonifaido merged commit 0c3ace6 into master May 12, 2020
@bonifaido bonifaido deleted the dockercfg-key branch May 12, 2020 11:49
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.

Gitlab CI pipeline with vault-env / webhook
2 participants