We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34499c3 commit ee5978eCopy full SHA for ee5978e
rust/operator-binary/src/main.rs
@@ -288,19 +288,18 @@ fn references_config_map(
288
return false;
289
};
290
291
- let config_map_name = config_map.name_any();
292
superset
293
.spec
294
.cluster_config
295
.vector_aggregator_config_map_name
296
- == Some(config_map_name.to_owned())
+ == Some(config_map.name_any())
297
|| match superset.spec.cluster_config.authorization.clone() {
298
Some(superset_authorization) => {
299
superset_authorization
300
.role_mapping_from_opa
301
.opa
302
.config_map_name
303
- == config_map_name
+ == config_map.name_any()
304
}
305
None => false,
306
0 commit comments