summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/cassandra/templates
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-07-13 06:36:08 +0000
committerGerrit Code Review <gerrit@onap.org>2021-07-13 06:36:08 +0000
commitc114b2f9d2429fc8bc5ae88bd10554074a175e4a (patch)
tree5aa3c040b0c9878fd5c3ce64110276e75d6d9d81 /kubernetes/common/cassandra/templates
parent695965549d73a9ae334d92a5ca7c31f5b1ef48d7 (diff)
parent661c81a3923ad51c813f6c63ebc6edf17695bb1b (diff)
Merge "[OOM] Update Cassandra in common with service account"
Diffstat (limited to 'kubernetes/common/cassandra/templates')
-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 1a9d8b856e..8ae64ac79a 100644
--- a/kubernetes/common/cassandra/templates/statefulset.yaml
+++ b/kubernetes/common/cassandra/templates/statefulset.yaml
@@ -130,6 +130,7 @@ spec:
{{- if .Values.affinity }}
affinity: {{ toYaml .Values.affinity | nindent 8 }}
{{- end }}
+ serviceAccountName: {{ include "common.fullname" (dict "suffix" "nothing" "dot" . )}}
volumes:
- name: localtime
hostPath: