-
Notifications
You must be signed in to change notification settings - Fork 217
feat: allow easier configuration of matcher #2760
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
...io/javaoperatorsdk/operator/processing/dependent/kubernetes/KubernetesDependentResource.java
Outdated
Show resolved
Hide resolved
...io/javaoperatorsdk/operator/processing/dependent/kubernetes/KubernetesDependentResource.java
Outdated
Show resolved
Hide resolved
private final boolean garbageCollected = this instanceof GarbageCollected; | ||
private KubernetesDependentResourceConfig<R> kubernetesDependentResourceConfig; | ||
private volatile Boolean useSSA; | ||
|
||
@SuppressWarnings("unchecked") | ||
private SSABasedGenericKubernetesResourceMatcher<R> matcher = defaultMatcher; | ||
private SSABasedGenericKubernetesResourceMatcher<R> matcher = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be this rather part of the configuration?
The current approach is that name and class and config are the params and configuration contains everything else. This might go there just as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wanted to keep it simple first but it definitely could go on the config.
...io/javaoperatorsdk/operator/processing/dependent/kubernetes/KubernetesDependentResource.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Chris Laprun <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
a9ee453
to
4f9c19d
Compare
Signed-off-by: Chris Laprun [email protected]