Uploaded image for project: 'CPE Infrastructure'
  1. CPE Infrastructure
  2. CPE-3408

grant sf-service-account namespace-scoped access to monitoring.coreos.com's scrapeconfigs

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Testable

      https://pagure.io/centos-infra/issue/1618

      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:

      ```yaml

      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!

              Unassigned Unassigned
              rh-ee-mkonecny Michal Konecny
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: