mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-28 03:47:34 +00:00
We need the 1.2.0 driver for that because that has support for detecting the volume mode dynamically, and we need to deploy a CSIDriver object which enables pod info (for the dynamic detection) and both modes (to satisfy the new mode sanity check).
A partial copy of https://github.com/kubernetes-csi/docs/tree/master/book/src/example, with some modifications:
- serviceAccountName is used instead of the deprecated serviceAccount
- the RBAC roles from driver-registrar, external-attacher, external-provisioner and external-snapshotter are used