-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/operator-java-opts
- Loading branch information
Showing
30 changed files
with
765 additions
and
304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...ler/src/main/java/io/apicurio/registry/operator/resource/ComponentLabelDiscriminator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package io.apicurio.registry.operator.resource; | ||
|
||
import io.fabric8.kubernetes.api.model.HasMetadata; | ||
|
||
import static io.apicurio.registry.operator.resource.Labels.getSelectorLabels; | ||
|
||
public class ComponentLabelDiscriminator<R extends HasMetadata> | ||
extends LabelDiscriminator<R> { | ||
|
||
public ComponentLabelDiscriminator(String component) { | ||
super(primary -> getSelectorLabels(primary, component)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.