Issue-ID: RICAPP-169 - Inclusion of InfluxDB helm chart for KPIMON, AD, TS, QP xApps
[ric-plt/ric-dep.git] / helm / 3rdparty / influxdb / templates / serviceaccount.yaml
diff --git a/helm/3rdparty/influxdb/templates/serviceaccount.yaml b/helm/3rdparty/influxdb/templates/serviceaccount.yaml
new file mode 100644 (file)
index 0000000..c496696
--- /dev/null
@@ -0,0 +1,12 @@
+{{- if .Values.serviceAccount.create -}}
+apiVersion: v1
+kind: ServiceAccount
+metadata:
+  name: {{ include "influxdb.serviceAccountName" . }}
+  labels:
+    {{- include "influxdb.labels" . | nindent 4 }}
+  {{- with .Values.serviceAccount.annotations }}
+  annotations:
+    {{- toYaml . | nindent 4 }}
+  {{- end }}
+{{- end -}}