aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/deploy/operator/charts/collectd-operator/templates/role_binding.yaml
blob: 024ba2a1b17f91d2c152f12ac6c0713f439b2c51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{{- if .Values.enabled }}
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: collectd-operator
  labels:
    app: {{ template "collectd-operator.name" . }}
    chart: {{ template "collectd-operator.chart" . }}
    component: clusterrolebinding
    release: {{ .Release.Name }}
    heritage: {{ .Release.Service }}
subjects:
- kind: ServiceAccount
  name: collectd-operator
  namespace: {{ .Release.Namespace }}
roleRef:
  kind: ClusterRole
  name: collectd-operator
  apiGroup: rbac.authorization.k8s.io
{{- end }}