mirror of
https://github.com/helm/helm.git
synced 2026-05-28 04:35:48 -04:00
fix: set repo authorizer in registry.Client.Resolve()
Signed-off-by: Eric Stroczynski <estroczynski@nvidia.com> Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
This commit is contained in:
parent
ee80c32c17
commit
ffbc53723a
1 changed files with 1 additions and 0 deletions
|
|
@ -885,6 +885,7 @@ func (c *Client) Resolve(ref string) (desc ocispec.Descriptor, err error) {
|
|||
return desc, err
|
||||
}
|
||||
remoteRepository.PlainHTTP = c.plainHTTP
|
||||
remoteRepository.Client = c.authorizer
|
||||
|
||||
parsedReference, err := newReference(ref)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue