Skip to content

Commit cfc480a

Browse files
committed
[zh-cn]sync client-authentication.v1beta1
Signed-off-by: xin.li <[email protected]>
1 parent d6648bc commit cfc480a

1 file changed

Lines changed: 47 additions & 54 deletions

File tree

content/zh-cn/docs/reference/config-api/client-authentication.v1beta1.md

Lines changed: 47 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,10 @@ ExecCredential 由基于 exec 的插件使用,与 HTTP 传输组件沟通凭
3737
<a href="#client-authentication-k8s-io-v1beta1-ExecCredentialSpec"><code>ExecCredentialSpec</code></a>
3838
</td>
3939
<td>
40-
<!--
41-
Spec holds information passed to the plugin by the transport.
42-
-->
43-
44-
字段 <code>spec</code> 包含由 HTTP 传输组件传递给插件的信息。
40+
<!--
41+
Spec holds information passed to the plugin by the transport.
42+
-->
43+
字段 <code>spec</code> 包含由 HTTP 传输组件传递给插件的信息。
4544
</td>
4645
</tr>
4746

@@ -50,12 +49,11 @@ ExecCredential 由基于 exec 的插件使用,与 HTTP 传输组件沟通凭
5049
<a href="#client-authentication-k8s-io-v1beta1-ExecCredentialStatus"><code>ExecCredentialStatus</code></a>
5150
</td>
5251
<td>
53-
<!--
54-
Status is filled in by the plugin and holds the credentials that the transport
55-
should use to contact the API.
56-
-->
57-
58-
字段 <code>status</code> 由插件填充,包含传输组件与 API 服务器连接时需要提供的凭据。
52+
<!--
53+
Status is filled in by the plugin and holds the credentials that the transport
54+
should use to contact the API.
55+
-->
56+
字段 <code>status</code> 由插件填充,包含传输组件与 API 服务器连接时需要提供的凭据。
5957
</td>
6058
</tr>
6159

