kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch17/role-bindings/reader-view-default.yaml

15 lines
303 B
YAML

apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: reader-view
namespace: default
labels:
kiamol: ch17
subjects:
- kind: User
name: reader@kiamol.net
apiGroup: rbac.authorization.k8s.io
roleRef:
kind: ClusterRole
name: view
apiGroup: rbac.authorization.k8s.io