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

Bug: Remove unnecessary permissions #235

Open
Yseona opened this issue May 29, 2024 · 0 comments
Open

Bug: Remove unnecessary permissions #235

Yseona opened this issue May 29, 2024 · 0 comments

Comments

@Yseona
Copy link

Yseona commented May 29, 2024

Hi community!

I just found that the DaemonSet genie-plugin in the conf has patch/update verb for the pods resource (genie-complete.yaml#L5). However, after reading the source code of cni-genie, I didn't find any Kubernetes API usages that require patch/update pods permissions. Therefore, for security reasons, I suggest checking these permissions to determine if they are truly unnecessary. If they are, the issue should be fixed by removing the unnecessary permission or other feasible methods.

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

No branches or pull requests

1 participant