aboutsummaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra/helm/cpu-manager/templates/serviceaccount.yaml
diff options
context:
space:
mode:
authorRitu Sood <ritu.sood@intel.com>2021-05-05 23:14:50 +0000
committerGerrit Code Review <gerrit@onap.org>2021-05-05 23:14:50 +0000
commit996bd19026a18aac190f76bd137de27a3be6d200 (patch)
tree9be8c72aad567ff5f88e5a103b06388bc7dd6a69 /kud/deployment_infra/helm/cpu-manager/templates/serviceaccount.yaml
parent82f24ca5bb7c18fb9ed495261285f45a421c5634 (diff)
parent7d5f991538b2cf784645e7f1de71ff72800f8160 (diff)
Merge "Add cmk addon helm chart"
Diffstat (limited to 'kud/deployment_infra/helm/cpu-manager/templates/serviceaccount.yaml')
-rw-r--r--kud/deployment_infra/helm/cpu-manager/templates/serviceaccount.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/kud/deployment_infra/helm/cpu-manager/templates/serviceaccount.yaml b/kud/deployment_infra/helm/cpu-manager/templates/serviceaccount.yaml
new file mode 100644
index 00000000..8f0b98e0
--- /dev/null
+++ b/kud/deployment_infra/helm/cpu-manager/templates/serviceaccount.yaml
@@ -0,0 +1,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 -}}