-
Notifications
You must be signed in to change notification settings - Fork 141
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
update RBAC file #7
Comments
I opened #8 to remove the old driver registration mechanism. Then I think we can remove the whole rbac file. I also scanned through the code and couldn't find anything using k8s events |
@msau42 @jarrpa: 6d58825 removed the rbac.yaml. Was that intentionally or by mistake? Neither the commit message nor the PR description mention the removal of the rbac.yaml, and people who want to know what RBAC rules are needed no longer find that information in this repo. For the sake of consistency there should be a |
Node driver registrar doesn't interact with the k8s API anymore so no rbac rules are needed. We can update the README in this repo to be more descriptive about what node driver registrar does |
While the README could use a touch-up, I think the removal of the RBAC file is only confusing if you knew the file was there to begin with. If we just say "it's a sidecar container" there should be no reason to assume it requires any API privileges unless stated otherwise. At best, a |
"Jose A. Rivera" <[email protected]> writes:
While the README could use a touch-up, I think the removal of the RBAC
file is only confusing if you knew the file was there to begin with.
Every other CSI sidecar container has one, so I think it will be normal
that people will also expect it for node-driver-registrar.
|
I think it's sufficient if we document the readme for all the sidecars with the functionality. For this repo, we can say that it plugs into the kubelet plugin registration mechanism by exposing a socket, etc. For other repos, we can say, it watches and operates on these kubernetes objects. |
And each readme can have a permissions section that describes what kind of rbacs and other roles it may need |
Updating docs here: #13 |
README has been updated. Please update as you see fit. |
@msau42: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
The RBAC file was copied unmodified from driver-registrar and probably is out-dated now.
The introduction still refers to "external provisioner" (was already broken when creating that file initially for driver-registrar).
The text was updated successfully, but these errors were encountered: