Closed nobody4t closed 3 years ago
I've heard of a couple reports of this happening intermittently. Could you delete and recreate your EventListener? Does it work then?
@dongwangdw what version of openshift and Triggers are you using?
I rechecked and it resulted from the failure of cluterrole binding. I made some changes in the getting-started
, https://github.com/tektoncd/triggers/blob/main/examples/rbac.yaml#L61.
This file is referred in getting-started
from example. In getting-started
, namespace getting-started
is used but it is default
here. This will cause errors. The service account should has no permission to list the triggerbindings. But the error is confusing. I think the error should be improved for right hint. This should be permisson issue here.
I just made it with the changes.
we can close this issue. But the getting-started exmaple should be improved.
Ah got it....I'll keep this issue open to fix the getting-started roles.
I have an ocp cluster 4.6.x. And I tried the getting-started example. But I got the error when I tried to feed the line from curl command as below:
But the triggerbinding:
getting-started-pipelinebinding
does exist. So I wonder how can I debug this? Or is this a bug?