Shad Ansari | 0a4637a | 2022-05-11 12:20:59 -0700 | [diff] [blame^] | 1 | # Copyright 2020-present Open Networking Foundation |
| 2 | # SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 |
| 3 | |
| 4 | {{- if .Values.serviceAccount.create -}} |
| 5 | apiVersion: v1 |
| 6 | kind: ServiceAccount |
| 7 | metadata: |
| 8 | name: {{ include "person-detection-app.serviceAccountName" . }} |
| 9 | labels: |
| 10 | {{- include "person-detection-app.labels" . | nindent 4 }} |
| 11 | {{- with .Values.serviceAccount.annotations }} |
| 12 | annotations: |
| 13 | {{- toYaml . | nindent 4 }} |
| 14 | {{- end }} |
| 15 | {{- end }} |