aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/templates/job.yaml
diff options
context:
space:
mode:
authorfarida azmy <farida.azmy.ext@orange.com>2021-04-11 12:55:33 +0200
committerKrzysztof Opasiak <k.opasiak@samsung.com>2021-07-20 10:04:38 +0000
commitc117837c568716c43c5adf26a2fe3ceb88f915c9 (patch)
treebb6993d74051d69f6dd32b692c55980f1a6405a5 /kubernetes/policy/templates/job.yaml
parent9c30c1f14ebc6124c64bda3b9a2d5c67eba818ec (diff)
[POLICY] Update chart with service account
Add service account to requirements.yaml, values.yaml and deployment/statefulset Issue-ID: OOM-2725 Signed-off-by: farida azmy <farida.azmy.ext@orange.com> Co-authored-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I67c689d65ff004c3919256449d0bfaf976514a93
Diffstat (limited to 'kubernetes/policy/templates/job.yaml')
-rwxr-xr-xkubernetes/policy/templates/job.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/kubernetes/policy/templates/job.yaml b/kubernetes/policy/templates/job.yaml
index ad195722b2..72c94f30c5 100755
--- a/kubernetes/policy/templates/job.yaml
+++ b/kubernetes/policy/templates/job.yaml
@@ -72,6 +72,7 @@ spec:
resources:
{{ include "common.resources" . }}
restartPolicy: Never
+ serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
volumes:
- name: {{ include "common.fullname" . }}-config
configMap: