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