[OOF] Update chart with service account
Add service account to requirements, values and deployment/statefulset
Issue-ID: OOM-2872
Signed-off-by: farida azmy <farida.azmy.ext@orange.com>
Change-Id: Id55593ca2103c962ad95925ae418cf143906ef50
diff --git a/kubernetes/oof/templates/deployment.yaml b/kubernetes/oof/templates/deployment.yaml
index 6f1022b..58ff39e 100644
--- a/kubernetes/oof/templates/deployment.yaml
+++ b/kubernetes/oof/templates/deployment.yaml
@@ -133,7 +133,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