Skip to content

Commit 892e3c8

Browse files
authored
Merge pull request #49765 from my-git9/np-12791
[zh-cn]sync kubectl_create/*
2 parents 8f3d098 + adee3f9 commit 892e3c8

File tree

7 files changed

+100
-58
lines changed

7 files changed

+100
-58
lines changed

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

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -232,15 +232,21 @@ Template string or path to template file to use when -o=go-template, -o=go-templ
232232
<tr>
233233
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
234234
<!--
235-
Must be one of: strict (or true), warn, ignore (or false).<br/>&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.<br/>&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.<br/>&quot;false&quot; or &quot;ignore&quot; will not perform any schema validation, silently dropping any unknown or duplicate fields.
236-
-->
237-
必须是以下选项之一:strict(或 true)、warn、ignore(或 false)。<br/>
238-
"true" 或 "strict" 将使用模式定义来验证输入,如果无效,则请求失败。
235+
Must be one of: strict (or true), warn, ignore (or false). &quot;true&quot; or &quot;strict&quot; will
236+
use a schema to validate the input and fail the request if invalid. It will perform server side validation
237+
if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side
238+
validation if not. &quot;warn&quot; will warn about unknown or duplicate fields without blocking the request
239+
f server-side field validation is enabled on the API server, and behave as &quot;ignore&quot; otherwise.
240+
&quot;false&quot; or &quot;ignore&quot; will not perform any schema validation, silently dropping any
241+
unknown or duplicate fields.
242+
-->
243+
必须是以下选项之一:strict(或 true)、warn、ignore(或 false)。
244+
&quot;true&quot;&quot;strict&quot; 将使用模式定义来验证输入,如果无效,则请求失败。
239245
如果在 API 服务器上启用了 ServerSideFieldValidation,则执行服务器端验证,
240-
但如果未启用,它将回退到可靠性较低的客户端验证。<br/>
241-
如果在 API 服务器上启用了服务器端字段验证,"warn" 将警告未知或重复的字段而不阻止请求,
242-
否则操作与 "ignore" 的表现相同。<br/>
243-
"false""ignore" 将不会执行任何模式定义检查,而是静默删除所有未知或重复的字段。
246+
但如果未启用,它将回退到可靠性较低的客户端验证。
247+
如果在 API 服务器上启用了服务器端字段验证,&quot;warn&quot; 将警告未知或重复的字段而不阻止请求,
248+
否则操作与 &quot;ignore&quot; 的表现相同。
249+
&quot;false&quot;&quot;ignore&quot; 将不会执行任何模式定义检查,而是静默删除所有未知或重复的字段。
244250
</p></td>
245251
</tr>
246252

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

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -196,15 +196,21 @@ Template string or path to template file to use when -o=go-template, -o=go-templ
196196
<tr>
197197
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
198198
<!--
199-
Must be one of: strict (or true), warn, ignore (or false).<br/>&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.<br/>&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.<br/>&quot;false&quot; or &quot;ignore&quot; will not perform any schema validation, silently dropping any unknown or duplicate fields.
200-
-->
201-
必须是以下选项之一:strict(或 true)、warn、ignore(或 false)。<br/>
202-
"true" 或 "strict" 将使用模式定义来验证输入,如果无效,则请求失败。
199+
Must be one of: strict (or true), warn, ignore (or false). &quot;true&quot; or &quot;strict&quot; will
200+
use a schema to validate the input and fail the request if invalid. It will perform server side validation
201+
if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side
202+
validation if not. &quot;warn&quot; will warn about unknown or duplicate fields without blocking the request
203+
f server-side field validation is enabled on the API server, and behave as &quot;ignore&quot; otherwise.
204+
&quot;false&quot; or &quot;ignore&quot; will not perform any schema validation, silently dropping any
205+
unknown or duplicate fields.
206+
-->
207+
必须是以下选项之一:strict(或 true)、warn、ignore(或 false)。
208+
&quot;true&quot;&quot;strict&quot; 将使用模式定义来验证输入,如果无效,则请求失败。
203209
如果在 API 服务器上启用了 ServerSideFieldValidation,则执行服务器端验证,
204-
但如果未启用,它将回退到可靠性较低的客户端验证。<br/>
205-
如果在 API 服务器上启用了服务器端字段验证,"warn" 将警告未知或重复的字段而不阻止请求,
206-
否则操作与 "ignore" 的表现相同。<br/>
207-
"false""ignore" 将不会执行任何模式定义检查,而是静默删除所有未知或重复的字段。
210+
但如果未启用,它将回退到可靠性较低的客户端验证。
211+
如果在 API 服务器上启用了服务器端字段验证,&quot;warn&quot; 将警告未知或重复的字段而不阻止请求,
212+
否则操作与 &quot;ignore&quot; 的表现相同。
213+
&quot;false&quot;&quot;ignore&quot; 将不会执行任何模式定义检查,而是静默删除所有未知或重复的字段。
208214
</p></td>
209215
</tr>
210216

@@ -225,7 +231,7 @@ Verb that applies to the resources contained in the rule
225231

226232
## {{% heading "parentoptions" %}}
227233

228-
<table style="width: 100%; table-layout: fixed;">
234+
<table style="width: 100%; table-layout: fixed;">
229235
<colgroup>
230236
<col span="1" style="width: 10px;" />
231237
<col span="1" />

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

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -220,15 +220,21 @@ Usernames to bind to the role. The flag can be repeated to add multiple users.
220220
<tr>
221221
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
222222
<!--
223-
Must be one of: strict (or true), warn, ignore (or false).<br/>&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.<br/>&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.<br/>&quot;false&quot; or &quot;ignore&quot; will not perform any schema validation, silently dropping any unknown or duplicate fields.
224-
-->
225-
必须是以下选项之一:strict(或 true)、warn、ignore(或 false)。<br/>
226-
"true" 或 "strict" 将使用模式定义来验证输入,如果无效,则请求失败。
223+
Must be one of: strict (or true), warn, ignore (or false). &quot;true&quot; or &quot;strict&quot; will
224+
use a schema to validate the input and fail the request if invalid. It will perform server side validation
225+
if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side
226+
validation if not. &quot;warn&quot; will warn about unknown or duplicate fields without blocking the request
227+
f server-side field validation is enabled on the API server, and behave as &quot;ignore&quot; otherwise.
228+
&quot;false&quot; or &quot;ignore&quot; will not perform any schema validation, silently dropping any
229+
unknown or duplicate fields.
230+
-->
231+
必须是以下选项之一:strict(或 true)、warn、ignore(或 false)。
232+
&quot;true&quot;&quot;strict&quot; 将使用模式定义来验证输入,如果无效,则请求失败。
227233
如果在 API 服务器上启用了 ServerSideFieldValidation,则执行服务器端验证,
228-
但如果未启用,它将回退到可靠性较低的客户端验证。<br/>
229-
如果在 API 服务器上启用了服务器端字段验证,"warn" 将警告未知或重复的字段而不阻止请求,
230-
否则操作与 "ignore" 的表现相同。<br/>
231-
"false""ignore" 将不会执行任何模式定义检查,而是静默删除所有未知或重复的字段。
234+
但如果未启用,它将回退到可靠性较低的客户端验证。
235+
如果在 API 服务器上启用了服务器端字段验证,&quot;warn&quot; 将警告未知或重复的字段而不阻止请求,
236+
否则操作与 &quot;ignore&quot; 的表现相同。
237+
&quot;false&quot;&quot;ignore&quot; 将不会执行任何模式定义检查,而是静默删除所有未知或重复的字段。
232238
</p></td>
233239
</tr>
234240

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

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -258,15 +258,21 @@ Template string or path to template file to use when -o=go-template, -o=go-templ
258258
<tr>
259259
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
260260
<!--
261-
Must be one of: strict (or true), warn, ignore (or false).<br/>&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.<br/>&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.<br/>&quot;false&quot; or &quot;ignore&quot; will not perform any schema validation, silently dropping any unknown or duplicate fields.
262-
-->
263-
必须是以下选项之一:strict(或 true)、warn、ignore(或 false)。<br/>
264-
"true" 或 "strict" 将使用模式定义来验证输入,如果无效,则请求失败。
261+
Must be one of: strict (or true), warn, ignore (or false). &quot;true&quot; or &quot;strict&quot; will
262+
use a schema to validate the input and fail the request if invalid. It will perform server side validation
263+
if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side
264+
validation if not. &quot;warn&quot; will warn about unknown or duplicate fields without blocking the request
265+
f server-side field validation is enabled on the API server, and behave as &quot;ignore&quot; otherwise.
266+
&quot;false&quot; or &quot;ignore&quot; will not perform any schema validation, silently dropping any
267+
unknown or duplicate fields.
268+
-->
269+
必须是以下选项之一:strict(或 true)、warn、ignore(或 false)。
270+
&quot;true&quot;&quot;strict&quot; 将使用模式定义来验证输入,如果无效,则请求失败。
265271
如果在 API 服务器上启用了 ServerSideFieldValidation,则执行服务器端验证,
266-
但如果未启用,它将回退到可靠性较低的客户端验证。<br/>
267-
如果在 API 服务器上启用了服务器端字段验证,"warn" 将警告未知或重复的字段而不阻止请求,
268-
否则操作与 "ignore" 的表现相同。<br/>
269-
"false""ignore" 将不会执行任何模式定义检查,而是静默删除所有未知或重复的字段。
272+
但如果未启用,它将回退到可靠性较低的客户端验证。
273+
如果在 API 服务器上启用了服务器端字段验证,&quot;warn&quot; 将警告未知或重复的字段而不阻止请求,
274+
否则操作与 &quot;ignore&quot; 的表现相同。
275+
&quot;false&quot;&quot;ignore&quot; 将不会执行任何模式定义检查,而是静默删除所有未知或重复的字段。
270276
</p></td>
271277
</tr>
272278

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

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -185,15 +185,21 @@ Template string or path to template file to use when -o=go-template, -o=go-templ
185185
<tr>
186186
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
187187
<!--
188-
Must be one of: strict (or true), warn, ignore (or false).<br/>&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.<br/>&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.<br/>&quot;false&quot; or &quot;ignore&quot; will not perform any schema validation, silently dropping any unknown or duplicate fields.
189-
-->
190-
必须是以下选项之一:strict(或 true)、warn、ignore(或 false)。<br/>
191-
"true" 或 "strict" 将使用模式定义来验证输入,如果无效,则请求失败。
188+
Must be one of: strict (or true), warn, ignore (or false). &quot;true&quot; or &quot;strict&quot; will
189+
use a schema to validate the input and fail the request if invalid. It will perform server side validation
190+
if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side
191+
validation if not. &quot;warn&quot; will warn about unknown or duplicate fields without blocking the request
192+
f server-side field validation is enabled on the API server, and behave as &quot;ignore&quot; otherwise.
193+
&quot;false&quot; or &quot;ignore&quot; will not perform any schema validation, silently dropping any
194+
unknown or duplicate fields.
195+
-->
196+
必须是以下选项之一:strict(或 true)、warn、ignore(或 false)。
197+
&quot;true&quot;&quot;strict&quot; 将使用模式定义来验证输入,如果无效,则请求失败。
192198
如果在 API 服务器上启用了 ServerSideFieldValidation,则执行服务器端验证,
193-
但如果未启用,它将回退到可靠性较低的客户端验证。<br/>
194-
如果在 API 服务器上启用了服务器端字段验证,"warn" 将警告未知或重复的字段而不阻止请求,
195-
否则操作与 "ignore" 的表现相同。<br/>
196-
"false""ignore" 将不会执行任何模式定义检查,而是静默删除所有未知或重复的字段。
199+
但如果未启用,它将回退到可靠性较低的客户端验证。
200+
如果在 API 服务器上启用了服务器端字段验证,&quot;warn&quot; 将警告未知或重复的字段而不阻止请求,
201+
否则操作与 &quot;ignore&quot; 的表现相同。
202+
&quot;false&quot;&quot;ignore&quot; 将不会执行任何模式定义检查,而是静默删除所有未知或重复的字段。
197203
</p></td>
198204
</tr>
199205

@@ -202,7 +208,7 @@ Must be one of: strict (or true), warn, ignore (or false).<br/>&quot;true&quot;
202208

203209
## {{% heading "parentoptions" %}}
204210

205-
<table style="width: 100%; table-layout: fixed;">
211+
<table style="width: 100%; table-layout: fixed;">
206212
<colgroup>
207213
<col span="1" style="width: 10px;" />
208214
<col span="1" />

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

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -177,15 +177,21 @@ Template string or path to template file to use when -o=go-template, -o=go-templ
177177
<tr>
178178
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
179179
<!--
180-
Must be one of: strict (or true), warn, ignore (or false).<br/>&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.<br/>&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.<br/>&quot;false&quot; or &quot;ignore&quot; will not perform any schema validation, silently dropping any unknown or duplicate fields.
181-
-->
182-
必须是以下选项之一:strict(或 true)、warn、ignore(或 false)。<br/>
183-
"true" 或 "strict" 将使用模式定义来验证输入,如果无效,则请求失败。
180+
Must be one of: strict (or true), warn, ignore (or false). &quot;true&quot; or &quot;strict&quot; will
181+
use a schema to validate the input and fail the request if invalid. It will perform server side validation
182+
if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side
183+
validation if not. &quot;warn&quot; will warn about unknown or duplicate fields without blocking the request
184+
f server-side field validation is enabled on the API server, and behave as &quot;ignore&quot; otherwise.
185+
&quot;false&quot; or &quot;ignore&quot; will not perform any schema validation, silently dropping any
186+
unknown or duplicate fields.
187+
-->
188+
必须是以下选项之一:strict(或 true)、warn、ignore(或 false)。
189+
&quot;true&quot;&quot;strict&quot; 将使用模式定义来验证输入,如果无效,则请求失败。
184190
如果在 API 服务器上启用了 ServerSideFieldValidation,则执行服务器端验证,
185-
但如果未启用,它将回退到可靠性较低的客户端验证。<br/>
186-
如果在 API 服务器上启用了服务器端字段验证,"warn" 将警告未知或重复的字段而不阻止请求,
187-
否则操作与 "ignore" 的表现相同。<br/>
188-
"false""ignore" 将不会执行任何模式定义检查,而是静默删除所有未知或重复的字段。
191+
但如果未启用,它将回退到可靠性较低的客户端验证。
192+
如果在 API 服务器上启用了服务器端字段验证,&quot;warn&quot; 将警告未知或重复的字段而不阻止请求,
193+
否则操作与 &quot;ignore&quot; 的表现相同。
194+
&quot;false&quot;&quot;ignore&quot; 将不会执行任何模式定义检查,而是静默删除所有未知或重复的字段。
189195
</p></td>
190196
</tr>
191197

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

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -134,15 +134,21 @@ If true, keep the managedFields when printing objects in JSON or YAML format.
134134
<tr>
135135
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
136136
<!--
137-
Must be one of: strict (or true), warn, ignore (or false).<br/>&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.<br/>&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.<br/>&quot;false&quot; or &quot;ignore&quot; will not perform any schema validation, silently dropping any unknown or duplicate fields.
138-
-->
139-
必须是以下选项之一:strict(或 true)、warn、ignore(或 false)。<br/>
140-
"true" 或 "strict" 将使用模式定义来验证输入,如果无效,则请求失败。
137+
Must be one of: strict (or true), warn, ignore (or false). &quot;true&quot; or &quot;strict&quot; will
138+
use a schema to validate the input and fail the request if invalid. It will perform server side validation
139+
if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side
140+
validation if not. &quot;warn&quot; will warn about unknown or duplicate fields without blocking the request
141+
f server-side field validation is enabled on the API server, and behave as &quot;ignore&quot; otherwise.
142+
&quot;false&quot; or &quot;ignore&quot; will not perform any schema validation, silently dropping any
143+
unknown or duplicate fields.
144+
-->
145+
必须是以下选项之一:strict(或 true)、warn、ignore(或 false)。
146+
&quot;true&quot;&quot;strict&quot; 将使用模式定义来验证输入,如果无效,则请求失败。
141147
如果在 API 服务器上启用了 ServerSideFieldValidation,则执行服务器端验证,
142-
但如果未启用,它将回退到可靠性较低的客户端验证。<br/>
143-
如果在 API 服务器上启用了服务器端字段验证,"warn" 将警告未知或重复的字段而不阻止请求,
144-
否则操作与 "ignore" 的表现相同。<br/>
145-
"false""ignore" 将不会执行任何模式定义检查,而是静默删除所有未知或重复的字段。
148+
但如果未启用,它将回退到可靠性较低的客户端验证。
149+
如果在 API 服务器上启用了服务器端字段验证,&quot;warn&quot; 将警告未知或重复的字段而不阻止请求,
150+
否则操作与 &quot;ignore&quot; 的表现相同。
151+
&quot;false&quot;&quot;ignore&quot; 将不会执行任何模式定义检查,而是静默删除所有未知或重复的字段。
146152
</p></td>
147153
</tr>
148154

0 commit comments

Comments
 (0)