Skip to content

Commit b944faa

Browse files
authored
Merge pull request #52396 from my-git9/npa-20828
[zh-cn]sync kubectl_create_secret_docker-registry.md
2 parents 41cfab5 + 78cb88a commit b944faa

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_docker-registry.md

Lines changed: 56 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,8 @@ Name of the manager used to track field ownership.
177177
<td colspan="2">--from-file strings</td>
178178
</tr>
179179
<tr>
180-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
180+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
181+
<p>
181182
<!--
182183
Key files can be specified using their file path, in which case a default name will be given to them, or optionally with a name and file path, in which case the given name will be used. Specifying a directory will iterate each named file in the directory that is a valid secret key.
183184
Key files can be specified using their file path, in which case a default name of .dockerconfigjson will be given to them, or optionally with a name and file path, in which case the given name will be used. Specifying a directory will iterate each named file in the directory that is a valid secret key. For this command, the key should always be .dockerconfigjson.
@@ -193,7 +194,8 @@ Key files can be specified using their file path, in which case a default name o
193194
<td colspan="2">-h, --help</td>
194195
</tr>
195196
<tr>
196-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
197+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
198+
<p>
197199
<!--
198200
help for docker-registry
199201
-->
@@ -205,7 +207,8 @@ docker-registry 操作的帮助命令。
205207
<td colspan="2">-o, --output string</td>
206208
</tr>
207209
<tr>
208-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
210+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
211+
<p>
209212
<!--
210213
Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).
211214
-->
@@ -218,7 +221,8 @@ json、yaml、name、go-template、go-template-file、template、templatefile、
218221
<td colspan="2">--save-config</td>
219222
</tr>
220223
<tr>
221-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
224+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
225+
<p>
222226
<!--
223227
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.
224228
-->
@@ -231,7 +235,8 @@ If true, the configuration of current object will be saved in its annotation. Ot
231235
<td colspan="2">--show-managed-fields</td>
232236
</tr>
233237
<tr>
234-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
238+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
239+
<p>
235240
<!--
236241
If true, keep the managedFields when printing objects in JSON or YAML format.
237242
-->
@@ -243,7 +248,8 @@ If true, keep the managedFields when printing objects in JSON or YAML format.
243248
<td colspan="2">--template string</td>
244249
</tr>
245250
<tr>
246-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
251+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
252+
<p>
247253
<!--
248254
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].
249255
-->
@@ -256,7 +262,8 @@ Template string or path to template file to use when -o=go-template, -o=go-templ
256262
<td colspan="2">--validate string[="strict"]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"strict"</td>
257263
</tr>
258264
<tr>
259-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
265+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
266+
<p>
260267
<!--
261268
Must be one of: strict (or true), warn, ignore (or false). &quot;true&quot; or &quot;strict&quot; will
262269
use a schema to validate the input and fail the request if invalid. It will perform server side validation
@@ -281,7 +288,7 @@ unknown or duplicate fields.
281288

282289
## {{% heading "parentoptions" %}}
283290

