Skip to content

Commit

Permalink
[zh-cn] sync 1.25 persistent-volume-claim-v1.md and persistent-volume…
Browse files Browse the repository at this point in the history
…-v1.md
  • Loading branch information
jzhupup committed Sep 2, 2022
1 parent a5e96bf commit 3d4d1fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,13 @@ PersistentVolumeClaimSpec 描述存储设备的常用参数,并支持通过 so
volumeMode 定义申领需要哪种类别的卷。当申领规约中未包含此字段时,意味着取值为 Filesystem。

<!--
### Alpha level
### Beta level
- **dataSource** (<a href="{{< ref "../common-definitions/typed-local-object-reference#TypedLocalObjectReference" >}}">TypedLocalObjectReference</a>)
dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field.
-->
### Alpha 级别
### Beta 级别
- **dataSource** (<a href="{{< ref "../common-definitions/typed-local-object-reference#TypedLocalObjectReference" >}}">TypedLocalObjectReference</a>)

dataSource 字段可用于二选一:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ PersistentVolumeSpec 是持久卷的规约。
- **csi.nodeExpandSecretRef** (SecretReference)
nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call. This is an alpha field and requires enabling CSINodeExpandSecret feature gate. This field is optional, may be omitted if no secret is required. If the secret object contains more than one secret, all secrets are passed.
nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call. This is an beta field and requires enabling CSINodeExpandSecret feature gate. This field is optional, may be omitted if no secret is required. If the secret object contains more than one secret, all secrets are passed.
<a name="SecretReference"></a>
*SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace*
Expand All @@ -708,7 +708,7 @@ PersistentVolumeSpec 是持久卷的规约。

nodeExpandSecretRef 是对包含敏感信息的 Secret 对象的引用,
从而传递到 CSI 驱动以完成 CSI NodeExpandVolume 和 NodeUnpublishVolume 调用。
这是一个 Alpha 字段,需要启用 CSINodeExpandSecret 特性门控。
这是一个 Beta 字段,需要启用 CSINodeExpandSecret 特性门控。
此字段是可选的,且如果不需要 Secret,则此字段可以为空。
如果 Secret 对象包含多个 Secret,则所有 Secret 被传递。

Expand Down

0 comments on commit 3d4d1fd

Please sign in to comment.