From c117837c568716c43c5adf26a2fe3ceb88f915c9 Mon Sep 17 00:00:00 2001 From: farida azmy Date: Sun, 11 Apr 2021 12:55:33 +0200 Subject: [POLICY] Update chart with service account Add service account to requirements.yaml, values.yaml and deployment/statefulset Issue-ID: OOM-2725 Signed-off-by: farida azmy Co-authored-by: Sylvain Desbureaux Change-Id: I67c689d65ff004c3919256449d0bfaf976514a93 --- kubernetes/policy/components/policy-clamp-be/templates/deployment.yaml | 1 + 1 file changed, 1 insertion(+) (limited to 'kubernetes/policy/components/policy-clamp-be/templates/deployment.yaml') diff --git a/kubernetes/policy/components/policy-clamp-be/templates/deployment.yaml b/kubernetes/policy/components/policy-clamp-be/templates/deployment.yaml index c243e30540..e61cca0e49 100644 --- a/kubernetes/policy/components/policy-clamp-be/templates/deployment.yaml +++ b/kubernetes/policy/components/policy-clamp-be/templates/deployment.yaml @@ -114,6 +114,7 @@ spec: {{- if .Values.affinity }} affinity: {{ toYaml .Values.affinity | nindent 10 }} {{- end }} + serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}} volumes: {{ include "common.certInitializer.volumes" . | nindent 8 }} - name: {{ include "common.fullname" . }}-config configMap: -- cgit 1.2.3-korg