284-
<table style="width: 100%; table-layout: fixed;">
291+
<table style="width: 100%; table-layout: fixed;">
285292
<colgroup>
286293
<col span="1" style="width: 10px;" />
287294
<col span="1" />
@@ -292,7 +299,8 @@ unknown or duplicate fields.
292299
<td colspan="2">--as string</td>
293300
</tr>
294301
<tr>
295-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
302+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
303+
<p>
296304
<!--
297305
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
298306
-->
@@ -304,7 +312,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
304312
<td colspan="2">--as-group strings</td>
305313
</tr>
306314
<tr>
307-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
315+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
316+
<p>
308317
<!--
309318
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
310319
-->
@@ -316,7 +325,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
316325
<td colspan="2">--as-uid string</td>
317326
</tr>
318327
<tr>
319-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
328+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
329+
<p>
320330
<!--
321331
UID to impersonate for the operation.
322332
-->
@@ -328,7 +338,8 @@ UID to impersonate for the operation.
328338
<td colspan="2">--cache-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"$HOME/.kube/cache"</td>
329339
</tr>
330340
<tr>
331-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
341+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
342+
<p>
332343
<!--
333344
Default cache directory
334345
-->
@@ -340,7 +351,8 @@ Default cache directory
340351
<td colspan="2">--certificate-authority string</td>
341352
</tr>
342353
<tr>
343-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
354+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
355+
<p>
344356
<!--
345357
Path to a cert file for the certificate authority
346358
-->
@@ -352,7 +364,8 @@ Path to a cert file for the certificate authority
352364
<td colspan="2">--client-certificate string</td>
353365
</tr>
354366
<tr>
355-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
367+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
368+
<p>
356369
<!--
357370
Path to a client certificate file for TLS
358371
-->
@@ -364,7 +377,8 @@ TLS 客户端证书文件的路径。
364377
<td colspan="2">--client-key string</td>
365378
</tr>
366379
<tr>
367-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
380+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
381+
<p>
368382
<!--
369383
Path to a client key file for TLS
370384
-->
@@ -376,7 +390,8 @@ TLS 客户端密钥文件的路径。
376390
<td colspan="2">--cluster string</td>
377391
</tr>
378392
<tr>
379-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
393+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
394+
<p>
380395
<!--
381396
The name of the kubeconfig cluster to use
382397
-->
@@ -388,43 +403,21 @@ The name of the kubeconfig cluster to use
388403
<td colspan="2">--context string</td>
389404
</tr>
390405
<tr>
391-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
406+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
407+
<p>
392408
<!--
393409
The name of the kubeconfig context to use
394410
-->
395411
要使用的 kubeconfig 上下文的名称。
396412
</p></td>
397413
</tr>
398414

399-
<tr>
400-
<td colspan="2">--default-not-ready-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:300</td>
401-
</tr>
402-
<tr>
403-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
404-
<!--
405-
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.
406-
-->
407-
设置针对 notReady:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
408-
</p></td>
409-
</tr>
410-
411-
<tr>
412-
<td colspan="2">--default-unreachable-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:300</td>
413-
</tr>
414-
<tr>
415-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
416-
<!--
417-
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.
418-
-->
419-
设置针对 unreachable:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
420-
</p></td>
421-
</tr>
422-
423415
<tr>
424416
<td colspan="2">--disable-compression</td>
425417
</tr>
426418
<tr>
427-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
419+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
420+
<p>
428421
<!--
429422
If true, opt-out of response compression for all requests to the server
430423
-->
@@ -436,7 +429,8 @@ If true, opt-out of response compression for all requests to the server
436429
<td colspan="2">--insecure-skip-tls-verify</td>
437430
</tr>
438431
<tr>
439-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
432+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
433+
<p>
440434
<!--
441435
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
442436
-->
@@ -448,19 +442,36 @@ If true, the server's certificate will not be checked for validity. This will ma
448442
<td colspan="2">--kubeconfig string</td>
449443
</tr>
450444
<tr>
451-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
445+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
446+
<p>
452447
<!--
453448
Path to the kubeconfig file to use for CLI requests.
454449
-->
455450
CLI 请求要使用的 kubeconfig 文件的路径。
456451
</p></td>
457452
</tr>
458453

454+
<tr>
455+
<td colspan="2">--kuberc string</td>
456+
</tr>
457+
<tr>
458+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
459+
<p>
460+
<!--
461+
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.
462+
-->
463+
用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
464+
特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
465+
</p>
466+
</td>
467+
</tr>
468+
459469
<tr>
460470
<td colspan="2">--match-server-version</td>
461471
</tr>
462472
<tr>
463-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
473+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
474+
<p>
464475
<!--
465476
Require server version to match client version
466477
-->

0 commit comments

Comments
 (0)