apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  labels:
    app.kubernetes.io/name: argocd-server
    app.kubernetes.io/part-of: argocd
    app.kubernetes.io/component: server
  name: argocd-server
rules:
- apiGroups:
  - '*'
  resources:
  - '*'
  verbs:
  - get  # supports deletion a live object in UI
  - list     # supports viewing live object manifest in UI
  - watch  # supports `argocd app patch`
  - update
  - create
  - patch
  - delete
