Skip to content

Commit

Permalink
chore: revert to use Quarkus 3.12.1
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Laprun <[email protected]>
  • Loading branch information
metacosm committed Jul 4, 2024
1 parent a9728b6 commit c1e5676
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,12 @@ public InformerConfigHolder<R> getInformerConfig() {
return informerConfig;
}

// required until https://github.com/quarkusio/quarkus/pull/41609 is available in a Quarkus release
@Override
public Set<String> getNamespaces() {
return informerConfig.getNamespaces();
}

// Needed by Quarkus because LinearRateLimiter doesn't expose setters for byte recording
public final static class DefaultRateLimiter extends LinearRateLimiter {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<packaging>pom</packaging>
<name>Quarkus - Operator SDK - Parent</name>
<properties>
<quarkus.version>999-SNAPSHOT</quarkus.version>
<quarkus.version>3.12.1</quarkus.version>
<java-operator-sdk.version>5.0.0-SNAPSHOT</java-operator-sdk.version>
</properties>
<scm>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
import io.javaoperatorsdk.operator.api.reconciler.ControllerConfiguration;
import io.javaoperatorsdk.operator.api.reconciler.Reconciler;
import io.javaoperatorsdk.operator.api.reconciler.UpdateControl;
import io.quarkiverse.operatorsdk.annotations.CSVMetadata;
import io.javaoperatorsdk.operator.processing.dependent.kubernetes.InformerConfig;
import io.quarkiverse.operatorsdk.annotations.CSVMetadata;

@CSVMetadata(bundleName = BUNDLE_NAME)
@ControllerConfiguration(informerConfig = @InformerConfig(namespaces = WATCH_CURRENT_NAMESPACE))
Expand Down

0 comments on commit c1e5676

Please sign in to comment.