File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -456,6 +456,30 @@ rules:
456456 - " pods/eviction"
457457 verbs :
458458 - " create"
459+ # The following roles are required for NodeCSRApprover controller to be able
460+ # to reconcile CertificateSigningRequests for kubelet serving certificates.
461+ - apiGroups :
462+ - " certificates.k8s.io"
463+ resources :
464+ - " certificatesigningrequests"
465+ verbs :
466+ - " get"
467+ - " list"
468+ - " watch"
469+ - apiGroups :
470+ - " certificates.k8s.io"
471+ resources :
472+ - " certificatesigningrequests/approval"
473+ verbs :
474+ - " update"
475+ - apiGroups :
476+ - " certificates.k8s.io"
477+ resources :
478+ - " signers"
479+ resourceNames :
480+ - " kubernetes.io/kubelet-serving"
481+ verbs :
482+ - " approve"
459483---
460484apiVersion : rbac.authorization.k8s.io/v1beta1
461485kind : ClusterRoleBinding
You can’t perform that action at this time.
0 commit comments