Advisor: Add mock checks to standalone setup (#113406)

This commit is contained in:
Andres Martinez Gotor
2025-11-05 10:33:45 +01:00
committed by GitHub
parent 1bd5b29963
commit 2e507d5042
13 changed files with 378 additions and 7 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ func main() {
KubeConfig: rest.Config{}, // this will be replaced by the apiserver loopback config
ManifestData: *apis.LocalManifest().ManifestData,
SpecificConfig: checkregistry.AdvisorAppConfig{
CheckRegistry: &mockchecks.CheckRegistry{},
CheckRegistry: mockchecks.New(),
PluginConfig: map[string]string{},
StackID: "1", // Numeric stack ID for standalone mode
OrgService: nil, // Not needed when StackID is set