summaryrefslogtreecommitdiffstats
path: root/helm/policy-models-simulator/templates/serviceaccount.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'helm/policy-models-simulator/templates/serviceaccount.yaml')
-rw-r--r--helm/policy-models-simulator/templates/serviceaccount.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/helm/policy-models-simulator/templates/serviceaccount.yaml b/helm/policy-models-simulator/templates/serviceaccount.yaml
new file mode 100644
index 00000000..27ee5daa
--- /dev/null
+++ b/helm/policy-models-simulator/templates/serviceaccount.yaml
@@ -0,0 +1,8 @@
+{{- if .Values.serviceAccount.create -}}
+apiVersion: v1
+kind: ServiceAccount
+metadata:
+ name: {{ template "policy-models-simulator.serviceAccountName" . }}
+ labels:
+{{ include "policy-models-simulator.labels" . | indent 4 }}
+{{- end -}}