Skip to content

feat(keda): expose WATCH_LABEL_SELECTOR env var on the operator#864

Open
rossanorbr wants to merge 1 commit into
kedacore:mainfrom
rossanorbr:feat/watch-label-selector
Open

feat(keda): expose WATCH_LABEL_SELECTOR env var on the operator#864
rossanorbr wants to merge 1 commit into
kedacore:mainfrom
rossanorbr:feat/watch-label-selector

Conversation

@rossanorbr

Copy link
Copy Markdown

Exposes the WATCH_LABEL_SELECTOR env var on the KEDA operator Deployment, via a new watchLabelSelector chart value.

Mirrors the existing watchNamespace value, but filters reconciled objects by label instead of by namespace. Empty (default) means no label-based filtering, which preserves the current behaviour.

Backs the KEDA core PR kedacore/keda#7816 which adds the env var to the operator.

Checklist

  • I have verified that my change is according to the deprecations & breaking changes policy
  • Commits are signed with Developer Certificate of Origin (DCO - learn more)
  • README is updated with new configuration values (if applicable) learn more
  • A PR is opened to update KEDA core (repo) (if applicable, ie. when deployment manifests are modified)

Relates to kedacore/keda#7816

Adds a `watchLabelSelector` chart value that maps to the
`WATCH_LABEL_SELECTOR` env var on the operator Deployment.

Mirrors the existing `watchNamespace` value, but filters reconciled
objects by label instead of by namespace. Default is empty
(backward compatible: no label-based filtering).

Relates to kedacore/keda#7816

Signed-off-by: Rossano Bestteti <rossanorbr@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant