-
Notifications
You must be signed in to change notification settings - Fork 30
Events can't be created different namespaces #140
Comments
Shouldn't it use EventBroadcaster instead? |
@shanduur do you have insights into this? |
Broadcaster is/should be created correctly, see https://github.com/kubernetes-sigs/container-object-storage-interface-api/blob/master/controller/controller.go#L153-L162. Are you sure that's not a RBAC issue? You should have the following in your ClusterRole: https://github.com/s3gw-tech/s3gw-charts/blob/main/charts/s3gw/templates/cosi-rbac.yaml#L36-L44 |
I have it, but still seeing same errors, btw the |
I see your change, thanks! I don't remember if I actually missed that, or completely didn't know about this option when writing the feature. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
Bug Report
What happened:
What you expected to happen:
event created
How to reproduce this bug (as minimally and precisely as possible):
run controller and objects in diferent namespaces
Anything else relevant for this bug report?:
Environment:
kubectl version
), please list client and server:cat /etc/os-release
):uname -a
):The text was updated successfully, but these errors were encountered: