Skip to content

Commit 0757d2e

Browse files
authored
Merge pull request #39281 from suning0/suning020602
[zh-cn]Update mutating-webhook-configuration-v1.md
2 parents ff7133c + fdd049b commit 0757d2e

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

content/zh-cn/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,40 +384,54 @@ MutatingWebhookConfiguration 描述准入 Webhook 的配置,该 Webhook 可接
384384
<!--
385385
- **webhooks.rules.apiGroups** ([]string)
386386
387+
*Atomic: will be replaced during a merge*
388+
387389
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
388390
-->
389391
390392
- **webhooks.rules.apiGroups** ([]string)
391393
394+
*Atomic: 将在合并期间被替换*
395+
392396
apiGroups 是资源所属的 API 组列表。`*` 是所有组。
393397
如果存在 `*`,则列表的长度必须为 1。必需。
394398
395399
<!--
396400
- **webhooks.rules.apiVersions** ([]string)
397401
402+
*Atomic: will be replaced during a merge*
403+
398404
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
399405
-->
400406
401407
- **webhooks.rules.apiVersions** ([]string)
402408
409+
*Atomic: 将在合并期间被替换*
410+
403411
apiVersions 是资源所属的 API 版本列表。`*` 是所有版本。
404412
如果存在 `*`,则列表的长度必须为 1。必需。
405413
406414
<!--
407415
- **webhooks.rules.operations** ([]string)
408416
417+
*Atomic: will be replaced during a merge*
418+
409419
Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
410420
-->
411421
412422
- **webhooks.rules.operations** ([]string)
413423
424+
*Atomic: 将在合并期间被替换*
425+
414426
operations 是准入 Webhook 所关心的操作 —— CREATE、UPDATE、DELETE、CONNECT
415427
或用来指代所有已知操作以及将来可能添加的准入操作的 `*`。
416428
如果存在 `*`,则列表的长度必须为 1。必需。
417429
418430
<!--
419431
- **webhooks.rules.resources** ([]string)
420432
433+
*Atomic: will be replaced during a merge*
434+
421435
Resources is a list of resources this rule applies to.
422436
423437
For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.
@@ -429,6 +443,8 @@ MutatingWebhookConfiguration 描述准入 Webhook 的配置,该 Webhook 可接
429443
430444
- **webhooks.rules.resources** ([]string)
431445
446+
*Atomic: 将在合并期间被替换*
447+
432448
resources 是此规则适用的资源列表。
433449
434450
- `pods` 表示 pods,'pods/log' 表示 pods 的日志子资源。`*` 表示所有资源,但不是子资源。

0 commit comments

Comments
 (0)