summaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra/helm/ovn4nfv/templates/serviceaccount.yaml
blob: 853e2ca1becfc2e90c8b38a209ec5a16632d0189 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
  name: {{ include "ovn4nfv.serviceAccountName" . }}
  labels:
    {{- include "ovn4nfv.labels" . | nindent 4 }}
  {{- with .Values.serviceAccount.annotations }}
  annotations:
    {{- toYaml . | nindent 4 }}
  {{- end }}
{{- end -}}