Update tls-bootstrap-worker-node-2.md

pull/482/head
Mumshad Mannambeth 2019-07-09 11:07:18 +08:00 committed by GitHub
parent 3217c93b20
commit 28c9198e62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@ EOF
# Auto rotate/renew certificates # Auto rotate/renew certificates
``` ```
kubectl create clusterrolebinding auto-approve-renewals-for-nodes --clusterrole=system:certificates.k8s.io:certificatesigningrequests:selfnodeclient --group=system:nodes kubectl create clusterrolebinding crb-autorenew-csr-for-nodes --clusterrole=system:certificates.k8s.io:certificatesigningrequests:selfnodeclient --group=system:nodes
``` ```
--------------- OR --------------- --------------- OR ---------------
@ -107,7 +107,7 @@ cat > auto-approve-renewals-for-nodes.yaml <<EOF
kind: ClusterRoleBinding kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
metadata: metadata:
name: auto-approve-renewals-for-nodes name: crb-autorenew-csr-for-nodes
subjects: subjects:
- kind: Group - kind: Group
name: system:nodes name: system:nodes