Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-29536

Add WATCH_NAMESPACES env var to kubernetes operator

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    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

      1. Operator will take effect of the setting immediately as pod will roll (rather than waiting for the config to be refreshed)
      2. 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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tagarr Tony Garrard
            tagarr Tony Garrard
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment