role.yaml 329 B

123456789101112131415161718192021222324252627
  1. apiVersion: rbac.authorization.k8s.io/v1
  2. kind: Role
  3. metadata:
  4. name: pod-edit
  5. namespace: ob
  6. rules:
  7. - apiGroups:
  8. - ""
  9. resources:
  10. - pods
  11. - deployments
  12. verbs:
  13. - create
  14. - get
  15. - list
  16. - delete
  17. - watch
  18. - apiGroups:
  19. - "apps"
  20. resources:
  21. - deployments
  22. verbs:
  23. - create
  24. - get
  25. - list
  26. - delete
  27. - watch