Fabian Paul created FLINK-37391: ----------------------------------- Summary: Change watchNamespace config in operator is not respected while running Key: FLINK-37391 URL: https://issues.apache.org/jira/browse/FLINK-37391 Project: Flink Issue Type: Bug Components: Kubernetes Operator Affects Versions: 1.19.0, 1.10.0 Reporter: Fabian Paul
The Flink operator allows the limiting of the watched namespaces by setting the `watchNamespaces` config during helm installation and upgrades. Currently, the configuration is only loaded into operator during the initial start [https://github.com/apache/flink-kubernetes-operator/blob/9eb3c385b90a5a2f08376720f3204d1784981a0c/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/FlinkOperator.java#L247] leading to that updating the watched namespaces doesn't inform the java process and only create the necessary k8s resources, e.g., service account via the helm upgrade. One idea could be that changing watchNamespaces triggers a restart of the operator pod and, hence reinitializes the watch behavior. -- This message was sent by Atlassian Jira (v8.20.10#820010)