-
Notifications
You must be signed in to change notification settings - Fork 220
feat(quarkus): add support for externalized configuration #306
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
Conversation
* contains {@link ControllerConfiguration#WATCH_ALL_NAMESPACES_MARKER} then the controller will | ||
* watch all namespaces. | ||
*/ | ||
@ConfigItem public Optional<List<String>> namespaces; |
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.
How about if this list is empty then the controller watches all namespaces? I think watching all namespaces is a sensible default as this will mostly be controlled by RBAC anyway by cluster admins not by configuring the operator.
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.
At the moment the default behavior is to watch the namespace the client is connected to (which should be the namespace the operator is deployed in), the idea being that you don't need to setup RBAC by default, which should make it easier to experiment with.
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.
Ok let's leave it like that for now. We could check what's the default in the operator-sdk and just run with that later.
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.
I will address this in #303
...time/src/main/java/io/javaoperatorsdk/quarkus/extension/ExternalControllerConfiguration.java
Outdated
Show resolved
Hide resolved
LGTM |
No description provided.