Merge pull request #39281 from suning0/suning020602
[zh-cn]Update mutating-webhook-configuration-v1.mdpull/39284/head
commit
0757d2ef48
|
@ -384,33 +384,45 @@ MutatingWebhookConfiguration 描述准入 Webhook 的配置,该 Webhook 可接
|
|||
<!--
|
||||
- **webhooks.rules.apiGroups** ([]string)
|
||||
|
||||
*Atomic: will be replaced during a merge*
|
||||
|
||||
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
|
||||
-->
|
||||
|
||||
- **webhooks.rules.apiGroups** ([]string)
|
||||
|
||||
*Atomic: 将在合并期间被替换*
|
||||
|
||||
apiGroups 是资源所属的 API 组列表。`*` 是所有组。
|
||||
如果存在 `*`,则列表的长度必须为 1。必需。
|
||||
|
||||
<!--
|
||||
- **webhooks.rules.apiVersions** ([]string)
|
||||
|
||||
*Atomic: will be replaced during a merge*
|
||||
|
||||
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
|
||||
-->
|
||||
|
||||
- **webhooks.rules.apiVersions** ([]string)
|
||||
|
||||
*Atomic: 将在合并期间被替换*
|
||||
|
||||
apiVersions 是资源所属的 API 版本列表。`*` 是所有版本。
|
||||
如果存在 `*`,则列表的长度必须为 1。必需。
|
||||
|
||||
<!--
|
||||
- **webhooks.rules.operations** ([]string)
|
||||
|
||||
*Atomic: will be replaced during a merge*
|
||||
|
||||
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.
|
||||
-->
|
||||
|
||||
- **webhooks.rules.operations** ([]string)
|
||||
|
||||
*Atomic: 将在合并期间被替换*
|
||||
|
||||
operations 是准入 Webhook 所关心的操作 —— CREATE、UPDATE、DELETE、CONNECT
|
||||
或用来指代所有已知操作以及将来可能添加的准入操作的 `*`。
|
||||
如果存在 `*`,则列表的长度必须为 1。必需。
|
||||
|
@ -418,6 +430,8 @@ MutatingWebhookConfiguration 描述准入 Webhook 的配置,该 Webhook 可接
|
|||
<!--
|
||||
- **webhooks.rules.resources** ([]string)
|
||||
|
||||
*Atomic: will be replaced during a merge*
|
||||
|
||||
Resources is a list of resources this rule applies to.
|
||||
|
||||
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 可接
|
|||
|
||||
- **webhooks.rules.resources** ([]string)
|
||||
|
||||
*Atomic: 将在合并期间被替换*
|
||||
|
||||
resources 是此规则适用的资源列表。
|
||||
|
||||
- `pods` 表示 pods,'pods/log' 表示 pods 的日志子资源。`*` 表示所有资源,但不是子资源。
|
||||
|
|
Loading…
Reference in New Issue