summaryrefslogtreecommitdiffstats
path: root/kubernetes/consul/components/consul-server/templates
diff options
context:
space:
mode:
authorfarida azmy <farida.azmy.ext@orange.com>2021-04-11 10:41:28 +0200
committerAbdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>2021-09-07 20:38:54 +0000
commit1b30d537e09055e74e71b8b814ecd9eb8f0ecf16 (patch)
treeeb3add268846ca52bb571139390c798d6c86f2c6 /kubernetes/consul/components/consul-server/templates
parent3980a8cbeb63c885b123ac50033e32ed996bb39a (diff)
[CONSUL] Update chart with service account
Add service account to requirements, values and deployment/statefulset Issue-ID: OOM-2725 Signed-off-by: farida azmy <farida.azmy.ext@orange.com> Change-Id: Ib3c768d074f5cf64e2f213fd31ee4b8517a21c09 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>
Diffstat (limited to 'kubernetes/consul/components/consul-server/templates')
-rw-r--r--kubernetes/consul/components/consul-server/templates/statefulset.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/kubernetes/consul/components/consul-server/templates/statefulset.yaml b/kubernetes/consul/components/consul-server/templates/statefulset.yaml
index 16fda3a510..8e872b9c87 100644
--- a/kubernetes/consul/components/consul-server/templates/statefulset.yaml
+++ b/kubernetes/consul/components/consul-server/templates/statefulset.yaml
@@ -74,3 +74,4 @@ spec:
initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.readiness.periodSeconds }}
resources: {{ include "common.resources" . | nindent 10 }}
+ serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}