You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EventListener can see Triggers in other than deployment namespaces.
Actual Behavior
EventListener cannot see Triggers in other than deployment namespaces.
Steps to Reproduce the Problem
EventListener running in a "main" namespace. EvenListener oversees Triggers in multiple namespaces.
"feature" namespaces have RoleBindings that allow ServiceAccount in the "main" namespace to view resources in the "feature" namespace.
Send a request to the EventListener ingress with a payload that would only match the rule for the "feature" namespace Trigger.
Additional Info
With Triggers version 0.23.1 this still worked, but with any later version this no longer works and EventListener can only see Triggers where the EventListener is deployed. From Kubernetes permission perspective everything looks good and there were no other infrastructure changes than changing Tekton Triggers version.
Example triggers for illustration of how main and feature trigger selection is implemented:
Expected Behavior
EventListener can see Triggers in other than deployment namespaces.
Actual Behavior
EventListener cannot see Triggers in other than deployment namespaces.
Steps to Reproduce the Problem
EventListener running in a "main" namespace. EvenListener oversees Triggers in multiple namespaces.
"feature" namespaces have RoleBindings that allow ServiceAccount in the "main" namespace to view resources in the "feature" namespace.
Send a request to the EventListener ingress with a payload that would only match the rule for the "feature" namespace Trigger.
Additional Info
With Triggers version 0.23.1 this still worked, but with any later version this no longer works and EventListener can only see Triggers where the EventListener is deployed. From Kubernetes permission perspective everything looks good and there were no other infrastructure changes than changing Tekton Triggers version.
Example triggers for illustration of how main and feature trigger selection is implemented:
The text was updated successfully, but these errors were encountered: