--- /usr/lib/python3.6/site-packages/magnum/drivers/common/templates/kubernetes/fragments/enable-cinder-csi.sh.original 2024-03-15 11:09:30.563666143 +0100 +++ /usr/lib/python3.6/site-packages/magnum/drivers/common/templates/kubernetes/fragments/enable-cinder-csi.sh-registry.k8s.io 2024-03-17 23:17:17.236676088 +0100 @@ -40,6 +40,9 @@ - apiGroups: ["storage.k8s.io"] resources: ["csinodes"] verbs: ["get", "list", "watch"] + - apiGroups: ["storage.k8s.io"] + resources: ["volumeattachments/status"] + verbs: ["get", "list", "watch", "update", "patch"] --- kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 @@ -257,7 +260,7 @@ node-role.kubernetes.io/master: "" containers: - name: csi-attacher - image: ${CONTAINER_INFRA_PREFIX:-quay.io/k8scsi/}csi-attacher:${CSI_ATTACHER_TAG} + image: ${CONTAINER_INFRA_PREFIX:-registry.k8s.io/sig-storage/}csi-attacher:${CSI_ATTACHER_TAG} args: - "--v=5" - "--csi-address=\$(ADDRESS)" @@ -273,7 +276,7 @@ - name: socket-dir mountPath: /var/lib/csi/sockets/pluginproxy/ - name: csi-provisioner - image: ${CONTAINER_INFRA_PREFIX:-quay.io/k8scsi/}csi-provisioner:${CSI_PROVISIONER_TAG} + image: ${CONTAINER_INFRA_PREFIX:-registry.k8s.io/sig-storage/}csi-provisioner:${CSI_PROVISIONER_TAG} args: - "--csi-address=\$(ADDRESS)" - "--timeout=3m" @@ -288,7 +291,7 @@ - name: socket-dir mountPath: /var/lib/csi/sockets/pluginproxy/ - name: csi-snapshotter - image: ${CONTAINER_INFRA_PREFIX:-quay.io/k8scsi/}csi-snapshotter:${CSI_SNAPSHOTTER_TAG} + image: ${CONTAINER_INFRA_PREFIX:-registry.k8s.io/sig-storage/}csi-snapshotter:${CSI_SNAPSHOTTER_TAG} args: - "--csi-address=\$(ADDRESS)" resources: @@ -302,7 +305,7 @@ - mountPath: /var/lib/csi/sockets/pluginproxy/ name: socket-dir - name: csi-resizer - image: ${CONTAINER_INFRA_PREFIX:-quay.io/k8scsi/}csi-resizer:${CSI_RESIZER_TAG} + image: ${CONTAINER_INFRA_PREFIX:-registry.k8s.io/sig-storage/}csi-resizer:${CSI_RESIZER_TAG} args: - "--v=5" - "--csi-address=\$(ADDRESS)" @@ -412,7 +415,7 @@ hostNetwork: true containers: - name: node-driver-registrar - image: ${CONTAINER_INFRA_PREFIX:-quay.io/k8scsi/}csi-node-driver-registrar:${CSI_NODE_DRIVER_REGISTRAR_TAG} + image: ${CONTAINER_INFRA_PREFIX:-registry.k8s.io/sig-storage/}csi-node-driver-registrar:${CSI_NODE_DRIVER_REGISTRAR_TAG} args: - "--csi-address=\$(ADDRESS)" - "--kubelet-registration-path=\$(DRIVER_REG_SOCK_PATH)"