summaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra/helm/multus-cni/templates/serviceaccount.yaml
diff options
context:
space:
mode:
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 -}}