-
Notifications
You must be signed in to change notification settings - Fork 107
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
[deckhouse-controller] Fix auth data handling in change-registry helper #7095
Conversation
4db6f9e
to
c5db697
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems very risky, honestly. Because authn.AuthConfig
has some attributes (at least custom json.Marshaller) which is used in a certain pieces of the Deckhouse.
I don't think that it's a good idea to replace it in a such way
Filed a bug to the go-containerregistry team about problems with their JSON marshalling implementation for Until it's fixed we can use this PR as a workaround. @yalosev cc |
Signed-off-by: Maxim Vasilenko <maksim.vasilenko@flant.com>
c5db697
to
276c99a
Compare
🟢 Workflow detailsYandex.Cloud-WithoutNAT-Containerd-1.25 - Connection string: 🟢 |
Backport failed. See Job for details. |
…er (#7095) Signed-off-by: Maxim Vasilenko <maksim.vasilenko@flant.com> Co-authored-by: Maxim Vasilenko <maksim.vasilenko@flant.com> Signed-off-by: Timur Kamaev <timur.kamaev@flant.com>
…er (#7095) Signed-off-by: Maxim Vasilenko <maksim.vasilenko@flant.com> Co-authored-by: Maxim Vasilenko <maksim.vasilenko@flant.com>
…er (deckhouse#7095) Signed-off-by: Maxim Vasilenko <maksim.vasilenko@flant.com> Co-authored-by: Maxim Vasilenko <maksim.vasilenko@flant.com>
Description
Fixed a bug where helper would not properly marshal provided credentials for registry into the secret. Unit tests of
deckhouse-controller
are now enabled as part of CI pipeline.Why do we need it, and what problem does it solve?
This fixes a reported bug introduced with a
go-containerregistry
update.Why do we need it in the patch release (if we do)?
Checklist
Changelog entries