Closed rannox closed 3 years ago
I just read the https://github.com/tektoncd/community/blob/main/teps/0009-trigger-crd.md. According to the new design of the Tekton Triggers, only Cluster Operators should be able to create Event Listeners, which totally makes sense and thus the ClusterRoleBinding :)
Sorry for the delay in responding. Yes, the idea is the cluster operators create EventListeners. And users can create the Trigger types. The EventListeners can then select all triggers in a namespace using the namespaceSelector or a subset using labelSelector.
Expected Behavior
Event Listeners works without generating error logs about the missing permissions to list
ClusterTriggerBindings
andClusterInterceptors
.Actual Behavior
Not installing the
ClusterRoleBInding
from https://github.com/tektoncd/triggers/blob/main/examples/rbac.yaml is causing the logs of the Event Listener to be filled with the following error message:The developers at our project dont have the permissions to create
ClusterRoleBindings
(Cluster Admin required). In earlier versions of the Tekton Triggers they installed a separate event listener pro namespace. Now doing so creates the described error in the logs of the event listener.Version of Tekton Pipelines: 0.23.0 Version of Tekton Triggers: 0.13.0