Skip to content

Commit 4305886

Browse files
committed
[zh] Update apiserver-config.v1.md
Signed-off-by: xin.li <[email protected]>
1 parent 6f09418 commit 4305886

File tree

1 file changed

+22
-18
lines changed

1 file changed

+22
-18
lines changed

content/zh/docs/reference/config-api/apiserver-config.v1.md

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ package: apiserver.config.k8s.io/v1
1111
auto_generated: true
1212
-->
1313

14-
v1 包中包含 API 的 v1 版本。
14+
<!--
15+
<p>Package v1 is the v1 version of the API.</p>
16+
-->
17+
18+
<p>v1 包中包含 API 的 v1 版本。</p>
1519

1620
<!--
1721
## Resource Types
@@ -23,9 +27,9 @@ v1 包中包含 API 的 v1 版本。
2327
## `AdmissionConfiguration` {#apiserver-config-k8s-io-v1-AdmissionConfiguration}
2428

2529
<!--
26-
AdmissionConfiguration provides versioned configuration for admission controllers.
30+
<p>AdmissionConfiguration provides versioned configuration for admission controllers.</p>
2731
-->
28-
AdmissionConfiguration 为准入控制器提供版本化的配置。
32+
<p>AdmissionConfiguration 为准入控制器提供版本化的配置。</p>
2933

3034
<table class="table">
3135
<thead><tr><th width="30%"><!--Field-->字段</th><th><!--Description-->描述</th></tr></thead>
@@ -39,9 +43,9 @@ AdmissionConfiguration 为准入控制器提供版本化的配置。
3943
</td>
4044
<td>
4145
<!--
42-
Plugins allows specifying a configuration per admission control plugin.
46+
<p>Plugins allows specifying a configuration per admission control plugin.</p>
4347
-->
44-
<code>plugins</code> 字段允许为每个准入控制插件设置配置选项。
48+
<p><code>plugins</code> 字段允许为每个准入控制插件设置配置选项。</p>
4549
</td>
4650
</tr>
4751

@@ -58,9 +62,9 @@ AdmissionConfiguration 为准入控制器提供版本化的配置。
5862
- [AdmissionConfiguration](#apiserver-config-k8s-io-v1-AdmissionConfiguration)
5963

6064
<!--
61-
AdmissionPluginConfiguration provides the configuration for a single plug-in.
65+
<p>AdmissionPluginConfiguration provides the configuration for a single plug-in.</p>
6266
-->
63-
AdmissionPluginConfiguration 为某个插件提供配置信息。
67+
<p>AdmissionPluginConfiguration 为某个插件提供配置信息。</p>
6468

6569
<table class="table">
6670
<thead><tr><th width="30%"><!-- Field-->字段</th><th><!--Description-->描述</th></tr></thead>
@@ -71,10 +75,10 @@ AdmissionPluginConfiguration 为某个插件提供配置信息。
7175
</td>
7276
<td>
7377
<!--
74-
Name is the name of the admission controller.
75-
It must match the registered admission plugin name.
78+
<p>Name is the name of the admission controller.
79+
It must match the registered admission plugin name.</p>
7680
-->
77-
<code>name</code> 是准入控制器的名称。它必须与所注册的准入插件名称匹配。
81+
<p><code>name</code> 是准入控制器的名称。它必须与所注册的准入插件名称匹配。</p>
7882
</td>
7983
</tr>
8084

@@ -83,23 +87,23 @@ It must match the registered admission plugin name.
8387
</td>
8488
<td>
8589
<!--
86-
Path is the path to a configuration file that contains the plugin's
87-
configuration
90+
<p>Path is the path to a configuration file that contains the plugin's
91+
configuration</p>
8892
-->
89-
<code>path</code> 是指向包含插件配置信息的配置文件的路径。
93+
<p><code>path</code> 是指向包含插件配置信息的配置文件的路径。</p>
9094
</td>
9195
</tr>
9296

9397
<tr><td><code>configuration</code><br/>
94-
<a href="https://godoc.org/k8s.io/apimachinery/pkg/runtime#Unknown"><code>k8s.io/apimachinery/pkg/runtime.Unknown</code></a>
98+
<a href="https://pkg.go.dev/k8s.io/apimachinery/pkg/runtime#Unknown"><code>k8s.io/apimachinery/pkg/runtime.Unknown</code></a>
9599
</td>
96100
<td>
97101
<!--
98-
Configuration is an embedded configuration object to be used as the plugin's
99-
configuration. If present, it will be used instead of the path to the configuration file.
102+
<p>Configuration is an embedded configuration object to be used as the plugin's
103+
configuration. If present, it will be used instead of the path to the configuration file.</p>
100104
-->
101-
<code>configuration</code> 是一个内嵌的配置对象,用来保存插件的配置信息。
102-
如果存在,则使用这里的配置信息而不是指向配置文件的路径。
105+
<p><code>configuration</code> 是一个内嵌的配置对象,用来保存插件的配置信息。
106+
如果存在,则使用这里的配置信息而不是指向配置文件的路径。</p>
103107
</td>
104108
</tr>
105109

0 commit comments

Comments
 (0)