From ffad032ca824606aa9c3f32f355d013e60f6142a Mon Sep 17 00:00:00 2001
From: farida azmy <farida.azmy.ext@orange.com>
Date: Fri, 9 Apr 2021 14:18:14 +0200
Subject: [CDS] Update chart with service account

Add service account to requirements.yaml, values.yaml and deployment/statefulset

Issue-ID: OOM-2723
Signed-off-by: farida azmy <farida.azmy.ext@orange.com>
Change-Id: Ic254ec1865501bab90f47d07a37b230c228a7446
---
 kubernetes/cds/components/cds-command-executor/templates/deployment.yaml | 1 +
 1 file changed, 1 insertion(+)

(limited to 'kubernetes/cds/components/cds-command-executor/templates')

diff --git a/kubernetes/cds/components/cds-command-executor/templates/deployment.yaml b/kubernetes/cds/components/cds-command-executor/templates/deployment.yaml
index 40238c2513..523339ca70 100755
--- a/kubernetes/cds/components/cds-command-executor/templates/deployment.yaml
+++ b/kubernetes/cds/components/cds-command-executor/templates/deployment.yaml
@@ -86,6 +86,7 @@ spec:
         affinity:
 {{ toYaml .Values.affinity | indent 10 }}
         {{- end }}
+      serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
       volumes:
         - name: localtime
           hostPath:
-- 
cgit