File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
reference/labels-annotations-taints Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ $ kubectl get crd volumesnapshotcontent -o yaml
227227
228228If 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
231231the ` VolumeSnapshotContent` that corresponds to the `VolumeSnapshot`.
232232
233233For pre-provisioned snapshots, `spec.sourceVolumeMode` needs to be populated
@@ -241,7 +241,7 @@ kind: VolumeSnapshotContent
241241metadata:
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"
245245spec:
246246 deletionPolicy: Delete
247247 driver: hostpath.csi.k8s.io
Original file line number Diff line number Diff line change @@ -844,9 +844,9 @@ you through the steps you follow to apply a seccomp profile to a Pod or to one o
844844its containers. That tutorial covers the supported mechanism for configuring seccomp in Kubernetes,
845845based 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
851851Used on: VolumeSnapshotContent
852852
You can’t perform that action at this time.
0 commit comments