aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/dgbuilder/templates/deployment.yaml
diff options
context:
space:
mode:
authorfarida azmy <farida.azmy.ext@orange.com>2021-04-07 17:07:09 +0200
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-06-10 19:48:22 +0000
commitdc9aef0ad9e69059d31bf901b35298f27134623a (patch)
tree1a0efa0ae4c7b903f23641bc4c7080c7307c2ed5 /kubernetes/common/dgbuilder/templates/deployment.yaml
parent87411cc03c91a0ba7f26fcd9e7e4bd8afb75b24e (diff)
[COMMON][DGBUILDER] Update chart with service account
Add service account to requirements.yaml, values.yaml and deployment/statefulset Issue-ID: OOM-2720 Signed-off-by: farida azmy <farida.azmy.ext@orange.com> Change-Id: Iefe02cad5b2069879d043d17465f248f1f731519
Diffstat (limited to 'kubernetes/common/dgbuilder/templates/deployment.yaml')
-rw-r--r--kubernetes/common/dgbuilder/templates/deployment.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/kubernetes/common/dgbuilder/templates/deployment.yaml b/kubernetes/common/dgbuilder/templates/deployment.yaml
index ad3e4cf128..6538ad0836 100644
--- a/kubernetes/common/dgbuilder/templates/deployment.yaml
+++ b/kubernetes/common/dgbuilder/templates/deployment.yaml
@@ -128,6 +128,7 @@ spec:
affinity:
{{ toYaml .Values.affinity | indent 10 }}
{{- end }}
+ serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
volumes:
{{ include "common.certInitializer.volumes" . | nindent 8 }}
- name: localtime