github.com/m3db/m3@v1.5.1-0.20231129193456-75a402aa583b/scripts/vagrant/provision/manifests/kube-prometheus/prometheus-roleBindingSpecificNamespaces.yaml (about)

     1  apiVersion: rbac.authorization.k8s.io/v1
     2  items:
     3  - apiVersion: rbac.authorization.k8s.io/v1
     4    kind: RoleBinding
     5    metadata:
     6      name: prometheus-k8s
     7      namespace: default
     8    roleRef:
     9      apiGroup: rbac.authorization.k8s.io
    10      kind: Role
    11      name: prometheus-k8s
    12    subjects:
    13    - kind: ServiceAccount
    14      name: prometheus-k8s
    15      namespace: monitoring
    16  - apiVersion: rbac.authorization.k8s.io/v1
    17    kind: RoleBinding
    18    metadata:
    19      name: prometheus-k8s
    20      namespace: kube-system
    21    roleRef:
    22      apiGroup: rbac.authorization.k8s.io
    23      kind: Role
    24      name: prometheus-k8s
    25    subjects:
    26    - kind: ServiceAccount
    27      name: prometheus-k8s
    28      namespace: monitoring
    29  - apiVersion: rbac.authorization.k8s.io/v1
    30    kind: RoleBinding
    31    metadata:
    32      name: prometheus-k8s
    33      namespace: monitoring
    34    roleRef:
    35      apiGroup: rbac.authorization.k8s.io
    36      kind: Role
    37      name: prometheus-k8s
    38    subjects:
    39    - kind: ServiceAccount
    40      name: prometheus-k8s
    41      namespace: monitoring
    42  kind: RoleBindingList