kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
    name: gitlab-prometheus-server
    selfLink: /apis/rbac.authorization.k8s.io/v1/clusterroles/gitlab-prometheus-server
    uid: 98c688bb-398b-11ea-b115-42010a8001d6
    resourceVersion: '2016195'
    creationTimestamp: '2020-01-18T00:43:51Z'
    labels:
        app: prometheus
        chart: prometheus-9.0.0
        component: server
        heritage: Helm
        release: gitlab
rules:
    -
        verbs:
            - get
            - list
            - watch
        apiGroups:
            - ''
        resources:
            - nodes
            - nodes/proxy
            - services
            - endpoints
            - pods
            - ingresses
            - configmaps
    -
        verbs:
            - get
            - list
            - watch
        apiGroups:
            - extensions
        resources:
            - ingresses/status
            - ingresses
    -
        verbs:
            - get
        nonResourceURLs:
            - /metrics

