[CDS] Update chart with service account
Add service account to requirements.yaml, values.yaml and deployment/statefulset
Issue-ID: OOM-2723
Signed-off-by: farida azmy <farida.azmy.ext@orange.com>
Change-Id: Ic254ec1865501bab90f47d07a37b230c228a7446
diff --git a/kubernetes/cds/components/cds-ui/templates/deployment.yaml b/kubernetes/cds/components/cds-ui/templates/deployment.yaml
index 359c713..6457ce3 100644
--- a/kubernetes/cds/components/cds-ui/templates/deployment.yaml
+++ b/kubernetes/cds/components/cds-ui/templates/deployment.yaml
@@ -99,6 +99,7 @@
affinity:
{{ toYaml .Values.affinity | indent 10 }}
{{- end }}
+ serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
volumes: {{ include "common.certInitializer.volumes" . | nindent 8 }}
- name: localtime
hostPath: