blob: 04932ee19915330e6a26723164a3793cb2817389 (
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 }}
|