Skip to content

Commit

Permalink
chore: adapt to latest JOSDK changes
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Laprun <[email protected]>
  • Loading branch information
metacosm committed Sep 13, 2023
1 parent b0f648a commit 775658e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public KubernetesDependentResourceConfig configFrom(
original.labelSelector(),
original.wereNamespacesConfigured(),
original.createResourceOnlyIfNotExistingWithSSA(), original.getResourceDiscriminator(),
(Boolean) original.useSSA().orElse(null),
original.onAddFilter(),
original.onUpdateFilter(), original.onDeleteFilter(), original.genericFilter());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ public QuarkusKubernetesDependentResourceConfig(Set<String> namespaces, String l
boolean configuredNS,
boolean createResourceOnlyIfNotExistingWithSSA,
ResourceDiscriminator<R, ?> resourceDiscriminator,
Boolean useSSA,
OnAddFilter<R> onAddFilter,
OnUpdateFilter<R> onUpdateFilter,
OnDeleteFilter<R> onDeleteFilter,
GenericFilter<R> genericFilter) {
super(namespaces, labelSelector, configuredNS, createResourceOnlyIfNotExistingWithSSA, resourceDiscriminator,
onAddFilter, onUpdateFilter, onDeleteFilter,
genericFilter);
useSSA, onAddFilter, onUpdateFilter, onDeleteFilter, genericFilter);
}

// Needed for the recordable constructor
Expand Down Expand Up @@ -77,4 +77,10 @@ public boolean getConfiguredNS() {
public boolean isCreateResourceOnlyIfNotExistingWithSSA() {
return createResourceOnlyIfNotExistingWithSSA();
}

// Needed for the recordable constructor
@SuppressWarnings("unused")
public Boolean isUseSSA() {
return useSSA().orElse(null);
}
}

0 comments on commit 775658e

Please sign in to comment.