Skip to content

Commit

Permalink
test/int: disable ownership detection (#1418)
Browse files Browse the repository at this point in the history
  • Loading branch information
s-urbaniak authored Mar 4, 2024
1 parent 63289c6 commit ddf8e96
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/int/integration_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())

Expand All @@ -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())

Expand All @@ -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())
Expand All @@ -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())

Expand All @@ -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())

Expand Down

0 comments on commit ddf8e96

Please sign in to comment.