Skip to content

Commit

Permalink
Unify storage class names
Browse files Browse the repository at this point in the history
Shorten "rook-cephfs-test-fs{N}" to "rook-cephfs-fs{N}" to match
"rook-ceph-block".

Signed-off-by: Nir Soffer <nsoffer@redhat.com>
  • Loading branch information
nirs committed Mar 3, 2025
1 parent 817c044 commit ef8364c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion e2e/config.yaml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pvcspecs:
storageclassname: rook-ceph-block
accessmodes: ReadWriteOnce
- name: cephfs
storageclassname: rook-cephfs-test-fs1
storageclassname: rook-cephfs-fs1
accessmodes: ReadWriteMany

# Sample cluster configurations:
Expand Down
4 changes: 2 additions & 2 deletions test/addons/rook-cephfs/provision-test/pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ metadata:
name: cephfs-pvc
spec:
accessModes:
- ReadWriteMany
- ReadWriteMany
resources:
requests:
storage: 1Gi
storageClassName: rook-cephfs-test-fs1
storageClassName: rook-cephfs-fs1
2 changes: 1 addition & 1 deletion test/addons/rook-cephfs/start
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import drenv
from drenv import kubectl

STORAGE_CLASS_NAME_PREFIX = "rook-cephfs-"
FILE_SYSTEMS = ["test-fs1", "test-fs2"]
FILE_SYSTEMS = ["fs1", "fs2"]


def deploy(cluster):
Expand Down
2 changes: 1 addition & 1 deletion test/addons/volsync/app/file/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ patches:
patch: |-
- op: replace
path: /spec/storageClassName
value: rook-cephfs-test-fs1
value: rook-cephfs-fs1
- op: replace
path: /spec/accessModes
value:
Expand Down
4 changes: 2 additions & 2 deletions test/addons/volsync/rd/file/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ patches:
patch: |-
- op: replace
path: /spec/storageClassName
value: rook-cephfs-test-fs1
value: rook-cephfs-fs1
- op: replace
path: /spec/accessModes
value:
Expand All @@ -27,7 +27,7 @@ patches:
patch: |-
- op: replace
path: /spec/rsyncTLS/storageClassName
value: rook-cephfs-test-fs1
value: rook-cephfs-fs1
- op: replace
path: /spec/rsyncTLS/volumeSnapshotClassName
value: csi-cephfsplugin-snapclass

0 comments on commit ef8364c

Please # to comment.