summaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaemod/components/dcaemod-runtime-api/templates
diff options
context:
space:
mode:
authorfarida azmy <farida.azmy.ext@orange.com>2021-09-12 12:56:40 +0200
committerAbdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>2021-09-18 01:02:53 +0000
commit5093301c1d25daaa2e9a42fd7d1ed09c06693208 (patch)
tree0a875496095b3dcbfe8fe93b68bb91024efe00e5 /kubernetes/dcaemod/components/dcaemod-runtime-api/templates
parentd362d9f64521d4585f779ff450f547da1ac00adb (diff)
[DCAEMOD] Update chart with service account
Add service account to requirements, values & deployment/statefulset Issue-ID: OOM-2827 Signed-off-by: farida azmy <farida.azmy.ext@orange.com> Change-Id: Icdf48ad2b443b0c360ee89b13cae5a0db6c74dce
Diffstat (limited to 'kubernetes/dcaemod/components/dcaemod-runtime-api/templates')
-rw-r--r--kubernetes/dcaemod/components/dcaemod-runtime-api/templates/deployment.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/kubernetes/dcaemod/components/dcaemod-runtime-api/templates/deployment.yaml b/kubernetes/dcaemod/components/dcaemod-runtime-api/templates/deployment.yaml
index 42f596db1e..d5c37e9858 100644
--- a/kubernetes/dcaemod/components/dcaemod-runtime-api/templates/deployment.yaml
+++ b/kubernetes/dcaemod/components/dcaemod-runtime-api/templates/deployment.yaml
@@ -71,6 +71,7 @@ spec:
value: {{ .Values.config.bpResourcesCpuLimit }}
- name: BP_RESOURCES_MEMORY_LIMIT
value: {{ .Values.config.bpResourcesMemoryLimit }}
+ serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"