~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0
main
25 lines · 609 B Raw History
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: socialweb-meshd-node-reader
  labels:
    app.kubernetes.io/name: socialweb-meshd
rules:
  - apiGroups: [""]
    resources: ["nodes"]
    verbs: ["get", "list", "watch"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: socialweb-meshd-node-reader
  labels:
    app.kubernetes.io/name: socialweb-meshd
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: socialweb-meshd-node-reader
subjects:
  - apiGroup: rbac.authorization.k8s.io
    kind: Group
    name: system:nodes