Skip to content

Commit

Permalink
Default Annotation for VolumeSnapshotClasses are per CSI driver
Browse files Browse the repository at this point in the history
Each CSI driver can have a default VolumeSnapshotClass defined. 

Closes kubernetes#49069
  • Loading branch information
vinzent authored Dec 13, 2024
1 parent 21b46d0 commit c225aa5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion content/en/docs/concepts/storage/volume-snapshot-classes.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ deletionPolicy: Delete
parameters:
```
Administrators can specify a default VolumeSnapshotClass for VolumeSnapshots
Administrators can specify a default VolumeSnapshotClass per CSI driver for VolumeSnapshots
that don't request any particular class to bind to by adding the
`snapshot.storage.kubernetes.io/is-default-class: "true"` annotation:

Expand All @@ -67,6 +67,9 @@ deletionPolicy: Delete
parameters:
```

If more than one default annotation per CSI driver is found, the snapshot
will fail.

### Driver

Volume snapshot classes have a driver that determines what CSI volume plugin is
Expand Down

0 comments on commit c225aa5

Please sign in to comment.