-
Notifications
You must be signed in to change notification settings - Fork 74
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
Adding namespace setting #419
Conversation
Added a namespace setting to define a specific namespace the Watcher should listen to. If the setting is not set, the Watcher will watch all namespaces.
Hi @manuelwallrapp. Thanks for your PR. I'm waiting for a tektoncd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
Ouch - this got bit by a race condition that was previously fixed, but was re-added. Filed #424 to remove the failing unit test. |
/test tekton-results-unit-tests |
@manuelwallrapp I left a minor suggestion for fixing a typo in the flag's usage, but I'm signaling that the patch looks good to me. |
@alan-ghelardi thank you, but I can't see your suggestion? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies @manuelwallrapp. I forgot to submit the suggestion.
Co-authored-by: Alan Ghelardi <alan.ghelardi@gmail.com>
/approve |
/kind feature I was initially reluctant to approve this (and associated feature request) because of concerns regarding long term maintainability. Most Tekton controllers operate by watching all namespaces, and single namespace mode isn't something that is supported by things like the Tekton Operator. However, Tekton Pipelines (which is what we really care about) supports a "namespace only" mode that is not strongly documented beyond code/cli. And it's a feature that has existed almost forever - see tektoncd/pipeline#2111. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: adambkaplan, alan-ghelardi The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Changes
Added a namespace setting to define a specific namespace the Watcher should listen to. If the setting is not set, the Watcher will watch all namespaces.
Fixes #417
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you review them:
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes
For pull requests with a release note: