diff --git a/pkg/action/action.go b/pkg/action/action.go index 4f100f833..3caf91b71 100644 --- a/pkg/action/action.go +++ b/pkg/action/action.go @@ -20,6 +20,7 @@ import ( "bytes" "fmt" "io" + "log/slog" "os" "path" "path/filepath" @@ -376,7 +377,7 @@ func (cfg *Configuration) recordRelease(r *release.Release) { // Init initializes the action configuration func (cfg *Configuration) Init(getter genericclioptions.RESTClientGetter, namespace, helmDriver string, log DebugLog) error { kc := kube.New(getter) - kc.Log = log // TODO: Switch to slog compatible logger + kc.Log = kube.NewSlogAdapter(slog.Default()) lazyClient := &lazyClient{ namespace: namespace,