diff options
author | Andreas Geissler <andreas-geissler@telekom.de> | 2023-10-25 14:19:19 +0200 |
---|---|---|
committer | Andreas Geissler <andreas-geissler@telekom.de> | 2023-10-25 14:21:20 +0200 |
commit | 2ac422acb991eddcd5514e044801b979fff9e112 (patch) | |
tree | 30fc46c9eac4eba5a8609dd220ecd5e921b1f57b /kubernetes/aai/components/aai-resources/templates | |
parent | fa2302b53d94406b2712b7ee4f24839f55f95a30 (diff) |
[AAI] Add variables for HEAP and METASPACE sizes
Add environment variables for aai-resources and aai-traversal
pods to set the HEAP and METASPACE sizes
Issue-ID: OOM-3248
Change-Id: Ifd28915564bb9309f679c5c7a2e56149aee27a57
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Diffstat (limited to 'kubernetes/aai/components/aai-resources/templates')
-rw-r--r-- | kubernetes/aai/components/aai-resources/templates/deployment.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kubernetes/aai/components/aai-resources/templates/deployment.yaml b/kubernetes/aai/components/aai-resources/templates/deployment.yaml index 5b9e9d222f..626dc71506 100644 --- a/kubernetes/aai/components/aai-resources/templates/deployment.yaml +++ b/kubernetes/aai/components/aai-resources/templates/deployment.yaml @@ -135,6 +135,12 @@ spec: echo "*** actual launch of AAI Resources" /bin/bash /opt/app/aai-resources/docker-entrypoint.sh env: + {{- if .Values.config.env }} + {{- range $key,$value := .Values.config.env }} + - name: {{ $key | upper | quote}} + value: {{ $value | quote}} + {{- end }} + {{- end }} - name: LOCAL_USER_ID value: {{ .Values.global.config.userId | quote }} - name: LOCAL_GROUP_ID |