From 2cbcccc6d06324f3c91306ed73f262b631457a23 Mon Sep 17 00:00:00 2001 From: Todd Malsbary Date: Fri, 7 Aug 2020 10:20:12 -0700 Subject: Add playbooks for v2 emco chart. Rename v2/onap4k8s to v2/emco, and rename sanity-check-for-v2.sh to emco.sh. This allows --plugins emco to be passed to installer.sh in place of --plugins onap4k8s. Issue-ID: MULTICLOUD-1181 Signed-off-by: Todd Change-Id: Idb427a8aa4c8aaff181965a540078c8cf6dd88aa --- .../v2/emco/fluentd/templates/clusterrolebinding.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 deployments/helm/v2/emco/fluentd/templates/clusterrolebinding.yaml (limited to 'deployments/helm/v2/emco/fluentd/templates/clusterrolebinding.yaml') diff --git a/deployments/helm/v2/emco/fluentd/templates/clusterrolebinding.yaml b/deployments/helm/v2/emco/fluentd/templates/clusterrolebinding.yaml new file mode 100644 index 00000000..79c36e4e --- /dev/null +++ b/deployments/helm/v2/emco/fluentd/templates/clusterrolebinding.yaml @@ -0,0 +1,15 @@ +{{- if and .Values.serviceAccount.create .Values.rbac.create }} +kind: ClusterRoleBinding +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: {{ include "fluentd.fullname" . }} + labels: {{- include "fluentd.labels" . | nindent 4 }} +roleRef: + kind: ClusterRole + apiGroup: rbac.authorization.k8s.io + name: {{ template "fluentd.fullname" . }} +subjects: + - kind: ServiceAccount + name: {{ template "fluentd.serviceAccountName" . }} + namespace: {{ .Release.Namespace }} +{{- end }} -- cgit 1.2.3-korg