summaryrefslogtreecommitdiffstats
path: root/helm/policy-models-simulator/templates/serviceaccount.yaml
diff options
context:
space:
mode:
authorputhuparambil.aditya <aditya.puthuparambil@bell.ca>2020-10-01 12:06:33 +0100
committerputhuparambil.aditya <aditya.puthuparambil@bell.ca>2020-10-05 10:19:13 +0100
commit7edc7955d012fea43290b21bfd72d77d70ea4ec3 (patch)
tree0d4ab44ecad0ef051fb03cb04521aab35d4a2c3a /helm/policy-models-simulator/templates/serviceaccount.yaml
parentbf47a0752450eaacc55176b4eec104693c94defc (diff)
Helm chart for policy-models-simulator
Issue-ID: POLICY-2828 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: Ic5e94edb2bc76067d5cde03dae2670dc6cf99a0e
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 -}}