From 5404b24913f114fe6328d1ec20c7bb79d91a7a92 Mon Sep 17 00:00:00 2001 From: Dileep Ranganathan Date: Sat, 10 Aug 2019 17:30:33 -0700 Subject: Helm charts for Collectd Operator Helm charts for Collectd Operator Issue-ID: ONAPARC-461 Signed-off-by: Dileep Ranganathan Change-Id: Icd1fc169f9e005030a0d2b48cf9dd76434bf6ba3 Signed-off-by: Dileep Ranganathan --- .../collectd-operator/templates/role_binding.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 vnfs/DAaaS/deploy/operator/charts/collectd-operator/templates/role_binding.yaml (limited to 'vnfs/DAaaS/deploy/operator/charts/collectd-operator/templates/role_binding.yaml') 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 -- cgit 1.2.3-korg