Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
kubernetes-operator-1.2.0
Description
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']}}
Attachments
Attachments
Issue Links
- links to