summaryrefslogtreecommitdiffstats
path: root/kubernetes/cli/templates/deployment.yaml
diff options
context:
space:
mode:
authorfarida azmy <farida.azmy.ext@orange.com>2021-10-02 15:18:20 +0200
committerFarida Azmy <farida.azmy.ext@orange.com>2021-10-03 08:17:33 +0000
commit11e021d103a564950f284f0940a45c23a6c5e102 (patch)
tree24a87fccac0625f8fbf5f48dfd9c9e53609be567 /kubernetes/cli/templates/deployment.yaml
parenta001a61bdd6430027b39281f9d79366e837c7494 (diff)
[CLI] Update chart with service account
Add service account to requirements, values and deployment/statefulset Issue-ID: OOM-2847 Signed-off-by: farida azmy <farida.azmy.ext@orange.com> Change-Id: I0549062fed7a66b9627cfbd53814d7b79bded947
Diffstat (limited to 'kubernetes/cli/templates/deployment.yaml')
-rw-r--r--kubernetes/cli/templates/deployment.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/kubernetes/cli/templates/deployment.yaml b/kubernetes/cli/templates/deployment.yaml
index 735308754f..0a3f967eee 100644
--- a/kubernetes/cli/templates/deployment.yaml
+++ b/kubernetes/cli/templates/deployment.yaml
@@ -75,6 +75,7 @@ spec:
affinity:
{{ toYaml .Values.affinity | indent 10 }}
{{- end }}
+ serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
volumes: {{ include "common.certInitializer.volumes" . | nindent 6 }}
- name: lighttpd
configMap: