Skip to content
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

Adding RBAC permissions to create events #524

Merged
merged 3 commits into from
Oct 21, 2024
Merged

Adding RBAC permissions to create events #524

merged 3 commits into from
Oct 21, 2024

Conversation

amitschendel
Copy link
Contributor

Overview

Signed-off-by: Amit Schendel <amitschendel@gmail.com>
@amitschendel amitschendel changed the title Adding RC permissions to watch on events Adding RC permissions to create events Oct 21, 2024
Signed-off-by: Amit Schendel <amitschendel@gmail.com>
Signed-off-by: Amit Schendel <amitschendel@gmail.com>
@amitschendel amitschendel changed the title Adding RC permissions to create events Adding RBAC permissions to create events Oct 21, 2024
@@ -37,4 +37,7 @@ rules:
- apiGroups: ["kubescape.io"]
resources: ["operatorcommands/status"]
verbs: ["get", "watch", "list", "update", "patch"]
- apiGroups: ["events.k8s.io"]
resources: ["events"]
verbs: ["create", "patch", "get"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not ["get", "watch", "list", "update", "patch"]? you don't need them?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why would I need them?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw them in your other PR, that's why I ask

@amitschendel amitschendel merged commit d9984b7 into main Oct 21, 2024
5 checks passed
@amitschendel amitschendel deleted the feature/event branch October 21, 2024 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants