summaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/deploy/operator/charts/collectd-operator/templates/role_binding.yaml
diff options
context:
space:
mode:
authorDileep Ranganathan <dileep.ranganathan@intel.com>2019-08-10 17:30:33 -0700
committerDileep Ranganathan <dileep.ranganathan@intel.com>2019-08-12 10:51:22 -0700
commit5404b24913f114fe6328d1ec20c7bb79d91a7a92 (patch)
tree7e252d5896d204a7722f84d24b1f8e4045b614ca /vnfs/DAaaS/deploy/operator/charts/collectd-operator/templates/role_binding.yaml
parent6bae7d6e0110dcb57cd48e813d1dbaf4fe1c9293 (diff)
Helm charts for Collectd Operator
Helm charts for Collectd Operator Issue-ID: ONAPARC-461 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com> Change-Id: Icd1fc169f9e005030a0d2b48cf9dd76434bf6ba3 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Diffstat (limited to 'vnfs/DAaaS/deploy/operator/charts/collectd-operator/templates/role_binding.yaml')
-rw-r--r--vnfs/DAaaS/deploy/operator/charts/collectd-operator/templates/role_binding.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/vnfs/DAaaS/deploy/operator/charts/collectd-operator/templates/role_binding.yaml b/vnfs/DAaaS/deploy/operator/charts/collectd-operator/templates/role_binding.yaml
new file mode 100644
index 00000000..024ba2a1
--- /dev/null
+++ b/vnfs/DAaaS/deploy/operator/charts/collectd-operator/templates/role_binding.yaml
@@ -0,0 +1,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 }} \ No newline at end of file