Skip to content

Commit d1e6a6f

Browse files
authored
Merge pull request #26605 from tengqm/admission-config-ref
Add WebhookAdmission reference
2 parents fe4aba8 + 108149f commit d1e6a6f

File tree

5 files changed

+54
-11
lines changed

5 files changed

+54
-11
lines changed

content/en/docs/concepts/configuration/configmap.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ When a ConfigMap currently consumed in a volume is updated, projected keys are e
224224
The kubelet checks whether the mounted ConfigMap is fresh on every periodic sync.
225225
However, the kubelet uses its local cache for getting the current value of the ConfigMap.
226226
The type of the cache is configurable using the `ConfigMapAndSecretChangeDetectionStrategy` field in
227-
the [KubeletConfiguration struct](/docs/reference/config-api/kubelet-config.v1beta1/)).
227+
the [KubeletConfiguration struct](/docs/reference/config-api/kubelet-config.v1beta1/).
228228
A ConfigMap can be either propagated by watch (default), ttl-based, or by redirecting
229229
all requests directly to the API server.
230230
As a result, the total delay from the moment when the ConfigMap is updated to the moment

content/en/docs/reference/_index.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,11 @@ operator to use or manage a cluster.
7373

7474
* [kubelet configuration (v1beta1)](/docs/reference/config-api/kubelet-config.v1beta1/)
7575
* [kube-scheduler configuration (v1beta1)](/docs/reference/config-api/kube-scheduler-config.v1beta1/)
76+
* [kube-scheduler policy reference (v1)](/docs/reference/config-api/kube-scheduler-policy-config.v1/)
7677
* [kube-proxy configuration (v1alpha1)](/docs/reference/config-api/kube-proxy-config.v1alpha1/)
7778
* [`audit.k8s.io/v1` API](/docs/reference/config-api/apiserver-audit.v1/)
78-
79-
## Config APIs
80-
8179
* [Client authentication API (v1beta1)](/docs/reference/config-api/client-authentication.v1beta1/)
82-
83-
## Config APIs
84-
85-
* [kube-scheduler policy reference (v1)](/docs/reference/config-api/kube-scheduler-policy-config.v1/)
80+
* [WebhookAdmission configuration (v1)](/docs/reference/config-api/apiserver-webhookadmission.v1/)
8681

8782
## Design Docs
8883

content/en/docs/reference/access-authn-authz/extensible-admission-controllers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ webhooks:
147147
{{< /tabs >}}
148148
149149
The scope field specifies if only cluster-scoped resources ("Cluster") or namespace-scoped
150-
resources ("Namespaced") will match this rule. "*" means that there are no scope restrictions.
150+
resources ("Namespaced") will match this rule. "&lowast;" means that there are no scope restrictions.
151151
152152
{{< note >}}
153153
When using `clientConfig.service`, the server cert must be valid for
@@ -225,7 +225,7 @@ plugins:
225225
{{< /tabs >}}
226226

227227
For more information about `AdmissionConfiguration`, see the
228-
[AdmissionConfiguration schema](https://github.com/kubernetes/kubernetes/blob/v1.17.0/staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1/types.go#L27).
228+
[AdmissionConfiguration (v1) reference](/docs/reference/config-api/apiserver-webhookadmission.v1/).
229229
See the [webhook configuration](#webhook-configuration) section for details about each config field.
230230

231231
* In the kubeConfig file, provide the credentials:
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: WebhookAdmission Configuration (v1)
3+
content_type: tool-reference
4+
package: apiserver.config.k8s.io/v1
5+
auto_generated: true
6+
---
7+
Package v1 is the v1 version of the API.
8+
9+
## Resource Types
10+
11+
12+
- [WebhookAdmission](#apiserver-config-k8s-io-v1-WebhookAdmission)
13+
14+
15+
16+
17+
## `WebhookAdmission` {#apiserver-config-k8s-io-v1-WebhookAdmission}
18+
19+
20+
21+
22+
23+
WebhookAdmission provides configuration for the webhook admission controller.
24+
25+
<table class="table">
26+
<thead><tr><th width="30%">Field</th><th>Description</th></tr></thead>
27+
<tbody>
28+
29+
<tr><td><code>apiVersion</code><br/>string</td><td><code>apiserver.config.k8s.io/v1</code></td></tr>
30+
<tr><td><code>kind</code><br/>string</td><td><code>WebhookAdmission</code></td></tr>
31+
32+
33+
34+
35+
<tr><td><code>kubeConfigFile</code> <B>[Required]</B><br/>
36+
<code>string</code>
37+
</td>
38+
<td>
39+
KubeConfigFile is the path to the kubeconfig file.</td>
40+
</tr>
41+
42+
43+
</tbody>
44+
</table>
45+
46+

content/en/docs/tasks/debug-application-cluster/audit.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,5 +251,7 @@ By default truncate is disabled in both `webhook` and `log`, a cluster administr
251251
## {{% heading "whatsnext" %}}
252252

253253
* Learn about [Mutating webhook auditing annotations](/docs/reference/access-authn-authz/extensible-admission-controllers/#mutating-webhook-auditing-annotations).
254-
* Read the [reference for `audit.k8s.io` API group](/docs/reference/config-api/apiserver-audit.v1/).
254+
* Learn more about [`Event`](/docs/reference/config-api/apiserver-audit.v1/#audit-k8s-io-v1-Event)
255+
and the [`Policy`](/docs/reference/config-api/apiserver-audit.v1/#audit-k8s-io-v1-Policy)
256+
resource types by reading the Audit configuration reference.
255257

0 commit comments

Comments
 (0)