From e4ed63ac9562daea19041e9c43d26f82b95eb03a Mon Sep 17 00:00:00 2001 From: liujian <54946465+redscholar@users.noreply.github.com> Date: Wed, 12 Mar 2025 15:53:49 +0800 Subject: [PATCH] Update util.go (#6423) Signed-off-by: liujian <54946465+redscholar@users.noreply.github.com> --- pkg/controller/core/util.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/controller/core/util.go b/pkg/controller/core/util.go index bc295b7b6..9f7ff7bcf 100644 --- a/pkg/controller/core/util.go +++ b/pkg/controller/core/util.go @@ -303,6 +303,7 @@ func configChanged(sub *corev1alpha1.InstallPlan, cluster string) bool { func createHelmCredential(repo *corev1alpha1.Repository) (helm.RepoCredential, error) { cred := helm.RepoCredential{ InsecureSkipTLSVerify: repo.Spec.Insecure, + CABundle: repo.Spec.CABundle, } if repo.Spec.BasicAuth != nil { cred.Username = repo.Spec.BasicAuth.Username