-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add the ability to use cross namespace volume data sources #809
Comments
Hi, you should be able to enable features through csi-provisionner's side car parameters but I think this could also be a Chart option to add. |
Hello @jerome-jutteau, Thank you for your fast reply, i'll test that and I'll keep you informed. |
Hello again, Unfortunately, it seems like the osc bsu csi driver does not support this feature, it says that it doesn't recongnize CrossNamespaceVolumeDataSource feature gate:
Here is my kube-api server confs:
Here is the params of the csi driver:
|
It seems csi-provisioner sidecar v3.0.0 does not support this feature but v3.4.0 has CrossNamespaceVolumeDataSource feature. |
Thank you for your help, i tried both of them (v3.4.0 and v4.0.1) and both of them support it
So i can say that all releases starting from v3.4.0 support this feature. I will try to produce the same result as the kubernetes cross namespace volume data sources and then close the issue. Thank you for your help again :). |
What happened?
following the official documentation of kubernetes, and in order to be able to use cross namespace volume data sources, i have to activate CrossNamespaceVolumeDataSource feature gate for the csi-provisioner.
i quote from their doc (https://kubernetes.io/docs/concepts/storage/persistent-volumes/#cross-namespace-data-sources):
"
Also, you must enable the CrossNamespaceVolumeDataSource feature gate for the csi-provisioner.
Enabling the CrossNamespaceVolumeDataSource feature gate allows you to specify a namespace in the dataSourceRef field.
"
and here is the example how it works (https://kubernetes.io/docs/concepts/storage/persistent-volumes/#using-a-cross-namespace-volume-data-source).
My problem is that i don't know how can i enable this feature in the osc-bsu-csi driver. if you can help, i'll be very grateful.
What you expected to happen?
The ability to use this feature.
How to reproduce it (as minimally and precisely as possible)?
follow the official documentation, but before that, you are forced to enable this feature in osc-bsu-csi-driver because it's a prerequisite.
Environment
Thank you for your help
The text was updated successfully, but these errors were encountered: