Skip to content

Commit

Permalink
res: Add VolumeSnapshot template
Browse files Browse the repository at this point in the history
  • Loading branch information
lindhe committed Jan 20, 2025
1 parent 59986e4 commit 58d9bae
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions res/kubernetes/VolumeSnapshot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
apiVersion: snapshot.storage.k8s.io/v1
kind: VolumeSnapshot
metadata:
name: foo
spec:
volumeSnapshotClassName: trident # Replace with your volume snapshot class name

Check warning on line 7 in res/kubernetes/VolumeSnapshot.yaml

View workflow job for this annotation

GitHub Actions / yamllint

7:36 [comments] too few spaces before comment

Check failure on line 7 in res/kubernetes/VolumeSnapshot.yaml

View workflow job for this annotation

GitHub Actions / yamllint

7:81 [line-length] line too long (81 > 80 characters)
source:
persistentVolumeClaimName: my-pvc # Replace with your PVC name

Check warning on line 9 in res/kubernetes/VolumeSnapshot.yaml

View workflow job for this annotation

GitHub Actions / yamllint

9:39 [comments] too few spaces before comment

0 comments on commit 58d9bae

Please sign in to comment.