apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  labels:
    app.kubernetes.io/component: server
    app.kubernetes.io/name: argo-cd
  name: argocd-server
rules:
# support viewing and deleting a live object view in UI
- apiGroups:
  - '*'
  resources:
  - '*'
  verbs:
  - delete
  - get
# support listing events of 
- apiGroups:
  - ""
  resources:
  - events
  verbs:
  - list
# support viewing pod logs from UI
- apiGroups:
  - ""
  resources:
  - pods
  - pods/log
  verbs:
  - get
