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

Pass Kubernetes Namespace Attribute (or generalized version) To CSI Storage Plugins With Every RPC #75382

mattsmithdatera opened this Issue Mar 14, 2019 · 0 comments


None yet
2 participants
Copy link

mattsmithdatera commented Mar 14, 2019

What would you like to be added:
I would like for Kubernetes namespaces to be passed in some form to the CSI storage plugin with every CSI RPC.

Why is this needed:
Our storage backend has a tenancy model that aligns very well with Kubernetes namespaces. We've created a CSI plugin to provide storage for Kubernetes-hosted applications, but we are currently unable to sync the Kubernetes PVC namespace with the PV object or backend storage physical volume tenant due to the limitation that PVC namespace is only currently available with 1 or 2 CSI Node RPCs with the CSIDriver object podInfoOnMount

Potential issues:

  1. PVCs have namespaces, but PVs do not. This could potentially leave an unbound PV that was previously namespaced when bound via a PVC with no information anywhere regarding what namespace should have access to it

  2. The standard Kubernetes answer of this should be solved with a CRD (eg: write it yourself)

/sig storage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.