[zh-cn]sync kubectl_create/*

Signed-off-by: xin.li <xin.li@daocloud.io>
pull/49765/head
xin.li 2025-02-15 16:17:19 +08:00
parent 37b54fefc3
commit adee3f9755
7 changed files with 93 additions and 51 deletions

View File

@ -232,15 +232,21 @@ Template string or path to template file to use when -o=go-template, -o=go-templ
<tr> <tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p> <td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
<!-- <!--
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. 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
f 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.
--> -->
必须是以下选项之一strict或 true、warn、ignore或 false<br/> 必须是以下选项之一strict或 true、warn、ignore或 false
"true" 或 "strict" 将使用模式定义来验证输入,如果无效,则请求失败。 &quot;true&quot;&quot;strict&quot; 将使用模式定义来验证输入,如果无效,则请求失败。
如果在 API 服务器上启用了 ServerSideFieldValidation则执行服务器端验证 如果在 API 服务器上启用了 ServerSideFieldValidation则执行服务器端验证
但如果未启用,它将回退到可靠性较低的客户端验证。<br/> 但如果未启用,它将回退到可靠性较低的客户端验证。
如果在 API 服务器上启用了服务器端字段验证,"warn" 将警告未知或重复的字段而不阻止请求, 如果在 API 服务器上启用了服务器端字段验证,&quot;warn&quot; 将警告未知或重复的字段而不阻止请求,
否则操作与 "ignore" 的表现相同。<br/> 否则操作与 &quot;ignore&quot; 的表现相同。
"false" 或 "ignore" 将不会执行任何模式定义检查,而是静默删除所有未知或重复的字段。 &quot;false&quot;&quot;ignore&quot; 将不会执行任何模式定义检查,而是静默删除所有未知或重复的字段。
</p></td> </p></td>
</tr> </tr>

View File

@ -196,15 +196,21 @@ Template string or path to template file to use when -o=go-template, -o=go-templ
<tr> <tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p> <td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
<!-- <!--
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. 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
f 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.
--> -->
必须是以下选项之一strict或 true、warn、ignore或 false<br/> 必须是以下选项之一strict或 true、warn、ignore或 false
"true" 或 "strict" 将使用模式定义来验证输入,如果无效,则请求失败。 &quot;true&quot;&quot;strict&quot; 将使用模式定义来验证输入,如果无效,则请求失败。
如果在 API 服务器上启用了 ServerSideFieldValidation则执行服务器端验证 如果在 API 服务器上启用了 ServerSideFieldValidation则执行服务器端验证
但如果未启用,它将回退到可靠性较低的客户端验证。<br/> 但如果未启用,它将回退到可靠性较低的客户端验证。
如果在 API 服务器上启用了服务器端字段验证,"warn" 将警告未知或重复的字段而不阻止请求, 如果在 API 服务器上启用了服务器端字段验证,&quot;warn&quot; 将警告未知或重复的字段而不阻止请求,
否则操作与 "ignore" 的表现相同。<br/> 否则操作与 &quot;ignore&quot; 的表现相同。
"false" 或 "ignore" 将不会执行任何模式定义检查,而是静默删除所有未知或重复的字段。 &quot;false&quot;&quot;ignore&quot; 将不会执行任何模式定义检查,而是静默删除所有未知或重复的字段。
</p></td> </p></td>
</tr> </tr>
@ -225,7 +231,7 @@ Verb that applies to the resources contained in the rule
## {{% heading "parentoptions" %}} ## {{% heading "parentoptions" %}}
<table style="width: 100%; table-layout: fixed;"> <table style="width: 100%; table-layout: fixed;">
<colgroup> <colgroup>
<col span="1" style="width: 10px;" /> <col span="1" style="width: 10px;" />
<col span="1" /> <col span="1" />

View File

@ -220,15 +220,21 @@ Usernames to bind to the role. The flag can be repeated to add multiple users.
<tr> <tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p> <td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
<!-- <!--
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. 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
f 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.
--> -->
必须是以下选项之一strict或 true、warn、ignore或 false<br/> 必须是以下选项之一strict或 true、warn、ignore或 false
"true" 或 "strict" 将使用模式定义来验证输入,如果无效,则请求失败。 &quot;true&quot;&quot;strict&quot; 将使用模式定义来验证输入,如果无效,则请求失败。
如果在 API 服务器上启用了 ServerSideFieldValidation则执行服务器端验证 如果在 API 服务器上启用了 ServerSideFieldValidation则执行服务器端验证
但如果未启用,它将回退到可靠性较低的客户端验证。<br/> 但如果未启用,它将回退到可靠性较低的客户端验证。
如果在 API 服务器上启用了服务器端字段验证,"warn" 将警告未知或重复的字段而不阻止请求, 如果在 API 服务器上启用了服务器端字段验证,&quot;warn&quot; 将警告未知或重复的字段而不阻止请求,
否则操作与 "ignore" 的表现相同。<br/> 否则操作与 &quot;ignore&quot; 的表现相同。
"false" 或 "ignore" 将不会执行任何模式定义检查,而是静默删除所有未知或重复的字段。 &quot;false&quot;&quot;ignore&quot; 将不会执行任何模式定义检查,而是静默删除所有未知或重复的字段。
</p></td> </p></td>
</tr> </tr>

View File

@ -258,15 +258,21 @@ Template string or path to template file to use when -o=go-template, -o=go-templ
<tr> <tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p> <td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
<!-- <!--
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. 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
f 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.
--> -->
必须是以下选项之一strict或 true、warn、ignore或 false<br/> 必须是以下选项之一strict或 true、warn、ignore或 false
"true" 或 "strict" 将使用模式定义来验证输入,如果无效,则请求失败。 &quot;true&quot;&quot;strict&quot; 将使用模式定义来验证输入,如果无效,则请求失败。
如果在 API 服务器上启用了 ServerSideFieldValidation则执行服务器端验证 如果在 API 服务器上启用了 ServerSideFieldValidation则执行服务器端验证
但如果未启用,它将回退到可靠性较低的客户端验证。<br/> 但如果未启用,它将回退到可靠性较低的客户端验证。
如果在 API 服务器上启用了服务器端字段验证,"warn" 将警告未知或重复的字段而不阻止请求, 如果在 API 服务器上启用了服务器端字段验证,&quot;warn&quot; 将警告未知或重复的字段而不阻止请求,
否则操作与 "ignore" 的表现相同。<br/> 否则操作与 &quot;ignore&quot; 的表现相同。
"false" 或 "ignore" 将不会执行任何模式定义检查,而是静默删除所有未知或重复的字段。 &quot;false&quot;&quot;ignore&quot; 将不会执行任何模式定义检查,而是静默删除所有未知或重复的字段。
</p></td> </p></td>
</tr> </tr>

View File

@ -185,15 +185,21 @@ Template string or path to template file to use when -o=go-template, -o=go-templ
<tr> <tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p> <td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
<!-- <!--
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. 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
f 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.
--> -->
必须是以下选项之一strict或 true、warn、ignore或 false<br/> 必须是以下选项之一strict或 true、warn、ignore或 false
"true" 或 "strict" 将使用模式定义来验证输入,如果无效,则请求失败。 &quot;true&quot;&quot;strict&quot; 将使用模式定义来验证输入,如果无效,则请求失败。
如果在 API 服务器上启用了 ServerSideFieldValidation则执行服务器端验证 如果在 API 服务器上启用了 ServerSideFieldValidation则执行服务器端验证
但如果未启用,它将回退到可靠性较低的客户端验证。<br/> 但如果未启用,它将回退到可靠性较低的客户端验证。
如果在 API 服务器上启用了服务器端字段验证,"warn" 将警告未知或重复的字段而不阻止请求, 如果在 API 服务器上启用了服务器端字段验证,&quot;warn&quot; 将警告未知或重复的字段而不阻止请求,
否则操作与 "ignore" 的表现相同。<br/> 否则操作与 &quot;ignore&quot; 的表现相同。
"false" 或 "ignore" 将不会执行任何模式定义检查,而是静默删除所有未知或重复的字段。 &quot;false&quot;&quot;ignore&quot; 将不会执行任何模式定义检查,而是静默删除所有未知或重复的字段。
</p></td> </p></td>
</tr> </tr>
@ -202,7 +208,7 @@ Must be one of: strict (or true), warn, ignore (or false).<br/>&quot;true&quot;
## {{% heading "parentoptions" %}} ## {{% heading "parentoptions" %}}
<table style="width: 100%; table-layout: fixed;"> <table style="width: 100%; table-layout: fixed;">
<colgroup> <colgroup>
<col span="1" style="width: 10px;" /> <col span="1" style="width: 10px;" />
<col span="1" /> <col span="1" />

View File

@ -177,15 +177,21 @@ Template string or path to template file to use when -o=go-template, -o=go-templ
<tr> <tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p> <td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
<!-- <!--
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. 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
f 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.
--> -->
必须是以下选项之一strict或 true、warn、ignore或 false<br/> 必须是以下选项之一strict或 true、warn、ignore或 false
"true" 或 "strict" 将使用模式定义来验证输入,如果无效,则请求失败。 &quot;true&quot;&quot;strict&quot; 将使用模式定义来验证输入,如果无效,则请求失败。
如果在 API 服务器上启用了 ServerSideFieldValidation则执行服务器端验证 如果在 API 服务器上启用了 ServerSideFieldValidation则执行服务器端验证
但如果未启用,它将回退到可靠性较低的客户端验证。<br/> 但如果未启用,它将回退到可靠性较低的客户端验证。
如果在 API 服务器上启用了服务器端字段验证,"warn" 将警告未知或重复的字段而不阻止请求, 如果在 API 服务器上启用了服务器端字段验证,&quot;warn&quot; 将警告未知或重复的字段而不阻止请求,
否则操作与 "ignore" 的表现相同。<br/> 否则操作与 &quot;ignore&quot; 的表现相同。
"false" 或 "ignore" 将不会执行任何模式定义检查,而是静默删除所有未知或重复的字段。 &quot;false&quot;&quot;ignore&quot; 将不会执行任何模式定义检查,而是静默删除所有未知或重复的字段。
</p></td> </p></td>
</tr> </tr>

View File

@ -134,15 +134,21 @@ If true, keep the managedFields when printing objects in JSON or YAML format.
<tr> <tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p> <td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
<!-- <!--
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. 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
f 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.
--> -->
必须是以下选项之一strict或 true、warn、ignore或 false<br/> 必须是以下选项之一strict或 true、warn、ignore或 false
"true" 或 "strict" 将使用模式定义来验证输入,如果无效,则请求失败。 &quot;true&quot;&quot;strict&quot; 将使用模式定义来验证输入,如果无效,则请求失败。
如果在 API 服务器上启用了 ServerSideFieldValidation则执行服务器端验证 如果在 API 服务器上启用了 ServerSideFieldValidation则执行服务器端验证
但如果未启用,它将回退到可靠性较低的客户端验证。<br/> 但如果未启用,它将回退到可靠性较低的客户端验证。
如果在 API 服务器上启用了服务器端字段验证,"warn" 将警告未知或重复的字段而不阻止请求, 如果在 API 服务器上启用了服务器端字段验证,&quot;warn&quot; 将警告未知或重复的字段而不阻止请求,
否则操作与 "ignore" 的表现相同。<br/> 否则操作与 &quot;ignore&quot; 的表现相同。
"false" 或 "ignore" 将不会执行任何模式定义检查,而是静默删除所有未知或重复的字段。 &quot;false&quot;&quot;ignore&quot; 将不会执行任何模式定义检查,而是静默删除所有未知或重复的字段。
</p></td> </p></td>
</tr> </tr>