subvolumegroup: add new crd

This introduces a new CRD to add the ability to create subvolumegroup
for a given ceph filesystem volume. Typically the name of the volume is
the name of the filesystem created by rook.

Closes: https://github.com/rook/rook/issues/7036
Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
Sébastien Han committed 2021-12-21 16:28:38 +01:00
1 parent 9dc41f5796
commit 6e9eb33782
31 files changed
+1692 -1

No files matched your search

@@ -71,6 +71,11 @@ jobs:
# copy the test file
# execute the test file
- name: wait for the subvolumegroup to be created
run: |
toolbox=$(kubectl get pod -l app=rook-ceph-tools -n rook-ceph -o jsonpath='{.items[*].metadata.name}')
timeout 60 sh -c "until kubectl -n rook-ceph exec $toolbox -- ceph fs subvolumegroup ls myfs|jq .[0].name|grep -q "group-a"; do sleep 1 && echo 'waiting for the subvolumegroup to be created'; done"
- name: check-ownerreferences
run: tests/scripts/github-action-helper.sh check_ownerreferences