Files
external-snapshotter/examples/kubernetes/invalid-snapshot-v1.yaml
Niels de Vos 926df0c8c4 add "document-start" 1st line to all yaml files
The YAML Specification requires three daashes `---` as marker for the
start of a content block. That means, each YAML file needs to start with
`---` on the first line (or after initial comments).

See-also: https://yaml.org/
2023-05-25 18:13:50 +02:00

11 lines
339 B
YAML

---
apiVersion: snapshot.storage.k8s.io/v1
kind: VolumeSnapshot
metadata:
name: new-snapshot-demo-v1
spec:
volumeSnapshotClassName: csi-hostpath-snapclass-v1
source: # Only one of the two fields should be set for a snapshot. Therefore this snapshot is invalid.
persistentVolumeClaimName: pvc
volumeSnapshotContentName: vsc