IAM Folder Reconciler: Make operator available as a target when running the grafana binary. (#110567)

This commit is contained in:
Mihai Turdean
2025-09-04 08:22:17 -06:00
committed by GitHub
parent 2760be6892
commit f1dffca140
8 changed files with 210 additions and 3 deletions

View File

@ -67,7 +67,7 @@ func main() {
// Create app config from operator config
appCfg := app.AppConfig{
ZanzanaCfg: cfg.ZanzanaClient,
ZanzanaClientCfg: cfg.ZanzanaClient,
FolderReconcilerNamespace: cfg.FolderReconciler.Namespace,
}

View File

@ -18,7 +18,7 @@ var appManifestData = app.ManifestData{
}
type AppConfig struct {
ZanzanaCfg authz.ZanzanaClientConfig
ZanzanaClientCfg authz.ZanzanaClientConfig
FolderReconcilerNamespace string
}
@ -33,7 +33,7 @@ func New(cfg app.Config) (app.App, error) {
}
folderReconciler, err := reconcilers.NewFolderReconciler(reconcilers.ReconcilerConfig{
ZanzanaCfg: appSpecificConfig.ZanzanaCfg,
ZanzanaCfg: appSpecificConfig.ZanzanaClientCfg,
KubeConfig: &cfg.KubeConfig,
FolderReconcilerNamespace: appSpecificConfig.FolderReconcilerNamespace,
})