Skip to content

Instantly share code, notes, and snippets.

@vigneshragupathy
Created November 30, 2019 16:48
Show Gist options
  • Save vigneshragupathy/96e2cbe506c501c45cfec0a7aff35f53 to your computer and use it in GitHub Desktop.
Save vigneshragupathy/96e2cbe506c501c45cfec0a7aff35f53 to your computer and use it in GitHub Desktop.
# Approve renewal CSRs for the group "system:nodes"
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: auto-approve-renewals-for-nodes
subjects:
- kind: Group
name: system:nodes
apiGroup: rbac.authorization.k8s.io
roleRef:
kind: ClusterRole
name: system:certificates.k8s.io:certificatesigningrequests:selfnodeclient
apiGroup: rbac.authorization.k8s.io
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment