Skip to content

Commit 9ab8cd6

Browse files
committed
Update volume mode change annotation in documentation
1 parent 831f795 commit 9ab8cd6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

content/en/docs/concepts/storage/volume-snapshots.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ $ kubectl get crd volumesnapshotcontent -o yaml
227227

228228
If you want to allow users to create a `PersistentVolumeClaim` from an existing
229229
`VolumeSnapshot`, but with a different volume mode than the source, the annotation
230-
`snapshot.storage.kubernetes.io/allowVolumeModeChange: "true"`needs to be added to
230+
`snapshot.storage.kubernetes.io/allow-volume-mode-change: "true"`needs to be added to
231231
the `VolumeSnapshotContent` that corresponds to the `VolumeSnapshot`.
232232

233233
For pre-provisioned snapshots, `spec.sourceVolumeMode` needs to be populated
@@ -241,7 +241,7 @@ kind: VolumeSnapshotContent
241241
metadata:
242242
name: new-snapshot-content-test
243243
annotations:
244-
- snapshot.storage.kubernetes.io/allowVolumeModeChange: "true"
244+
- snapshot.storage.kubernetes.io/allow-volume-mode-change: "true"
245245
spec:
246246
deletionPolicy: Delete
247247
driver: hostpath.csi.k8s.io

content/en/docs/reference/labels-annotations-taints/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -844,9 +844,9 @@ you through the steps you follow to apply a seccomp profile to a Pod or to one o
844844
its containers. That tutorial covers the supported mechanism for configuring seccomp in Kubernetes,
845845
based on setting `securityContext` within the Pod's `.spec`.
846846

847-
### snapshot.storage.kubernetes.io/allowVolumeModeChange
847+
### snapshot.storage.kubernetes.io/allow-volume-mode-change
848848

849-
Example: `snapshot.storage.kubernetes.io/allowVolumeModeChange: "true"`
849+
Example: `snapshot.storage.kubernetes.io/allow-volume-mode-change: "true"`
850850

851851
Used on: VolumeSnapshotContent
852852

0 commit comments

Comments
 (0)