blob: 9e6428d5debe899988daa0210f4a8fca320325bf [file] [log] [blame]
Hyunsun Moon97e111d2022-05-13 17:56:56 -07001{{/*
2# Copyright 2022-present Open Networking Foundation
3
4# SPDX-License-Identifier: Apache-2.0
5*/}}
Shad Ansari0a4637a2022-05-11 12:20:59 -07006
7{{- if .Values.serviceAccount.create -}}
8apiVersion: v1
9kind: ServiceAccount
10metadata:
11 name: {{ include "person-detection-app.serviceAccountName" . }}
12 labels:
13 {{- include "person-detection-app.labels" . | nindent 4 }}
14 {{- with .Values.serviceAccount.annotations }}
15 annotations:
16 {{- toYaml . | nindent 4 }}
17 {{- end }}
18{{- end }}