Skip to content

Commit f9be9a2

Browse files
authored
Merge pull request kubernetes#50145 from tengqm/kubelet-authz
Mention the builtin clusterrole in kubelet authorization
2 parents 6adb59b + 5bfcf81 commit f9be9a2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: content/en/docs/reference/access-authn-authz/kubelet-authn-authz.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ Kubelet API | resource | subresource
100100
/stats/\* | nodes | stats
101101
/metrics/\* | nodes | metrics
102102
/logs/\* | nodes | log
103-
/spec/\* | nodes | spec
104103
/pods | nodes | pods, proxy
105104
/runningPods/ | nodes | pods, proxy
106105
/healthz | nodes | healthz, proxy
@@ -115,8 +114,12 @@ flags passed to the API server is authorized for the following attributes:
115114
* verb=\*, resource=nodes, subresource=proxy
116115
* verb=\*, resource=nodes, subresource=stats
117116
* verb=\*, resource=nodes, subresource=log
118-
* verb=\*, resource=nodes, subresource=spec
119117
* verb=\*, resource=nodes, subresource=metrics
120118
* verb=\*, resource=nodes, subresource=configz
121119
* verb=\*, resource=nodes, subresource=healthz
122120
* verb=\*, resource=nodes, subresource=pods
121+
122+
If [RBAC authorization](/docs/reference/access-authn-authz/rbac/) is used,
123+
enabling this gate also ensure that the builtin `system:kubelet-api-admin` ClusterRole
124+
is updated with permissions to access all the above mentioned subresources.
125+

0 commit comments

Comments
 (0)