Remind the flag --require-kubeconfig is deprecated (#6087)
* Remove --require-kubeconfig flag * Revert --require-kubeconfig flag * Remind the flag is deprecated
This commit is contained in:
@@ -36,6 +36,8 @@ To enable API bearer tokens (including service account tokens) to be used to aut
|
|||||||
* start the kubelet with the `--authentication-token-webhook`, `--kubeconfig`, and `--require-kubeconfig` flags
|
* start the kubelet with the `--authentication-token-webhook`, `--kubeconfig`, and `--require-kubeconfig` flags
|
||||||
* the kubelet calls the `TokenReview` API on the configured API server to determine user information from bearer tokens
|
* the kubelet calls the `TokenReview` API on the configured API server to determine user information from bearer tokens
|
||||||
|
|
||||||
|
**Note:** The flag `--require-kubeconfig` is deprecated as of Kubernetes 1.8, this will be removed in a future version. You no longer need to use `--require-kubeconfig` in Kubernetes 1.8.
|
||||||
|
|
||||||
## Kubelet authorization
|
## Kubelet authorization
|
||||||
|
|
||||||
Any request that is successfully authenticated (including an anonymous request) is then authorized. The default authorization mode is `AlwaysAllow`, which allows all requests.
|
Any request that is successfully authenticated (including an anonymous request) is then authorized. The default authorization mode is `AlwaysAllow`, which allows all requests.
|
||||||
@@ -52,6 +54,8 @@ To subdivide access to the kubelet API, delegate authorization to the API server
|
|||||||
* start the kubelet with the `--authorization-mode=Webhook`, `--kubeconfig`, and `--require-kubeconfig` flags
|
* start the kubelet with the `--authorization-mode=Webhook`, `--kubeconfig`, and `--require-kubeconfig` flags
|
||||||
* the kubelet calls the `SubjectAccessReview` API on the configured API server to determine whether each request is authorized
|
* the kubelet calls the `SubjectAccessReview` API on the configured API server to determine whether each request is authorized
|
||||||
|
|
||||||
|
**Note:** The flag `--require-kubeconfig` is deprecated as of Kubernetes 1.8, this will be removed in a future version. You no longer need to use `--require-kubeconfig` in Kubernetes 1.8.
|
||||||
|
|
||||||
The kubelet authorizes API requests using the same [request attributes](/docs/admin/authorization/#request-attributes) approach as the apiserver.
|
The kubelet authorizes API requests using the same [request attributes](/docs/admin/authorization/#request-attributes) approach as the apiserver.
|
||||||
|
|
||||||
The verb is determined from the incoming request's HTTP verb:
|
The verb is determined from the incoming request's HTTP verb:
|
||||||
|
|||||||
@@ -36,6 +36,8 @@ To enable API bearer tokens (including service account tokens) to be used to aut
|
|||||||
* start the kubelet with the `--authentication-token-webhook`, `--kubeconfig`, and `--require-kubeconfig` flags
|
* start the kubelet with the `--authentication-token-webhook`, `--kubeconfig`, and `--require-kubeconfig` flags
|
||||||
* the kubelet calls the `TokenReview` API on the configured API server to determine user information from bearer tokens
|
* the kubelet calls the `TokenReview` API on the configured API server to determine user information from bearer tokens
|
||||||
|
|
||||||
|
**Note:** The flag `--require-kubeconfig` is deprecated as of Kubernetes 1.8, this will be removed in a future version. You no longer need to use `--require-kubeconfig` in Kubernetes 1.8.
|
||||||
|
|
||||||
## Kubelet authorization
|
## Kubelet authorization
|
||||||
|
|
||||||
Any request that is successfully authenticated (including an anonymous request) is then authorized. The default authorization mode is `AlwaysAllow`, which allows all requests.
|
Any request that is successfully authenticated (including an anonymous request) is then authorized. The default authorization mode is `AlwaysAllow`, which allows all requests.
|
||||||
@@ -52,6 +54,8 @@ To subdivide access to the kubelet API, delegate authorization to the API server
|
|||||||
* start the kubelet with the `--authorization-mode=Webhook`, `--kubeconfig`, and `--require-kubeconfig` flags
|
* start the kubelet with the `--authorization-mode=Webhook`, `--kubeconfig`, and `--require-kubeconfig` flags
|
||||||
* the kubelet calls the `SubjectAccessReview` API on the configured API server to determine whether each request is authorized
|
* the kubelet calls the `SubjectAccessReview` API on the configured API server to determine whether each request is authorized
|
||||||
|
|
||||||
|
**Note:** The flag `--require-kubeconfig` is deprecated as of Kubernetes 1.8, this will be removed in a future version. You no longer need to use `--require-kubeconfig` in Kubernetes 1.8.
|
||||||
|
|
||||||
The kubelet authorizes API requests using the same [request attributes](/docs/admin/authorization/#request-attributes) approach as the apiserver.
|
The kubelet authorizes API requests using the same [request attributes](/docs/admin/authorization/#request-attributes) approach as the apiserver.
|
||||||
|
|
||||||
The verb is determined from the incoming request's HTTP verb:
|
The verb is determined from the incoming request's HTTP verb:
|
||||||
|
|||||||
Reference in New Issue
Block a user