apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  labels:
    app: minio-update-prometheus-secret
    app.kubernetes.io/managed-by: Helmraiser
    chart: minio-8.0.9
    heritage: Helm
    release: enterprise-metrics
  name: enterprise-metrics-minio-update-prometheus-secret
  namespace: enterprise-metrics
rules:
- apiGroups:
  - ""
  resourceNames:
  - enterprise-metrics-minio-prometheus
  resources:
  - secrets
  verbs:
  - get
  - create
  - update
  - patch
- apiGroups:
  - ""
  resources:
  - secrets
  verbs:
  - create
- apiGroups:
  - monitoring.coreos.com
  resourceNames:
  - enterprise-metrics-minio
  resources:
  - servicemonitors
  verbs:
  - get
