#1618 grant sf-service-account namespace-scoped access to monitoring.coreos.com's scrapeconfigs
Closed: Invalid a month ago by mhuin. Opened a month ago by mhuin.

Hello,

This is a followup to https://pagure.io/centos-infra/issue/1604 - we realize now that we need access to the scrapeconfig api resource additionally.

Please edit the sf-prometheus-role like so:

---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  namespace: cloud-softwarefactory
  name: sf-prometheus-role
rules:
- apiGroups:
  - monitoring.coreos.com
  resources:
  - podmonitors
  - prometheusrules
  - prometheuses
  - servicemonitors
  - scrapeconfigs
  verbs:
  - create
  - delete
  - get
  - list
  - patch
  - update
  - watch

Thanks!


I just noticed the scrapeconfig resource isn't available with this version of the monitoring api, please disregard this ticket. Sorry...

Metadata Update from @mhuin:
- Issue close_status updated to: Invalid
- Issue status updated to: Closed (was: Open)

a month ago

Log in to comment on this ticket.

Metadata