Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document changes to default RBAC discovery ClusterRole(Binding)s #12888

Merged
merged 2 commits into from
Mar 12, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions content/en/docs/reference/access-authn-authz/rbac.md
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,8 @@ kubectl get clusterroles system:discovery -o yaml

NOTE: editing the role is not recommended as changes will be overwritten on API server restart via auto-reconciliation (see above).

As of Kubernetes version 1.14+, the default RBAC discovery ClusterRoles are:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggest moving version-specific notes into Description as "Prior to 1.14, this role was also bound by default to system:authenticated" or "This role exists as of 1.14"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done


<table>
<colgroup><col width="25%"><col width="25%"><col></colgroup>
<tr>
Expand All @@ -471,14 +473,19 @@ NOTE: editing the role is not recommended as changes will be overwritten on API
</tr>
<tr>
<td><b>system:basic-user</b></td>
<td><b>system:authenticated</b> and <b>system:unauthenticated</b> groups</td>
<td><b>system:authenticated</b> group</td>
<td>Allows a user read-only access to basic information about themselves.</td>
</tr>
<tr>
<td><b>system:discovery</b></td>
<td><b>system:authenticated</b> and <b>system:unauthenticated</b> groups</td>
<td><b>system:authenticated</b> group</td>
<td>Allows read-only access to API discovery endpoints needed to discover and negotiate an API level.</td>
</tr>
<tr>
<td><b>system:public-info-viewer</b></td>
<td><b>system:authenticated</b> and <b>system:unauthenticated</b> groups</td>
<td>Allows read-only access to non-sensitive information about the cluster.</td>
</tr>
</table>

### User-facing Roles
Expand Down