diff --git a/core/runtime/src/main/java/io/quarkiverse/operatorsdk/runtime/QuarkusControllerConfiguration.java b/core/runtime/src/main/java/io/quarkiverse/operatorsdk/runtime/QuarkusControllerConfiguration.java index b384327b..38629619 100644 --- a/core/runtime/src/main/java/io/quarkiverse/operatorsdk/runtime/QuarkusControllerConfiguration.java +++ b/core/runtime/src/main/java/io/quarkiverse/operatorsdk/runtime/QuarkusControllerConfiguration.java @@ -378,6 +378,12 @@ public InformerConfigHolder getInformerConfig() { return informerConfig; } + // required until https://github.com/quarkusio/quarkus/pull/41609 is available in a Quarkus release + @Override + public Set getNamespaces() { + return informerConfig.getNamespaces(); + } + // Needed by Quarkus because LinearRateLimiter doesn't expose setters for byte recording public final static class DefaultRateLimiter extends LinearRateLimiter { diff --git a/integration-tests/src/test/java/io/quarkiverse/operatorsdk/it/OperatorSDKResourceTest.java b/integration-tests/src/test/java/io/quarkiverse/operatorsdk/it/OperatorSDKResourceTest.java index 2aa85676..6440499d 100644 --- a/integration-tests/src/test/java/io/quarkiverse/operatorsdk/it/OperatorSDKResourceTest.java +++ b/integration-tests/src/test/java/io/quarkiverse/operatorsdk/it/OperatorSDKResourceTest.java @@ -10,7 +10,7 @@ import org.junit.jupiter.api.Test; import io.javaoperatorsdk.operator.ReconcilerUtils; -import io.quarkus.test.common.WithTestResource; +import io.quarkus.test.common.QuarkusTestResource; import io.quarkus.test.junit.DisabledOnIntegrationTest; import io.quarkus.test.junit.QuarkusTest; @@ -29,7 +29,7 @@ * See also {@code maven-surefire-plugin} configuration where these same environment variables are set */ @QuarkusTest -@WithTestResource(CustomKubernetesServerTestResource.class) +@QuarkusTestResource(CustomKubernetesServerTestResource.class) class OperatorSDKResourceTest { @BeforeAll diff --git a/pom.xml b/pom.xml index 23ea14eb..5c88bfbb 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ pom Quarkus - Operator SDK - Parent - 999-SNAPSHOT + 3.12.1 5.0.0-SNAPSHOT