Skip to content

Commit a2eba31

Browse files
authored
Merge pull request #26012 from yuandongx/patch-22
[zh] snapshot.storage.k8s.io/v1beta1 --> apiVersion: snapshot.storage.k8s.io/v1
2 parents 257c219 + 4d18628 commit a2eba31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/zh/docs/concepts/storage/volume-snapshot-classes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ VolumeSnapshotClass 对象的名称很重要,是用户可以请求特定类的
5252
对象一旦创建就无法更新。
5353

5454
```yaml
55-
apiVersion: snapshot.storage.k8s.io/v1beta1
55+
apiVersion: snapshot.storage.k8s.io/v1
5656
kind: VolumeSnapshotClass
5757
metadata:
5858
name: csi-hostpath-snapclass
@@ -70,7 +70,7 @@ that don't request any particular class to bind to by adding the
7070
方法是设置注解 `snapshot.storage.kubernetes.io/is-default-class: "true"`
7171
7272
```yaml
73-
apiVersion: snapshot.storage.k8s.io/v1beta1
73+
apiVersion: snapshot.storage.k8s.io/v1
7474
kind: VolumeSnapshotClass
7575
metadata:
7676
name: csi-hostpath-snapclass

0 commit comments

Comments
 (0)