Skip to content

Commit

Permalink
Merge pull request #252 from jimmidyson/jimmi/fix-oci-ca-logic
Browse files Browse the repository at this point in the history
🐛 Fix OCI client configuration logic
  • Loading branch information
k8s-ci-robot authored Jun 3, 2024
2 parents 5eb79f5 + d949b28 commit a95e8c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/helm_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ func (c *HelmClient) InstallHelmRelease(ctx context.Context, restConfig *rest.Co

// newDefaultRegistryClient creates registry client object with default config which can be used to install/upgrade helm charts.
func newDefaultRegistryClient(credentialsPath string, enableCache bool, caFilePath string, insecureSkipTLSVerify bool) (*registry.Client, error) {
if caFilePath == "" || !insecureSkipTLSVerify {
if caFilePath == "" && !insecureSkipTLSVerify {
opts := []registry.ClientOption{
registry.ClientOptDebug(true),
registry.ClientOptEnableCache(enableCache),
Expand Down

0 comments on commit a95e8c5

Please sign in to comment.