morhidi commented on code in PR #254:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/254#discussion_r900053365
##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/config/KubernetesOperatorConfigOptions.java:
##########
@@ -187,4 +188,18 @@ public class KubernetesOperatorConfigOptions {
.withDescription(
"Interval at which periodic savepoints will be
triggered. "
+ "The triggering schedule is not
guaranteed, savepoints will be triggered as part of the regular reconcile
loop.");
+
+ public static final ConfigOption<String> OPERATOR_WATCHED_NAMESPACES =
+ ConfigOptions.key("kubernetes.operator.watched.namespaces")
+ .stringType()
+ .defaultValue(Constants.WATCH_ALL_NAMESPACES)
+ .withDescription(
+ "Comma separated list of namespaces the operator
monitors for custom resources. Defaults to "
+ + Constants.WATCH_ALL_NAMESPACES);
+
+ public static final ConfigOption<Boolean>
OPERATOR_DYNAMIC_NAMESPACES_ENABLED =
+ ConfigOptions.key("kubernetes.operator.dynamic.namespaces.enabled")
+ .booleanType()
+ .defaultValue(false)
+ .withDescription("Enables dynamic change of namespaces.
Defaults to false");
Review Comment:
makes sense
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]