mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-18 14:04:39 +00:00
Merge pull request #10520 from krishhna24/docs-vgs-class-example
Run the E2E test on kind / setup-test-matrix (push) Failing after 3s
Scorecard supply-chain security / Scorecard analysis (push) Skipped
e2e-test-kind.yaml / extract (push) Failing after 5s
Run the E2E test on kind / get-go-version (push) Failing after 6s
Run the E2E test on kind / build (push) Skipped
Run the E2E test on kind / run-e2e-test (push) Skipped
push.yml / extract (push) Failing after 6s
Main CI / get-go-version (push) Failing after 6s
Main CI / Build (push) Skipped
Run the E2E test on kind / setup-test-matrix (push) Failing after 3s
Scorecard supply-chain security / Scorecard analysis (push) Skipped
e2e-test-kind.yaml / extract (push) Failing after 5s
Run the E2E test on kind / get-go-version (push) Failing after 6s
Run the E2E test on kind / build (push) Skipped
Run the E2E test on kind / run-e2e-test (push) Skipped
push.yml / extract (push) Failing after 6s
Main CI / get-go-version (push) Failing after 6s
Main CI / Build (push) Skipped
docs: fix VolumeGroupSnapshotClass example
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Fix the VolumeGroupSnapshotClass example in the VolumeGroupSnapshot docs
|
||||
@@ -160,15 +160,14 @@ kubectl get volumegroupsnapshotclass -o wide
|
||||
**Important:** The VolumeGroupSnapshotClass must have the label `velero.io/csi-volumegroupsnapshot-class: "true"` for Velero to automatically discover and use it:
|
||||
|
||||
```yaml
|
||||
apiVersion: groupsnapshot.storage.k8s.io/v1alpha1
|
||||
apiVersion: groupsnapshot.storage.k8s.io/v1beta2
|
||||
kind: VolumeGroupSnapshotClass
|
||||
metadata:
|
||||
name: csi-vgs-class
|
||||
labels:
|
||||
velero.io/csi-volumegroupsnapshot-class: "true"
|
||||
spec:
|
||||
driver: ebs.csi.aws.com
|
||||
deletionPolicy: Delete
|
||||
driver: ebs.csi.aws.com
|
||||
deletionPolicy: Delete
|
||||
```
|
||||
|
||||
Verify your VolumeGroupSnapshotClass has the correct label:
|
||||
|
||||
@@ -160,15 +160,14 @@ kubectl get volumegroupsnapshotclass -o wide
|
||||
**Important:** The VolumeGroupSnapshotClass must have the label `velero.io/csi-volumegroupsnapshot-class: "true"` for Velero to automatically discover and use it:
|
||||
|
||||
```yaml
|
||||
apiVersion: groupsnapshot.storage.k8s.io/v1alpha1
|
||||
apiVersion: groupsnapshot.storage.k8s.io/v1beta2
|
||||
kind: VolumeGroupSnapshotClass
|
||||
metadata:
|
||||
name: csi-vgs-class
|
||||
labels:
|
||||
velero.io/csi-volumegroupsnapshot-class: "true"
|
||||
spec:
|
||||
driver: ebs.csi.aws.com
|
||||
deletionPolicy: Delete
|
||||
driver: ebs.csi.aws.com
|
||||
deletionPolicy: Delete
|
||||
```
|
||||
|
||||
Verify your VolumeGroupSnapshotClass has the correct label:
|
||||
|
||||
Reference in New Issue
Block a user