You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -160,7 +160,7 @@ can be accomplished using an [authenticating proxy](#authenticating-proxy) or th
160
160
<!--
161
161
### X509 Client Certs
162
162
163
-
Client certificate authentication is enabled by passing the `-client-ca-file=SOMEFILE`
163
+
Client certificate authentication is enabled by passing the `--client-ca-file=SOMEFILE`
164
164
option to API server. The referenced file must contain one or more certificate authorities
165
165
to use to validate client certificates presented to the API server. If a client certificate
166
166
is presented and verified, the common name of the subject is used as the user name for the
@@ -198,7 +198,7 @@ See [Managing Certificates](/docs/tasks/administer-cluster/certificates/) for ho
198
198
<!--
199
199
### Static Token File
200
200
201
-
The API server reads bearer tokens from a file when given the `-token-auth-file=SOMEFILE` option on the command line. Currently, tokens last indefinitely, and the token list cannot be
201
+
The API server reads bearer tokens from a file when given the `--token-auth-file=SOMEFILE` option on the command line. Currently, tokens last indefinitely, and the token list cannot be
202
202
changed without restarting the API server.
203
203
204
204
The token file is a csv file with a minimum of 3 columns: token, user name, user uid,
Note that webhook API objects are subject to the same [versioning compatibility rules](/docs/concepts/overview/kubernetes-api/)
879
-
as other Kubernetes API objects. Implementers should be aware of looser
880
-
compatibility promises for beta objects and check the "apiVersion" field of the
881
-
request to ensure correct deserialization. Additionally, the API server must
882
-
enable the `authentication.k8s.io/v1beta1` API extensions group (`--runtime-config=authentication.k8s.io/v1beta1=true`).
883
-
884
-
The POST body will be of the following format:
876
+
Note that webhook API objects are subject to the same [versioning compatibility rules](/docs/concepts/overview/kubernetes-api/) as other Kubernetes API objects.
877
+
Implementers should check the `apiVersion` field of the request to ensure correct deserialization,
878
+
and **must** respond with a `TokenReview` object of the same version as the request.
885
879
-->
886
880
要注意的是,Webhook API 对象和其他 Kubernetes API 对象一样,也要受到同一
HTTP status codes can be used to supply additional error context.
967
-
-->
968
-
HTTP 状态码可用来提供进一步的错误语境信息。
969
-
1051
+
{{% /tab %}}
1052
+
{{< /tabs >}}
970
1053
<!--
971
1054
### Authenticating Proxy
972
1055
@@ -981,7 +1064,7 @@ API 服务器可以配置成从请求的头部字段值(如 `X-Remote-User`)
981
1064
<!--
982
1065
* `--requestheader-username-headers` Required, case-insensitive. Header names to check, in order, for the user identity. The first header containing a value is used as the username.
983
1066
* `--requestheader-group-headers` 1.6+. Optional, case-insensitive. "X-Remote-Group" is suggested. Header names to check, in order, for the user's groups. All values in all specified headers are used as group names.
984
-
* `-requestheader-extra-headers-prefix` 1.6+. Optional, case-insensitive. "X-Remote-Extra-" is suggested. Header prefixes to look for to determine extra information about the user (typically used by the configured authorization plugin). Any headers beginning with any of the specified prefixes have the prefix removed. The remainder of the header name is lowercased and [percent-decoded](https://tools.ietf.org/html/rfc3986#section-2.1) and becomes the extra key, and the header value is the extra value.
1067
+
* `--requestheader-extra-headers-prefix` 1.6+. Optional, case-insensitive. "X-Remote-Extra-" is suggested. Header prefixes to look for to determine extra information about the user (typically used by the configured authorization plugin). Any headers beginning with any of the specified prefixes have the prefix removed. The remainder of the header name is lowercased and [percent-decoded](https://tools.ietf.org/html/rfc3986#section-2.1) and becomes the extra key, and the header value is the extra value.
0 commit comments