Comment 1 for bug 1836077

Revision history for this message
Cory Johns (johnsca) wrote :

The changes to CDK to use the external cloud provider for openstack, the cinder CSI plugin, and to automatically create the storage classes got missed for the latest release, so "kubernetes.io/cinder" is still the proper value for the SC provider for now.

The SC that was automatically created came from Juju. It seems that Juju will need to detect whether the CSI plugin is available. Additionally, there was a recent upstream change[1] to the CSI plugin which affects the provider value. So Juju will also need to check the version of the plugin to determine which provider value to use for the SC:

* no CSI plugin: kubernetes.io/cinder
* CSI plugin less than v1.2.0: csi-cinderplugin
* CSI plugin v1.2.0 or greater: cinder.csi.openstack.org

[1]: https://github.com/kubernetes/cloud-provider-openstack/pull/624