Skip to content

Commit

Permalink
chore: update to JOSDK 5.0.0-RC1
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Laprun <[email protected]>
  • Loading branch information
metacosm committed Jan 6, 2025
1 parent e985cb5 commit 897c5a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<name>Quarkus - Operator SDK - Parent</name>
<properties>
<quarkus.version>999-SNAPSHOT</quarkus.version>
<java-operator-sdk.version>5.0.0-beta1</java-operator-sdk.version>
<java-operator-sdk.version>5.0.0-RC1</java-operator-sdk.version>
</properties>
<scm>
<connection>:git:[email protected]:quarkiverse/quarkus-operator-sdk.git</connection>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import io.javaoperatorsdk.operator.api.config.informer.Informer;
import io.javaoperatorsdk.operator.api.reconciler.*;
import io.javaoperatorsdk.operator.api.reconciler.dependent.Dependent;
import io.javaoperatorsdk.operator.processing.dependent.workflow.WorkflowReconcileResult;
import io.quarkiverse.operatorsdk.annotations.CSVMetadata;

@Workflow(dependents = {
Expand Down Expand Up @@ -44,7 +45,7 @@ public UpdateControl<ExposedApp> reconcile(ExposedApp exposedApp, Context<Expose
final var name = exposedApp.getMetadata().getName();
// retrieve the workflow reconciliation result and re-schedule if we have dependents that are not yet ready
final var wrs = context.managedWorkflowAndDependentResourceContext().getWorkflowReconcileResult();
if (wrs.allDependentResourcesReady()) {
if (wrs.map(WorkflowReconcileResult::allDependentResourcesReady).orElse(false)) {

final var url = IngressDependent.getExposedURL(
context.getSecondaryResource(Ingress.class).orElseThrow());
Expand Down

0 comments on commit 897c5a9

Please sign in to comment.