Skip to content

Commit 13590c1

Browse files
committed
Fix manila storageclass upgrade
`provisioner` is immutable. for PV. PV in cluster that build with storageclass that change only provisioner will not be able to upgrade. Signed-off-by: ricolin <[email protected]>
1 parent a95f1e0 commit 13590c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

magnum_cluster_api/resources.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ def get_object(self) -> dict:
338338
"allowVolumeExpansion": True,
339339
"kind": objects.StorageClass.kind,
340340
"metadata": {
341-
"name": "share-%s"
341+
"name": "share-nfs-%s"
342342
% utils.convert_to_rfc1123(st.name),
343343
},
344344
"provisioner": "nfs.manila.csi.openstack.org",

0 commit comments

Comments
 (0)