summaryrefslogtreecommitdiffstats
path: root/kubernetes/holmes/components/holmes-engine-mgmt/templates/deployment.yaml
diff options
context:
space:
mode:
authorfarida azmy <farida.azmy.ext@orange.com>2021-10-03 13:22:55 +0200
committerfarida azmy <farida.azmy.ext@orange.com>2021-10-05 17:17:11 +0200
commit1e05f29e3d40e0b32eb79498a1d0bc77f32a762d (patch)
treec35facb3ca1b8d1f688a6a0255109686c498caac /kubernetes/holmes/components/holmes-engine-mgmt/templates/deployment.yaml
parenta001a61bdd6430027b39281f9d79366e837c7494 (diff)
[HOLMES] Update chart with service account
Add service account to requirements, values and deployment/statefulset Issue-ID: OOM-2849 Signed-off-by: farida azmy <farida.azmy.ext@orange.com> Change-Id: I9b92b925576c3f85d5dbd0a02a6c454eddd9961d
Diffstat (limited to 'kubernetes/holmes/components/holmes-engine-mgmt/templates/deployment.yaml')
-rw-r--r--kubernetes/holmes/components/holmes-engine-mgmt/templates/deployment.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/kubernetes/holmes/components/holmes-engine-mgmt/templates/deployment.yaml b/kubernetes/holmes/components/holmes-engine-mgmt/templates/deployment.yaml
index fae06da475..45c268c6b6 100644
--- a/kubernetes/holmes/components/holmes-engine-mgmt/templates/deployment.yaml
+++ b/kubernetes/holmes/components/holmes-engine-mgmt/templates/deployment.yaml
@@ -115,6 +115,7 @@ spec:
value: {{ .Values.config.pgConfig.dbHost }}
- name: DB_PORT
value: "{{ .Values.config.pgConfig.dbPort }}"
+ serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
volumes: {{ include "common.certInitializer.volumes" . | nindent 6 }}
- name: {{ include "common.fullname" . }}-config
configMap: