Kubernetes RabbitMQ operator https://github.com/tekliner/rabbitmq-operator
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

52 行
687 B

  1. apiVersion: rbac.authorization.k8s.io/v1
  2. kind: Role
  3. metadata:
  4. name: rabbitmq-operator
  5. rules:
  6. - apiGroups:
  7. - ""
  8. resources:
  9. - pods
  10. - services
  11. - endpoints
  12. - persistentvolumeclaims
  13. - events
  14. - configmaps
  15. - secrets
  16. verbs:
  17. - '*'
  18. - apiGroups:
  19. - ""
  20. resources:
  21. - namespaces
  22. verbs:
  23. - '*'
  24. - apiGroups:
  25. - apps
  26. resources:
  27. - deployments
  28. - daemonsets
  29. - replicasets
  30. - statefulsets
  31. verbs:
  32. - '*'
  33. - apiGroups:
  34. - monitoring.coreos.com
  35. resources:
  36. - servicemonitors
  37. verbs:
  38. - get
  39. - create
  40. - apiGroups:
  41. - rabbitmq.improvado.io
  42. resources:
  43. - '*'
  44. verbs:
  45. - '*'
  46. - apiGroups:
  47. - policy
  48. resources:
  49. - poddisruptionbudgets
  50. verbs:
  51. - '*'