Tony Garrard created FLINK-29536:
------------------------------------
Summary: Add WATCH_NAMESPACES env var to kubernetes operator
Key: FLINK-29536
URL: https://issues.apache.org/jira/browse/FLINK-29536
Project: Flink
Issue Type: Improvement
Components: Kubernetes Operator
Affects Versions: kubernetes-operator-1.2.0
Reporter: Tony Garrard
Fix For: kubernetes-operator-1.2.0
Provide the ability to set the namespaces watched by the operator using an env
var. Whilst the additional config can still be used, the presence of the env
var will take priority.
Reasons for issue
# Operator will take effect of the setting immediately as pod will roll
(rather than waiting for the config to be refreshed)
# If the operator is to be olm bundled we will be able to set the target
namespace using the following
{{ env:}}
{{ - name: WATCHED_NAMESPACE}}
{{ valueFrom:}}
{{ fieldRef:}}
{{ fieldPath:
metadata.annotations['olm.targetNamespaces']}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)