Skip to content

Commit

Permalink
fix: crds dry run panic
Browse files Browse the repository at this point in the history
  • Loading branch information
hysyeah committed Nov 6, 2024
1 parent 9d93a6b commit 018136b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/validate/validate_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 018136b

Please sign in to comment.