Skip to content

Commit 8ac70d6

Browse files
authored
Merge pull request #39393 from Zhuzhenghao/allow-volume-mode-change
[zh] Resync page volume-snapshots
2 parents ff29e08 + 09c9776 commit 8ac70d6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/zh-cn/docs/concepts/storage/volume-snapshots.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -381,12 +381,12 @@ kubectl get crd volumesnapshotcontent -o yaml
381381
<!--
382382
If you want to allow users to create a `PersistentVolumeClaim` from an existing
383383
`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
385385
the `VolumeSnapshotContent` that corresponds to the `VolumeSnapshot`.
386386
-->
387387
如果你希望允许用户从现有的 `VolumeSnapshot` 创建 `PersistentVolumeClaim`,
388388
但是使用与源卷不同的卷模式,则需要添加注解
389-
`snapshot.storage.kubernetes.io/allowVolumeModeChange: "true"`
389+
`snapshot.storage.kubernetes.io/allow-volume-mode-change: "true"`
390390
到对应 `VolumeSnapshot` 的 `VolumeSnapshotContent` 中。
391391

392392
<!--
@@ -405,7 +405,7 @@ kind: VolumeSnapshotContent
405405
metadata:
406406
name: new-snapshot-content-test
407407
annotations:
408-
- snapshot.storage.kubernetes.io/allowVolumeModeChange: "true"
408+
- snapshot.storage.kubernetes.io/allow-volume-mode-change: "true"
409409
spec:
410410
deletionPolicy: Delete
411411
driver: hostpath.csi.k8s.io

0 commit comments

Comments
 (0)