Helm chart for person-detection-app
Change-Id: I7069b65d6bcd3f2a722a294ff299ea8507b07261
diff --git a/apps/person-detection-app/templates/serviceaccount.yaml b/apps/person-detection-app/templates/serviceaccount.yaml
new file mode 100644
index 0000000..795b694
--- /dev/null
+++ b/apps/person-detection-app/templates/serviceaccount.yaml
@@ -0,0 +1,15 @@
+# Copyright 2020-present Open Networking Foundation
+# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
+
+{{- if .Values.serviceAccount.create -}}
+apiVersion: v1
+kind: ServiceAccount
+metadata:
+ name: {{ include "person-detection-app.serviceAccountName" . }}
+ labels:
+ {{- include "person-detection-app.labels" . | nindent 4 }}
+ {{- with .Values.serviceAccount.annotations }}
+ annotations:
+ {{- toYaml . | nindent 4 }}
+ {{- end }}
+{{- end }}