Skip to content

Commit

Permalink
kubelet: fix rbac
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhang Jun committed Jul 3, 2018
1 parent a8a099f commit 0db276f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 07-2.kubelet.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,14 +339,14 @@ cat > csr-crb.yaml <<EOF
name: system:certificates.k8s.io:certificatesigningrequests:nodeclient
apiGroup: rbac.authorization.k8s.io
---
# To let a node of the group "system:bootstrappers" renew its own credentials
# To let a node of the group "system:nodes" renew its own credentials
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: node-client-cert-renewal
subjects:
- kind: Group
name: system:bootstrappers
name: system:nodes
apiGroup: rbac.authorization.k8s.io
roleRef:
kind: ClusterRole
Expand Down

0 comments on commit 0db276f

Please sign in to comment.