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