summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/cassandra/templates/statefulset.yaml
diff options
context:
space:
mode:
authorfarida azmy <farida.azmy.ext@orange.com>2021-03-09 11:38:20 +0200
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-07-12 15:52:18 +0000
commit661c81a3923ad51c813f6c63ebc6edf17695bb1b (patch)
tree672d2063cbb9ab53631d08d74e68a3ded7a5c6a7 /kubernetes/common/cassandra/templates/statefulset.yaml
parent07efa9bb787a6a04dfb9771a3940b3461d247d20 (diff)
[OOM] Update Cassandra in common with service account
Add service account to requirements.yaml, values.yaml and deployment/statefulset Issue-ID: OOM-2703 Signed-off-by: farida azmy <farida.azmy.ext@orange.com> Co-authored-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I226584b16b2cd1c22a4e71eb48ad95d974640006
Diffstat (limited to 'kubernetes/common/cassandra/templates/statefulset.yaml')
-rw-r--r--kubernetes/common/cassandra/templates/statefulset.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/kubernetes/common/cassandra/templates/statefulset.yaml b/kubernetes/common/cassandra/templates/statefulset.yaml
index 3553cd4069..2b7e006525 100644
--- a/kubernetes/common/cassandra/templates/statefulset.yaml
+++ b/kubernetes/common/cassandra/templates/statefulset.yaml
@@ -138,6 +138,7 @@ spec:
{{- if .Values.affinity }}
affinity: {{ toYaml .Values.affinity | nindent 8 }}
{{- end }}
+ serviceAccountName: {{ include "common.fullname" (dict "suffix" "nothing" "dot" . )}}
volumes:
- name: localtime
hostPath: