summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/components/sdc-cs/templates/job.yaml
diff options
context:
space:
mode:
authorfarida azmy <farida.azmy.ext@orange.com>2021-04-06 12:33:31 +0200
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-06-10 19:48:44 +0000
commit1383b4c295530f8e7288987ad919ab8790a22a6f (patch)
tree8818ac6456d620e7fc6b2f578c8fe907e1bf9bfb /kubernetes/sdc/components/sdc-cs/templates/job.yaml
parent87411cc03c91a0ba7f26fcd9e7e4bd8afb75b24e (diff)
[SDC] Update chart with service account
Add service account to requirements.yaml, values.yaml and deployment/statefulset Issue-ID: OOM-2717 Signed-off-by: farida azmy <farida.azmy.ext@orange.com> Change-Id: I57a398865c2dea8dd5989dc2e9d80843bfabd3b5
Diffstat (limited to 'kubernetes/sdc/components/sdc-cs/templates/job.yaml')
-rw-r--r--kubernetes/sdc/components/sdc-cs/templates/job.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/kubernetes/sdc/components/sdc-cs/templates/job.yaml b/kubernetes/sdc/components/sdc-cs/templates/job.yaml
index bb218bbfae..fb849b9f25 100644
--- a/kubernetes/sdc/components/sdc-cs/templates/job.yaml
+++ b/kubernetes/sdc/components/sdc-cs/templates/job.yaml
@@ -96,6 +96,7 @@ spec:
requests:
cpu: 200m
memory: 300Mi
+ serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
volumes:
- name: {{ include "common.fullname" . }}-environments
configMap: