diff --git a/changelog.d/+104-policy-fs.added.md b/changelog.d/+104-policy-fs.added.md index 1ad43a13736..312cf56f3fa 100644 --- a/changelog.d/+104-policy-fs.added.md +++ b/changelog.d/+104-policy-fs.added.md @@ -1 +1 @@ -Add policy to control file ops. +Add policy to control file ops from the operator. diff --git a/tests/src/operator/policies/fs.rs b/tests/src/operator/policies/fs.rs index afa2cdf62bc..3feae1d514c 100644 --- a/tests/src/operator/policies/fs.rs +++ b/tests/src/operator/policies/fs.rs @@ -26,12 +26,12 @@ async fn fs_service(#[future] kube_client: kube::Client) -> KubeService { #[rstest] #[tokio::test(flavor = "multi_thread", worker_threads = 2)] #[timeout(Duration::from_secs(60))] -pub async fn create_cluster_fs_policy_and_try_file_operations( - #[future] service: KubeService, +pub async fn create_namespaced_fs_policy_and_try_file_open( + #[future] fs_service: KubeService, #[future] kube_client: kube::Client, ) { let kube_client = kube_client.await; - let service = service.await; + let service = fs_service.await; // Create policy, delete it when test exits. let _policy_guard = PolicyGuard::namespaced(