From 018136b760cc55adc1653378039597742f1308fc Mon Sep 17 00:00:00 2001 From: hys Date: Wed, 6 Nov 2024 14:54:25 +0800 Subject: [PATCH] fix: crds dry run panic --- internal/validate/validate_rule.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/validate/validate_rule.go b/internal/validate/validate_rule.go index f6e063e..967e75c 100644 --- a/internal/validate/validate_rule.go +++ b/internal/validate/validate_rule.go @@ -199,6 +199,7 @@ func actionConfig() (*action.Configuration, error) { KubeClient: &kubefake.FailingKubeClient{PrintingKubeClient: kubefake.PrintingKubeClient{Out: ioutil.Discard}}, Capabilities: chartutil.DefaultCapabilities, RegistryClient: registryClient, + Log: func(s string, i ...interface{}) {}, } return &configuration, nil }