Skip to content

Commit 53bd058

Browse files
luxassteveperry-53
authored andcommitted
Add a small note about auto-bootstrapped CSR ClusterRoles (#5660)
1 parent 1b06ec8 commit 53bd058

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/admin/kubelet-tls-bootstrapping.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,14 @@ rules:
130130
verbs: ["create"]
131131
```
132132
133+
As of 1.8, equivalent roles to the ones listed above are automatically created as part of the default RBAC roles.
134+
For 1.8 clusters admins are recommended to bind tokens to the following roles instead of creating their own:
135+
136+
* `system:certificates.k8s.io:certificatesigningrequests:io:certificatesigningrequests:nodeclient`
137+
- Automatically approve CSRs for client certs bound to this role.
138+
* `system:certificates.k8s.io:certificatesigningrequests:io:certificatesigningrequests:selfnodeclient`
139+
- Automatically approve CSRs when a client bound to its role renews its own certificate.
140+
133141
These powers can be granted to credentials, such as bootstrapping tokens. For example, to replicate the behavior
134142
provided by the removed auto-approval flag, of approving all CSRs by a single group:
135143

0 commit comments

Comments
 (0)