[SDC] Update chart with service account
Add service account to requirements.yaml, values.yaml and deployment/statefulset
Issue-ID: OOM-2717
Signed-off-by: farida azmy <farida.azmy.ext@orange.com>
Change-Id: I57a398865c2dea8dd5989dc2e9d80843bfabd3b5
diff --git a/kubernetes/sdc/components/sdc-be/templates/deployment.yaml b/kubernetes/sdc/components/sdc-be/templates/deployment.yaml
index 346534c..d731a56 100644
--- a/kubernetes/sdc/components/sdc-be/templates/deployment.yaml
+++ b/kubernetes/sdc/components/sdc-be/templates/deployment.yaml
@@ -197,6 +197,7 @@
requests:
cpu: 3m
memory: 20Mi
+ serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
volumes: {{ include "common.certInitializer.volumes" . | nindent 6 }}
- name: {{ include "common.fullname" . }}-localtime
hostPath: