apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  namespace: grafana-operator
  name: grafana-operator-leases
  labels:
    helm.sh/chart: grafana-operator-5.23.0
    app.kubernetes.io/name: grafana-operator
    app.kubernetes.io/instance: grafana-operator
    app.kubernetes.io/version: "v5.23.0"
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/part-of: grafana-operator
    app.kubernetes.io/component: operator
rules:
  - apiGroups:
      - coordination.k8s.io
    resources:
      - leases
    verbs:
      - get
      - list
      - watch
      - create
      - update
      - patch
      - delete
