rbac.yaml 568 B

12345678910111213141516171819202122232425
  1. apiVersion: rbac.authorization.k8s.io/v1
  2. kind: Role
  3. metadata:
  4. name: flink-role-for-default-sa-in-observe
  5. namespace: observe
  6. rules:
  7. - apiGroups: [""]
  8. resources: ["pods"]
  9. verbs: ["get", "list", "watch", "create", "delete"]
  10. ---
  11. apiVersion: rbac.authorization.k8s.io/v1
  12. kind: RoleBinding
  13. metadata:
  14. name: flink-role-binding-for-default-sa-in-observe
  15. namespace: observe
  16. subjects:
  17. - kind: ServiceAccount
  18. name: default
  19. namespace: observe
  20. roleRef:
  21. kind: Role
  22. name: flink-role-for-default-sa-in-observe
  23. apiGroup: rbac.authorization.k8s.io/v1