Advertisement
SimpleCookie

create_role_binding_ocp

Nov 30th, 2023
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. kind: RoleBinding
  2. apiVersion: rbac.authorization.k8s.io/v1
  3. metadata:
  4. name: prometheus-view-pods-rolebinding
  5. namespace: <your-namespace>
  6. subjects:
  7. - kind: ServiceAccount
  8. name: prometheus
  9. namespace: <your-namespace>
  10. roleRef:
  11. kind: Role
  12. name: prometheus-view-pods-role
  13. apiGroup: rbac.authorization.k8s.io
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement