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
227
227
228
228
If you want to allow users to create a `PersistentVolumeClaim` from an existing
229
229
` 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
231
231
the ` VolumeSnapshotContent` that corresponds to the `VolumeSnapshot`.
232
232
233
233
For pre-provisioned snapshots, `spec.sourceVolumeMode` needs to be populated
@@ -241,7 +241,7 @@ kind: VolumeSnapshotContent
241
241
metadata:
242
242
name: new-snapshot-content-test
243
243
annotations:
244
- - snapshot.storage.kubernetes.io/allowVolumeModeChange : "true"
244
+ - snapshot.storage.kubernetes.io/allow-volume-mode-change : "true"
245
245
spec:
246
246
deletionPolicy: Delete
247
247
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
844
844
its containers. That tutorial covers the supported mechanism for configuring seccomp in Kubernetes,
845
845
based on setting ` securityContext ` within the Pod's ` .spec ` .
846
846
847
- ### snapshot.storage.kubernetes.io/allowVolumeModeChange
847
+ ### snapshot.storage.kubernetes.io/allow-volume-mode-change
848
848
849
- Example: ` snapshot.storage.kubernetes.io/allowVolumeModeChange : "true" `
849
+ Example: ` snapshot.storage.kubernetes.io/allow-volume-mode-change : "true" `
850
850
851
851
Used on: VolumeSnapshotContent
852
852
You can’t perform that action at this time.
0 commit comments