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 26e3c48 commit 74b821aCopy full SHA for 74b821a
rust/operator-binary/src/controller.rs
@@ -747,6 +747,7 @@ fn build_server_rolegroup_daemonset(
747
user_info_fetcher_image: &str,
748
service_account: &ServiceAccount,
749
) -> Result<DaemonSet> {
750
+ let opa_name = opa.metadata.name.as_deref().context(NoNameSnafu)?;
751
let role = opa.role(opa_role);
752
let role_group = opa
753
.rolegroup(rolegroup_ref)
@@ -979,9 +980,9 @@ fn build_server_rolegroup_daemonset(
979
980
SecretClassVolume::new(
981
ad.kerberos_secret_class_name.clone(),
982
Some(SecretClassVolumeScope {
- pod: true,
983
- node: true,
984
- services: Vec::new(),
+ pod: false,
+ node: false,
985
+ services: vec![opa_name.to_string()],
986
listener_volumes: Vec::new(),
987
}),
988
)
0 commit comments