Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- kind: RoleBinding
- apiVersion: rbac.authorization.k8s.io/v1
- metadata:
- name: example
- namespace: web
- subjects:
- - kind: User
- name: A
- apiGroup: rbac.authorization.k8s.io
- roleRef:
- kind: ClusterRole
- name: edit
- apiGroup: rbac.authorization.k8s.io
- ---
- kind: RoleBinding
- apiVersion: rbac.authorization.k8s.io/v1
- metadata:
- name: example
- namespace: api
- subjects:
- - kind: User
- name: A
- apiGroup: rbac.authorization.k8s.io
- roleRef:
- kind: ClusterRole
- name: edit
- apiGroup: rbac.authorization.k8s.io
Add Comment
Please, Sign In to add comment