From 1e05f29e3d40e0b32eb79498a1d0bc77f32a762d Mon Sep 17 00:00:00 2001 From: farida azmy Date: Sun, 3 Oct 2021 13:22:55 +0200 Subject: [HOLMES] Update chart with service account Add service account to requirements, values and deployment/statefulset Issue-ID: OOM-2849 Signed-off-by: farida azmy Change-Id: I9b92b925576c3f85d5dbd0a02a6c454eddd9961d --- kubernetes/holmes/components/holmes-rule-mgmt/templates/deployment.yaml | 1 + 1 file changed, 1 insertion(+) (limited to 'kubernetes/holmes/components/holmes-rule-mgmt/templates/deployment.yaml') diff --git a/kubernetes/holmes/components/holmes-rule-mgmt/templates/deployment.yaml b/kubernetes/holmes/components/holmes-rule-mgmt/templates/deployment.yaml index e03c6cbb9c..d757b75d68 100644 --- a/kubernetes/holmes/components/holmes-rule-mgmt/templates/deployment.yaml +++ b/kubernetes/holmes/components/holmes-rule-mgmt/templates/deployment.yaml @@ -114,6 +114,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: -- cgit 1.2.3-korg