From cb03ac723eb2f107f3264038cfc99e5a73b525ff Mon Sep 17 00:00:00 2001 From: farida azmy Date: Sun, 12 Sep 2021 16:14:12 +0200 Subject: [DCAEGEN2-SERVICES] Update chart with service account Add service account to requirements, values and deployment/statefulset Issue-ID: OOM-2828 Signed-off-by: farida azmy Change-Id: I9093839265e0d70dd68d7fdded0704942b4d6f71 --- .../common/dcaegen2-services-common/templates/_deployment.tpl | 1 + 1 file changed, 1 insertion(+) (limited to 'kubernetes/dcaegen2-services/common/dcaegen2-services-common') diff --git a/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl b/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl index 8738b1099e..2e2cd08ca8 100644 --- a/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl +++ b/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl @@ -432,6 +432,7 @@ spec: {{- end }} {{- end }} hostname: {{ include "common.name" . }} + serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}} volumes: - configMap: defaultMode: 420 -- cgit 1.2.3-korg