summaryrefslogtreecommitdiffstats
path: root/deployments/helm/v2/onap4k8s/fluentd/templates/serviceaccount.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'deployments/helm/v2/onap4k8s/fluentd/templates/serviceaccount.yaml')
-rw-r--r--deployments/helm/v2/onap4k8s/fluentd/templates/serviceaccount.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/serviceaccount.yaml b/deployments/helm/v2/onap4k8s/fluentd/templates/serviceaccount.yaml
new file mode 100644
index 00000000..1e584759
--- /dev/null
+++ b/deployments/helm/v2/onap4k8s/fluentd/templates/serviceaccount.yaml
@@ -0,0 +1,7 @@
+{{- if .Values.serviceAccount.create -}}
+apiVersion: v1
+kind: ServiceAccount
+metadata:
+ name: {{ include "fluentd.serviceAccountName" . }}
+ labels: {{- include "fluentd.labels" . | nindent 4 }}
+{{- end -}} \ No newline at end of file