Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Kubernetes Node Labeling permissions
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: node-labeler
rules:
- apiGroups: [""]
resources: ["node"]
verbs: ["list", "update"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: node-labeler
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: node-labeler
subjects:
- namespace: kube-system
kind: ServiceAccount
name: default
---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.