From 9d241c46caaeb145df6b8cb2b26b9195d4cea76b Mon Sep 17 00:00:00 2001 From: Razz4780 Date: Tue, 10 Dec 2024 11:37:47 +0100 Subject: [PATCH] Fixed operator setup --- mirrord/operator/src/setup.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirrord/operator/src/setup.rs b/mirrord/operator/src/setup.rs index 9aaaa5df59b..cb4e457df55 100644 --- a/mirrord/operator/src/setup.rs +++ b/mirrord/operator/src/setup.rs @@ -724,7 +724,7 @@ impl OperatorRole { let rules = vec![ // Allow the operator to fetch Secrets in the operator's namespace PolicyRule { - api_groups: Some(vec![MirrordKafkaClientConfig::group(&()).into_owned()]), + api_groups: Some(vec!["".to_owned()]), resources: Some(vec!["secrets".to_owned()]), verbs: ["get", "list", "watch"] .into_iter()