From dc546e1cf0eac67de026f633494daaaca8580190 Mon Sep 17 00:00:00 2001 From: Sergiusz Urbaniak Date: Mon, 4 Mar 2024 16:49:45 +0100 Subject: [PATCH] test/int: disable ownership detection --- test/int/integration_suite_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/int/integration_suite_test.go b/test/int/integration_suite_test.go index 026b239ed0..a280920935 100644 --- a/test/int/integration_suite_test.go +++ b/test/int/integration_suite_test.go @@ -223,7 +223,7 @@ func prepareControllers(deletionProtection bool) (*corev1.Namespace, context.Can EventRecorder: k8sManager.GetEventRecorderFor("AtlasProject"), AtlasProvider: atlasProvider, ObjectDeletionProtection: deletionProtection, - SubObjectDeletionProtection: deletionProtection, + SubObjectDeletionProtection: false, }).SetupWithManager(k8sManager) Expect(err).ToNot(HaveOccurred()) @@ -235,7 +235,7 @@ func prepareControllers(deletionProtection bool) (*corev1.Namespace, context.Can EventRecorder: k8sManager.GetEventRecorderFor("AtlasDeployment"), AtlasProvider: atlasProvider, ObjectDeletionProtection: deletionProtection, - SubObjectDeletionProtection: deletionProtection, + SubObjectDeletionProtection: false, }).SetupWithManager(k8sManager) Expect(err).ToNot(HaveOccurred()) @@ -247,7 +247,7 @@ func prepareControllers(deletionProtection bool) (*corev1.Namespace, context.Can AtlasProvider: atlasProvider, GlobalPredicates: globalPredicates, ObjectDeletionProtection: deletionProtection, - SubObjectDeletionProtection: deletionProtection, + SubObjectDeletionProtection: false, FeaturePreviewOIDCAuthEnabled: featureFlags.IsFeaturePresent(featureflags.FeatureOIDC), }).SetupWithManager(k8sManager) Expect(err).ToNot(HaveOccurred()) @@ -260,7 +260,7 @@ func prepareControllers(deletionProtection bool) (*corev1.Namespace, context.Can AtlasProvider: atlasProvider, GlobalPredicates: globalPredicates, ObjectDeletionProtection: deletionProtection, - SubObjectDeletionProtection: deletionProtection, + SubObjectDeletionProtection: false, }).SetupWithManager(k8sManager) Expect(err).ToNot(HaveOccurred()) @@ -272,7 +272,7 @@ func prepareControllers(deletionProtection bool) (*corev1.Namespace, context.Can EventRecorder: k8sManager.GetEventRecorderFor("AtlasFederatedAuth"), AtlasProvider: atlasProvider, ObjectDeletionProtection: deletionProtection, - SubObjectDeletionProtection: deletionProtection, + SubObjectDeletionProtection: false, }).SetupWithManager(k8sManager) Expect(err).ToNot(HaveOccurred())