summaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra/helm/multus-cni/templates/serviceaccount.yaml
diff options
context:
space:
mode:
authorRitu Sood <ritu.sood@intel.com>2021-04-30 21:19:28 +0000
committerGerrit Code Review <gerrit@onap.org>2021-04-30 21:19:28 +0000
commitda059633bfc66d591b660cc375cfca6c910a1f4a (patch)
tree1ad02d5088b8f272ecf46aa8eb83f89d7ae840c2 /kud/deployment_infra/helm/multus-cni/templates/serviceaccount.yaml
parent9a1819ffb933052b4d18bfe71d965940f40140bf (diff)
parentdc230e023a3149ae9f6dc023eb40e12b97ddb023 (diff)
Merge "Add multus addon helm chart"
Diffstat (limited to 'kud/deployment_infra/helm/multus-cni/templates/serviceaccount.yaml')
-rw-r--r--kud/deployment_infra/helm/multus-cni/templates/serviceaccount.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/kud/deployment_infra/helm/multus-cni/templates/serviceaccount.yaml b/kud/deployment_infra/helm/multus-cni/templates/serviceaccount.yaml
new file mode 100644
index 00000000..144a098a
--- /dev/null
+++ b/kud/deployment_infra/helm/multus-cni/templates/serviceaccount.yaml
@@ -0,0 +1,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 -}}