Advisor: App installer setup (#113525)

This commit is contained in:
Andres Martinez Gotor
2025-11-12 15:32:21 +01:00
committed by GitHub
parent 6c512dabdc
commit d83c35fd71
25 changed files with 125 additions and 487 deletions
+4
View File
@@ -20,6 +20,10 @@ import (
)
func New(cfg app.Config) (app.App, error) {
// Needed until https://github.com/grafana/grafana-app-sdk/pull/1077
if cfg.KubeConfig.APIPath == "" {
cfg.KubeConfig.APIPath = "apis"
}
// Read config
specificConfig, ok := cfg.SpecificConfig.(checkregistry.AdvisorAppConfig)
if !ok {