Skip to content

Commit

Permalink
Fix yaml example problem (kubernetes#7121)
Browse files Browse the repository at this point in the history
Fix yaml example problem of `authentication.md`
  • Loading branch information
xialonglee authored and k8s-ci-robot committed Feb 12, 2018
1 parent 186205d commit 6eaceb0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/admin/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: scopes-impersonator
rules:
# Can set "Impersonate-Extra-scopes" header.
- apiGroups: ["authentication.k8s.io"]
resources: ["userextras/scopes"]
Expand All @@ -674,7 +675,7 @@ rules:
# Can impersonate the groups "developers" and "admins"
- apiGroups: [""]
resources: ["groups"]
- verbs: ["impersonate"]
verbs: ["impersonate"]
resourceNames: ["developers","admins"]
# Can impersonate the extras field "scopes" with the values "view" and "development"
Expand Down

0 comments on commit 6eaceb0

Please sign in to comment.