high-businessperson-71411
10/24/2025, 9:11 PMbland-article-62755
10/24/2025, 11:20 PMbland-article-62755
10/24/2025, 11:21 PMbland-article-62755
10/24/2025, 11:29 PMallowVolumeExpansion: true
apiVersion: <http://storage.k8s.io/v1|storage.k8s.io/v1>
kind: StorageClass
metadata:
annotations:
<http://objectset.rio.cattle.io/applied|objectset.rio.cattle.io/applied>: >-
<thing>
<http://objectset.rio.cattle.io/id|objectset.rio.cattle.io/id>: <thing>
creationTimestamp: '2025-02-04T17:39:47Z'
labels:
<http://objectset.rio.cattle.io/hash|objectset.rio.cattle.io/hash>: <thing>
managedFields:
- apiVersion: <http://storage.k8s.io/v1|storage.k8s.io/v1>
fieldsType: FieldsV1
fieldsV1:
f:allowVolumeExpansion: {}
f:metadata:
f:annotations:
.: {}
f:<http://objectset.rio.cattle.io/applied|objectset.rio.cattle.io/applied>: {}
f:<http://objectset.rio.cattle.io/id|objectset.rio.cattle.io/id>: {}
f:labels:
.: {}
f:<http://objectset.rio.cattle.io/hash|objectset.rio.cattle.io/hash>: {}
f:mountOptions: {}
f:parameters:
.: {}
f:clusterID: {}
f:<http://csi.storage.k8s.io/controller-expand-secret-name|csi.storage.k8s.io/controller-expand-secret-name>: {}
f:<http://csi.storage.k8s.io/controller-expand-secret-namespace|csi.storage.k8s.io/controller-expand-secret-namespace>: {}
f:<http://csi.storage.k8s.io/node-stage-secret-name|csi.storage.k8s.io/node-stage-secret-name>: {}
f:<http://csi.storage.k8s.io/node-stage-secret-namespace|csi.storage.k8s.io/node-stage-secret-namespace>: {}
f:<http://csi.storage.k8s.io/provisioner-secret-name|csi.storage.k8s.io/provisioner-secret-name>: {}
f:<http://csi.storage.k8s.io/provisioner-secret-namespace|csi.storage.k8s.io/provisioner-secret-namespace>: {}
f:imageFeatures: {}
f:pool: {}
f:provisioner: {}
f:reclaimPolicy: {}
f:volumeBindingMode: {}
manager: rancher
operation: Update
time: '2025-02-04T17:39:47Z'
name: csi-rbd-sc
resourceVersion: '<thing>'
uid: <thing>
mountOptions:
- discard
parameters:
clusterID: <ID>
<http://csi.storage.k8s.io/controller-expand-secret-name|csi.storage.k8s.io/controller-expand-secret-name>: csi-rbd-secret
<http://csi.storage.k8s.io/controller-expand-secret-namespace|csi.storage.k8s.io/controller-expand-secret-namespace>: default
<http://csi.storage.k8s.io/node-stage-secret-name|csi.storage.k8s.io/node-stage-secret-name>: csi-rbd-secret
<http://csi.storage.k8s.io/node-stage-secret-namespace|csi.storage.k8s.io/node-stage-secret-namespace>: default
<http://csi.storage.k8s.io/provisioner-secret-name|csi.storage.k8s.io/provisioner-secret-name>: csi-rbd-secret
<http://csi.storage.k8s.io/provisioner-secret-namespace|csi.storage.k8s.io/provisioner-secret-namespace>: default
imageFeatures: layering
pool: devharvester
provisioner: <http://rbd.csi.ceph.com|rbd.csi.ceph.com>
reclaimPolicy: Retain
volumeBindingMode: Immediatebland-article-62755
10/24/2025, 11:44 PMaccessModes as part of the spec. Ie: .spec.claimPropertySets.accessModes I didn't see any requirements in the harvester docs for .metadata.annotations I think the idea for these Storage Profiles is that you might have something that support multiple access modes, but in the profile you want it to have a smaller list or different defaults. Either way, I think you should be able to set up the StorageClass object without/before the StorageProfile.bland-article-62755
10/24/2025, 11:46 PMand I get that error when trying to create the StorageClass.But maybe you can post some of the yaml you're using to create the sc, and the actual error you're getting?
prehistoric-morning-49258
10/25/2025, 8:58 AMapiVersion: <http://storage.k8s.io/v1|storage.k8s.io/v1>
kind: StorageClass
metadata:
annotations:
<http://cdi.harvesterhci.io/storageProfileVolumeModeAccessModes|cdi.harvesterhci.io/storageProfileVolumeModeAccessModes>: |
{"Block":["ReadWriteOnce","ReadOnlyMany"],"Filesystem":["ReadWriteOnce","ReadWriteMany"]}
...high-businessperson-71411
10/27/2025, 2:34 PMhigh-businessperson-71411
10/27/2025, 2:37 PMhigh-businessperson-71411
10/27/2025, 2:47 PMhigh-businessperson-71411
10/27/2025, 2:48 PMhigh-businessperson-71411
10/27/2025, 2:50 PM