-
Notifications
You must be signed in to change notification settings - Fork 31
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
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 |
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: