Skip to content

Commit a84b268

Browse files
committed
[zh-cn]sync kubectl_create_secret_tls.md
Signed-off-by: xin.li <[email protected]>
1 parent c75d9b3 commit a84b268

File tree

1 file changed

+56
-45
lines changed

1 file changed

+56
-45
lines changed

content/zh-cn/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_tls.md

Lines changed: 56 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ PEM 编码的公钥证书的路径。
8888
<td colspan="2">--dry-run string[="unchanged"]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"none"</td>
8989
</tr>
9090
<tr>
91-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
91+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
92+
<p>
9293
<!--
9394
Must be &quot;none&quot;, &quot;server&quot;, or &quot;client&quot;. If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.
9495
-->
@@ -101,7 +102,8 @@ Must be &quot;none&quot;, &quot;server&quot;, or &quot;client&quot;. If client s
101102
<td colspan="2">--field-manager string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"kubectl-create"</td>
102103
</tr>
103104
<tr>
104-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
105+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
106+
<p>
105107
<!--
106108
Name of the manager used to track field ownership.
107109
-->
@@ -113,7 +115,8 @@ Name of the manager used to track field ownership.
113115
<td colspan="2">-h, --help</td>
114116
</tr>
115117
<tr>
116-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
118+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
119+
<p>
117120
<!--
118121
help for tls
119122
-->
@@ -125,7 +128,8 @@ tls 操作的帮助命令。
125128
<td colspan="2">--key string</td>
126129
</tr>
127130
<tr>
128-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
131+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
132+
<p>
129133
<!--
130134
Path to private key associated with given certificate.
131135
-->
@@ -137,7 +141,8 @@ Path to private key associated with given certificate.
137141
<td colspan="2">-o, --output string</td>
138142
</tr>
139143
<tr>
140-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
144+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
145+
<p>
141146
<!--
142147
Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).
143148
-->
@@ -150,7 +155,8 @@ json、yaml、name、go-template、go-template-file、template、templatefile、
150155
<td colspan="2">--save-config</td>
151156
</tr>
152157
<tr>
153-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
158+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
159+
<p>
154160
<!--
155161
If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.
156162
-->
@@ -163,7 +169,8 @@ If true, the configuration of current object will be saved in its annotation. Ot
163169
<td colspan="2">--show-managed-fields</td>
164170
</tr>
165171
<tr>
166-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
172+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
173+
<p>
167174
<!--
168175
If true, keep the managedFields when printing objects in JSON or YAML format.
169176
-->
@@ -175,7 +182,8 @@ If true, keep the managedFields when printing objects in JSON or YAML format.
175182
<td colspan="2">--template string</td>
176183
</tr>
177184
<tr>
178-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
185+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
186+
<p>
179187
<!--
180188
Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].
181189
-->
@@ -188,7 +196,8 @@ Template string or path to template file to use when -o=go-template, -o=go-templ
188196
<td colspan="2">--validate string[="strict"]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"strict"</td>
189197
</tr>
190198
<tr>
191-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
199+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
200+
<p>
192201
<!--
193202
Must be one of: strict (or true), warn, ignore (or false). &quot;true&quot; or &quot;strict&quot; will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. &quot;warn&quot; will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as &quot;ignore&quot; otherwise. &quot;false&quot; or &quot;ignore&quot; will not perform any schema validation, silently dropping any unknown or duplicate fields.
194203
-->
@@ -207,7 +216,7 @@ Must be one of: strict (or true), warn, ignore (or false). &quot;true&quot; or &
207216

208217
## {{% heading "parentoptions" %}}
209218

