Skip to content

Commit fcfaaf1

Browse files
authored
create test namespace & infra with ssa (#2471)
Signed-off-by: bachmanity1 <[email protected]>
1 parent 89ef224 commit fcfaaf1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: operator-framework-junit5/src/main/java/io/javaoperatorsdk/operator/junit/AbstractOperatorExtension.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,11 @@ protected void before(ExtensionContext context) {
157157
.resource(
158158
new NamespaceBuilder().withMetadata(new ObjectMetaBuilder().withName(namespace).build())
159159
.build())
160-
.create();
160+
.serverSideApply();
161161

162162
kubernetesClient
163163
.resourceList(infrastructure)
164-
.createOrReplace();
164+
.serverSideApply();
165165
kubernetesClient
166166
.resourceList(infrastructure)
167167
.waitUntilReady(infrastructureTimeout.toMillis(), TimeUnit.MILLISECONDS);

0 commit comments

Comments
 (0)