@@ -96,11 +94,10 @@ Cluster 中包含允许 exec 插件与 Kubernetes
9694
<code>string</code>
9795
</td>
9896
<td>
99-
<!--
100-
Server is the address of the kubernetes cluster (https://hostname:port).
101-
-->
102-
103-
字段 server 是 Kubernetes 集群的地址(https://hostname:port)。
97+
<!--
98+
Server is the address of the kubernetes cluster (https://hostname:port).
99+
-->
100+
字段 server 是 Kubernetes 集群的地址(https://hostname:port)。
104101
</td>
105102
</tr>
106103

@@ -114,8 +111,8 @@ Cluster 中包含允许 exec 插件与 Kubernetes
114111
check server certificates against. If ServerName is empty, the hostname
115112
used to contact the server is used.
116113
-->
117-
tls-server-name 是用来提供给服务器用作 SNI 解析的,客户端以此检查服务器的证书。
118-
如此字段为空,则使用链接服务器时使用的主机名。
114+
tls-server-name 是用来提供给服务器用作 SNI 解析的,客户端以此检查服务器的证书。
115+
如此字段为空,则使用链接服务器时使用的主机名。
119116
</td>
120117
</tr>
121118

@@ -128,8 +125,8 @@ used to contact the server is used.
128125
InsecureSkipTLSVerify skips the validity check for the server's certificate.
129126
This will make your HTTPS connections insecure.
130127
-->
131-
设置此字段之后,会令客户端跳过对服务器端证书的合法性检查。
132-
这会使得你的 HTTPS 链接不再安全。
128+
设置此字段之后,会令客户端跳过对服务器端证书的合法性检查。
129+
这会使得你的 HTTPS 链接不再安全。
133130
</td>
134131
</tr>
135132

@@ -142,8 +139,8 @@ This will make your HTTPS connections insecure.
142139
CAData contains PEM-encoded certificate authority certificates.
143140
If empty, system roots should be used.
144141
-->
145-
此字段包含 PEM 编码的证书机构(CA)证书。
146-
如果为空,则使用系统的根证书。
142+
此字段包含 PEM 编码的证书机构(CA)证书。
143+
如果为空,则使用系统的根证书。
147144
</td>
148145
</tr>
149146

@@ -152,11 +149,10 @@ If empty, system roots should be used.
152149
<code>string</code>
153150
</td>
154151
<td>
155-
<!--
156-
ProxyURL is the URL to the proxy to be used for all requests to this cluster.
157-
-->
158-
159-
此字段用来设置向集群发送所有请求时要使用的代理服务器。
152+
<!--
153+
ProxyURL is the URL to the proxy to be used for all requests to this cluster.
154+
-->
155+
此字段用来设置向集群发送所有请求时要使用的代理服务器。
160156
</td>
161157
</tr>
162158

@@ -165,18 +161,17 @@ If empty, system roots should be used.
165161
<code>bool</code>
166162
</td>
167163
<td>
168-
<p>
169-
<!--
170-
DisableCompression allows client to opt-out of response compression for all requests to the server. This is useful
171-
to speed up requests (specifically lists) when client-server network bandwidth is ample, by saving time on
172-
compression (server-side) and decompression (client-side): https://github.com/kubernetes/kubernetes/issues/112296.
173-
-->
174-
175-
disable-compression 允许客户端针对到服务器的所有请求选择取消响应压缩。
176-
当客户端服务器网络带宽充足时,这有助于通过节省压缩(服务器端)和解压缩
177-
(客户端)时间来加快请求(特别是列表)的速度:
178-
https://github.com/kubernetes/kubernetes/issues/112296。
179-
</p>
164+
<p>
165+
<!--
166+
DisableCompression allows client to opt-out of response compression for all requests to the server. This is useful
167+
to speed up requests (specifically lists) when client-server network bandwidth is ample, by saving time on
168+
compression (server-side) and decompression (client-side): https://github.com/kubernetes/kubernetes/issues/112296.
169+
-->
170+
disable-compression 允许客户端针对到服务器的所有请求选择取消响应压缩。
171+
当客户端服务器网络带宽充足时,这有助于通过节省压缩(服务器端)和解压缩
172+
(客户端)时间来加快请求(特别是列表)的速度:
173+
https://github.com/kubernetes/kubernetes/issues/112296。
174+
</p>
180175
</td>
181176
</tr>
182177

@@ -237,7 +232,7 @@ Kubeconfig 中保存 Secret 数据。
237232
</p>
238233
</td>
239234
</tr>
240-
235+
241236
</tbody>
242237
</table>
243238

@@ -270,9 +265,9 @@ kubernetes cluster being authenticated to. Note that Cluster is non-nil only
270265
when provideClusterInfo is set to true in the exec provider config (i.e.,
271266
ExecConfig.ProvideClusterInfo).
272267
-->
273-
此字段中包含的信息使得 exec 插件能够与要访问的 Kubernetes 集群通信。
274-
注意,cluster 字段只有在 exec 驱动的配置中 provideClusterInfo
275-
(即:<code>ExecConfig.ProvideClusterInfo</code>)被设置为 true 时才不能为空。
268+
此字段中包含的信息使得 exec 插件能够与要访问的 Kubernetes 集群通信。
269+
注意,cluster 字段只有在 exec 驱动的配置中 provideClusterInfo
270+
(即:<code>ExecConfig.ProvideClusterInfo</code>)被设置为 true 时才不能为空。
276271
</td>
277272
</tr>
278273

@@ -312,14 +307,13 @@ exec 插件本身至少应通过文件访问许可来实施保护。
312307

313308
<tr>
314309
<td><code>expirationTimestamp</code><br/>
315-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#time-v1-meta"><code>meta/v1.Time</code></a>
310+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.35/#time-v1-meta"><code>meta/v1.Time</code></a>
316311
</td>
317312
<td>
318-
<!--
319-
ExpirationTimestamp indicates a time when the provided credentials expire.
320-
-->
321-
322-
给出所提供的凭据到期的时间。
313+
<!--
314+
ExpirationTimestamp indicates a time when the provided credentials expire.
315+
-->
316+
给出所提供的凭据到期的时间。
323317
</td>
324318
</tr>
325319

@@ -328,11 +322,10 @@ exec 插件本身至少应通过文件访问许可来实施保护。
328322
<code>string</code>
329323
</td>
330324
<td>
331-
<!--
332-
Token is a bearer token used by the client for request authentication.
333-
-->
334-
335-
客户端用做请求身份认证的持有者令牌。
325+
<!--
326+
Token is a bearer token used by the client for request authentication.
327+
-->
328+
客户端用做请求身份认证的持有者令牌。
336329
</td>
337330
</tr>
338331

0 commit comments

Comments
 (0)