Skip to content

Commit 2b87ef7

Browse files
committed
helm: Skip setting TLSLoginOption
Signed-off-by: Stefan Prodan <[email protected]>
1 parent 326a22a commit 2b87ef7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

internal/helm/getter/client_opts.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -215,15 +215,15 @@ func configureOCIRegistryWithSecrets(ctx context.Context, obj *sourcev1.HelmRepo
215215
tlsSecret = authSecret
216216
}
217217

218-
certFile, keyFile, caFile, err := storeTLSCertificateFilesForOCI(ctx, tlsSecret, nil, tempCertDir)
218+
_, _, _, err := storeTLSCertificateFilesForOCI(ctx, tlsSecret, nil, tempCertDir)
219219
if err != nil {
220220
return "", fmt.Errorf("cannot write certs files to path: %w", err)
221221
}
222222

223-
tlsLoginOpt := registry.TLSLoginOption(certFile, keyFile, caFile)
224-
if tlsLoginOpt != nil {
225-
opts.RegLoginOpts = append(opts.RegLoginOpts, tlsLoginOpt)
226-
}
223+
//tlsLoginOpt := registry.TLSLoginOption(certFile, keyFile, caFile)
224+
//if tlsLoginOpt != nil {
225+
// opts.RegLoginOpts = append(opts.RegLoginOpts, tlsLoginOpt)
226+
//}
227227
}
228228

229229
return tempCertDir, nil

0 commit comments

Comments
 (0)