210-
<table style="width: 100%; table-layout: fixed;">
219+
<table style="width: 100%; table-layout: fixed;">
211220
<colgroup>
212221
<col span="1" style="width: 10px;" />
213222
<col span="1" />
@@ -218,7 +227,8 @@ Must be one of: strict (or true), warn, ignore (or false). &quot;true&quot; or &
218227
<td colspan="2">--as string</td>
219228
</tr>
220229
<tr>
221-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
230+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
231+
<p>
222232
<!--
223233
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
224234
-->
@@ -230,7 +240,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
230240
<td colspan="2">--as-group strings</td>
231241
</tr>
232242
<tr>
233-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
243+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
244+
<p>
234245
<!--
235246
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
236247
-->
@@ -242,7 +253,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
242253
<td colspan="2">--as-uid string</td>
243254
</tr>
244255
<tr>
245-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
256+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
257+
<p>
246258
<!--
247259
UID to impersonate for the operation.
248260
-->
@@ -254,7 +266,8 @@ UID to impersonate for the operation.
254266
<td colspan="2">--cache-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"$HOME/.kube/cache"</td>
255267
</tr>
256268
<tr>
257-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
269+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
270+
<p>
258271
<!--
259272
Default cache directory
260273
-->
@@ -266,7 +279,8 @@ Default cache directory
266279
<td colspan="2">--certificate-authority string</td>
267280
</tr>
268281
<tr>
269-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
282+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
283+
<p>
270284
<!--
271285
Path to a cert file for the certificate authority
272286
-->
@@ -278,7 +292,8 @@ Path to a cert file for the certificate authority
278292
<td colspan="2">--client-certificate string</td>
279293
</tr>
280294
<tr>
281-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
295+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
296+
<p>
282297
<!--
283298
Path to a client certificate file for TLS
284299
-->
@@ -290,7 +305,8 @@ TLS 客户端证书文件的路径。
290305
<td colspan="2">--client-key string</td>
291306
</tr>
292307
<tr>
293-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
308+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
309+
<p>
294310
<!--
295311
Path to a client key file for TLS
296312
-->
@@ -302,7 +318,8 @@ TLS 客户端密钥文件的路径。
302318
<td colspan="2">--cluster string</td>
303319
</tr>
304320
<tr>
305-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
321+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
322+
<p>
306323
<!--
307324
The name of the kubeconfig cluster to use
308325
-->
@@ -322,35 +339,12 @@ The name of the kubeconfig context to use
322339
</p></td>
323340
</tr>
324341

325-
<tr>
326-
<td colspan="2">--default-not-ready-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:300</td>
327-
</tr>
328-
<tr>
329-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
330-
<!--
331-
Indicates the tolerationSeconds of the toleration for notReady:NoExecute that is added by default to every pod that does not already have such a toleration.
332-
-->
333-
设置针对 notReady:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
334-
</p></td>
335-
</tr>
336-
337-
<tr>
338-
<td colspan="2">--default-unreachable-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:300</td>
339-
</tr>
340-
<tr>
341-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
342-
<!--
343-
Indicates the tolerationSeconds of the toleration for unreachable:NoExecute that is added by default to every pod that does not already have such a toleration.
344-
-->
345-
设置针对 unreachable:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
346-
</p></td>
347-
</tr>
348-
349342
<tr>
350343
<td colspan="2">--disable-compression</td>
351344
</tr>
352345
<tr>
353-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
346+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
347+
<p>
354348
<!--
355349
If true, opt-out of response compression for all requests to the server
356350
-->
@@ -362,7 +356,8 @@ If true, opt-out of response compression for all requests to the server
362356
<td colspan="2">--insecure-skip-tls-verify</td>
363357
</tr>
364358
<tr>
365-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
359+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
360+
<p>
366361
<!--
367362
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
368363
-->
@@ -374,14 +369,30 @@ If true, the server's certificate will not be checked for validity. This will ma
374369
<td colspan="2">--kubeconfig string</td>
375370
</tr>
376371
<tr>
377-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
372+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
373+
<p>
378374
<!--
379375
Path to the kubeconfig file to use for CLI requests.
380376
-->
381377
CLI 请求要使用的 kubeconfig 文件的路径。
382378
</p></td>
383379
</tr>
384380

381+
<tr>
382+
<td colspan="2">--kuberc string</td>
383+
</tr>
384+
<tr>
385+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
386+
<p>
387+
<!--
388+
Path to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.
389+
-->
390+
用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
391+
特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
392+
</p>
393+
</td>
394+
</tr>
395+
385396
<tr>
386397
<td colspan="2">--match-server-version</td>
387398
</tr>

0 commit comments

Comments
 (0)