You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

rolebindings.yaml 1.1 kB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. apiVersion: rbac.authorization.k8s.io/v1
  2. kind: Role
  3. metadata:
  4. name: custom-workflow
  5. namespace: argo
  6. rules:
  7. - apiGroups:
  8. - argoproj.io
  9. resources:
  10. - workflows
  11. verbs:
  12. - create
  13. - get
  14. - list
  15. - watch
  16. - update
  17. - patch
  18. - delete
  19. - apiGroups:
  20. - ""
  21. resources:
  22. - pods
  23. - services
  24. verbs:
  25. - get
  26. - list
  27. - watch
  28. - create
  29. - update
  30. - patch
  31. - delete
  32. - apiGroups:
  33. - ""
  34. resources:
  35. - pods/exec
  36. verbs:
  37. - create
  38. - get
  39. - list
  40. - watch
  41. - update
  42. - patch
  43. - delete
  44. - apiGroups:
  45. - "apps"
  46. resources:
  47. - deployments
  48. verbs:
  49. - get
  50. - list
  51. - watch
  52. - create
  53. - update
  54. - patch
  55. - delete
  56. ---
  57. apiVersion: rbac.authorization.k8s.io/v1
  58. kind: RoleBinding
  59. metadata:
  60. name: custom-workflow-default
  61. roleRef:
  62. apiGroup: rbac.authorization.k8s.io
  63. kind: Role
  64. name: custom-workflow
  65. subjects:
  66. - kind: ServiceAccount
  67. name: default