aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/deploy/collection/charts/prometheus/templates/rolebinding.yaml
blob: b30c6cf7467d9bc2afbb36d31f3a43fdbe0ef4e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: {{ template "prometheus.fullname" . }}-prometheus
  labels:
    app: {{ template "prometheus.name" . }}-prometheus
{{ include "prometheus.labels" . | indent 4 }}
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: {{ template "prometheus.fullname" . }}-prometheus
subjects:
- kind: ServiceAccount
  name: {{ template "prometheus.serviceAccountName" . }}
  namespace: {{ .Release.Namespace }}