Comments (17)
from cluster-driver-registrar.
Looking through the code I think it only needs CSIDriver create and delete permissions
cc @gnufied who is working on testing this in our e2es
from cluster-driver-registrar.
from cluster-driver-registrar.
/assign
from cluster-driver-registrar.
@gnufied: GitHub didn't allow me to assign the following users: gnufied.
Note that only kubernetes-csi members and repo collaborators can be assigned.
For more information please see the contributor guide
In response to this:
/assign
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.
from cluster-driver-registrar.
The current RBAC definitions don't include permissions to create the CSIDriver CRD which are created on startup:
At the moment, the cluster-driver-registrar exits with os.Exit(1)
if it doesn't have the permission to create the CRD. I'm not quite sure if it would make sense to ignore that error and only exit if it is unable to register the CSIDriver object.
From the current CSI documentation, it is unclear to me who the responsible party for creating the CRDs is. The HostPath example mentions that the CRDs need to be created manually by a kubernetes administrator.
from cluster-driver-registrar.
@ferdinandhuebner good catch, our intention is that the CRDs have to be created by the deployment tool or an administrator beforehand.
@saad-ali wdyt of the sidecar trying to install the CRD?
from cluster-driver-registrar.
Discussed a bit with @saad-ali wrt sidecar installing the CRD. We need to think through potential version skew issues, if we add new fields to the CRD and want to update the CRD definition. Also we should be consistent with whatever we do for CSINodeInfo too. Right now, we're leaning towards not having the sidecar install the CRD.
from cluster-driver-registrar.
The v1.0.1 release was tagged without fixing the RBAC rules contained in that release. We should prepare a release v1.1.0 which no longer installs the CRD and has correct RBAC rules.
@msau42 The master branch has that fixed and looks like it could be turned into v1.1.0.
from cluster-driver-registrar.
There are other big changes coming to cluster driver registrar soon, namely that the crd is going to be replaced by an intree beta object. Do you think it's worth it to have a 1.1, or move straight to a 2.0? The crds were technically alpha so should we consider breaking them to warrant a major version bump?
from cluster-driver-registrar.
How about cherry picking #19 to release 1.0 and cut a new 1.0.x?
from cluster-driver-registrar.
from cluster-driver-registrar.
from cluster-driver-registrar.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale
from cluster-driver-registrar.
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
from cluster-driver-registrar.
Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen
.
Mark the issue as fresh with /remove-lifecycle rotten
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close
from cluster-driver-registrar.
@fejta-bot: Closing this issue.
In response to this:
Rotten issues close after 30d of inactivity.
Reopen the issue with/reopen
.
Mark the issue as fresh with/remove-lifecycle rotten
.Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close
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.
from cluster-driver-registrar.
Related Issues (10)
- Add k8s version compability matrix in README HOT 6
- Skip attach should not be a command line argument HOT 4
- remove CSIDriverInfo when uninstalling HOT 6
- cluster-driver-registrar permissions HOT 38
- Deprecate cluster-driver-registrar HOT 5
- quay.io/k8scsi/csi-cluster-driver-registrar:v1.0.2 not found HOT 1
- Broken Link of `contributor cheat sheet` needs to fix HOT 4
- RetryOnConflict not correct retry method HOT 14
- Creation of CSIDriverInfo object should not loop infinitely HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cluster-driver-registrar.