File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
content/zh-cn/docs/concepts/storage Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -381,12 +381,12 @@ kubectl get crd volumesnapshotcontent -o yaml
381
381
<!--
382
382
If you want to allow users to create a `PersistentVolumeClaim` from an existing
383
383
` VolumeSnapshot` , but with a different volume mode than the source, the annotation
384
- `snapshot.storage.kubernetes.io/allowVolumeModeChange : " true" ` needs to be added to
384
+ `snapshot.storage.kubernetes.io/allow-volume-mode-change : " true" ` needs to be added to
385
385
the ` VolumeSnapshotContent` that corresponds to the `VolumeSnapshot`.
386
386
-->
387
387
如果你希望允许用户从现有的 `VolumeSnapshot` 创建 `PersistentVolumeClaim`,
388
388
但是使用与源卷不同的卷模式,则需要添加注解
389
- `snapshot.storage.kubernetes.io/allowVolumeModeChange : " true" `
389
+ `snapshot.storage.kubernetes.io/allow-volume-mode-change : " true" `
390
390
到对应 ` VolumeSnapshot` 的 `VolumeSnapshotContent` 中。
391
391
392
392
<!--
@@ -405,7 +405,7 @@ kind: VolumeSnapshotContent
405
405
metadata:
406
406
name: new-snapshot-content-test
407
407
annotations:
408
- - snapshot.storage.kubernetes.io/allowVolumeModeChange : "true"
408
+ - snapshot.storage.kubernetes.io/allow-volume-mode-change : "true"
409
409
spec:
410
410
deletionPolicy: Delete
411
411
driver: hostpath.csi.k8s.io
You can’t perform that action at this time.
0 commit comments