-
Notifications
You must be signed in to change notification settings - Fork 791
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
Tekton controller is not respecting namespace's scope #6816
Comments
So this is tektoncd/pipeline#2111 - gonna see if I can fix it (and backport it to our Tekton 0.8.0 fork) later this week. |
@abayer I have a potential fix which I haven't tested. You might want to give it a go and see if it does in fact fix this issue. |
That feels right to me - mind opening a PR against Tekton? =) |
I'm gonna try to backport this to our 0.8.0-derived weirdo of a branch soon - relevant (merged upstream) PR is tektoncd/pipeline#2144 |
Issues go stale after 90d of inactivity. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. |
Oops, forgot to close this when I upgraded Tekton. |
Summary
At the moment Tekton Controller deployed in the Jenkins-x namespace is not scoped to the related namespace but it is watching over other Tekton resources in other namespaces too.
Steps to reproduce the behavior
Install Jenkins-x in 2 different namespaces
Expected behavior
Tekton controller is watching and reacting to Tekton CRDs in the same namespace only
Actual behavior
Tekton controller is reacting to Tekton CRDs deployed in other namespaces too (duplicating build pods)
Jx version
The output of
jx version
is:Jenkins type
Kubernetes cluster
v1.14.10+IKS - JX boot
Operating system / Environment
Mac OS
The text was updated successfully, but these errors were encountered: