Merge pull request #30969 from tengqm/zh-webhookadmission-api

[zh] Translate WebhookAdmission API
pull/31164/head
Kubernetes Prow Robot 2022-01-01 04:32:52 -08:00 committed by GitHub
commit ec67f839a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 22 additions and 16 deletions

View File

@ -1,46 +1,52 @@
--- ---
title: WebhookAdmission Configuration (v1) title: WebhookAdmission 配置 (v1)
content_type: tool-reference content_type: tool-reference
package: apiserver.config.k8s.io/v1 package: apiserver.config.k8s.io/v1
auto_generated: true auto_generated: true
--- ---
<!--
title: WebhookAdmission Configuration (v1)
content_type: tool-reference
package: apiserver.config.k8s.io/v1
auto_generated: true
-->
<!--
Package v1 is the v1 version of the API. Package v1 is the v1 version of the API.
## Resource Types ## Resource Types
-->
此 API 的版本是 v1。
## 资源类型 {#resource-types}
- [WebhookAdmission](#apiserver-config-k8s-io-v1-WebhookAdmission) - [WebhookAdmission](#apiserver-config-k8s-io-v1-WebhookAdmission)
## `WebhookAdmission` {#apiserver-config-k8s-io-v1-WebhookAdmission} ## `WebhookAdmission` {#apiserver-config-k8s-io-v1-WebhookAdmission}
<!--
WebhookAdmission provides configuration for the webhook admission controller. WebhookAdmission provides configuration for the webhook admission controller.
-->
WebhookAdmission 为 Webhook 准入控制器提供配置信息。
<table class="table"> <table class="table">
<thead><tr><th width="30%">Field</th><th>Description</th></tr></thead> <thead><tr><th width="30%"><!--Field-->字段</th><th><!--Description-->描述</th></tr></thead>
<tbody> <tbody>
<tr><td><code>apiVersion</code><br/>string</td><td><code>apiserver.config.k8s.io/v1</code></td></tr> <tr><td><code>apiVersion</code><br/>string</td><td><code>apiserver.config.k8s.io/v1</code></td></tr>
<tr><td><code>kind</code><br/>string</td><td><code>WebhookAdmission</code></td></tr> <tr><td><code>kind</code><br/>string</td><td><code>WebhookAdmission</code></td></tr>
<tr><td><code>kubeConfigFile</code> <B><!--[Required]-->[必需]</B><br/>
<tr><td><code>kubeConfigFile</code> <B>[Required]</B><br/>
<code>string</code> <code>string</code>
</td> </td>
<td> <td>
KubeConfigFile is the path to the kubeconfig file.</td> <!--KubeConfigFile is the path to the kubeconfig file.-->
字段 kubeConfigFile 包含指向 kubeconfig 文件的路径。
</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>