Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update operator to support the WATCH_NAMESPACE env var #1474

Merged
merged 3 commits into from
Jan 5, 2021

Conversation

herinckc
Copy link
Contributor

@herinckc herinckc commented Jan 5, 2021

Signed-off-by: Colton Herinckx herinckc@gmail.com

This PR adds operator support for the WATCH_NAMESPACE environment variable; while the adapter currently supports this env var it seems as though the operator itself does not

Let me know if I need to update any tests or docs along with this PR. I didn't see any operator-specific tests or any mention of the WATCH_NAMESPACE env var in the keda-docs repo so I haven't done anything for either of those tasks but I'm happy to make more changes if I've missed anything

Addresses #601 (comment)

Checklist

  • Commits are signed with Developer Certificate of Origin (DCO)
  • Changelog has been updated

Signed-off-by: Colton Herinckx <herinckc@gmail.com>
Signed-off-by: Colton Herinckx <herinckc@gmail.com>
Copy link
Member

@zroubalik zroubalik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a minor nit in the Changelog. Thanks a lot for the fix @herinckc!

CHANGELOG.md Outdated Show resolved Hide resolved
@tomkerkhove
Copy link
Member

Are you up for sending a PR to https://github.com/kedacore/charts as well please?

@zroubalik
Copy link
Member

@tomkerkhove charts should worked as they imho use this ENV variable. This was working before, but probably was mistakenly omitted when we were doing the big update recently.

Signed-off-by: Colton Herinckx <herinckc@gmail.com>
Copy link
Member

@zroubalik zroubalik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@zroubalik zroubalik merged commit 54c384f into kedacore:main Jan 5, 2021
ycabrer pushed a commit to ycabrer/keda that referenced this pull request Mar 1, 2021
* add support to the operator for the WATCH_NAMESPACE env var

Signed-off-by: Colton Herinckx <herinckc@gmail.com>

* update the changelog

Signed-off-by: Colton Herinckx <herinckc@gmail.com>

* address PR comments - add PR number and link to changelog

Signed-off-by: Colton Herinckx <herinckc@gmail.com>
@debu99
Copy link

debu99 commented Oct 22, 2021

how to set multiple namespaces?

@jkremser
Copy link
Contributor

@debu99 hello #5631

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.

5 participants