From bfd31c19e0eaa0f3b8374b87e57dadbbcd6b1bbe Mon Sep 17 00:00:00 2001 From: Daniel Rodriguez Date: Thu, 19 Dec 2024 17:18:31 -0500 Subject: [PATCH] fix: added support for optimize env vars for migration initcontainer --- charts/camunda-platform-8.6/templates/optimize/deployment.yaml | 3 +++ .../camunda-platform-alpha/templates/optimize/deployment.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/charts/camunda-platform-8.6/templates/optimize/deployment.yaml b/charts/camunda-platform-8.6/templates/optimize/deployment.yaml index 1810894773..72058ad18f 100644 --- a/charts/camunda-platform-8.6/templates/optimize/deployment.yaml +++ b/charts/camunda-platform-8.6/templates/optimize/deployment.yaml @@ -88,6 +88,9 @@ spec: - name: CAMUNDA_OPTIMIZE_OPENSEARCH_AWS_ENABLED value: "true" {{- end }} + {{- with .Values.optimize.env }} + {{- tpl (toYaml .) $ | nindent 12 }} + {{- end }} {{- with .Values.optimize.migration.env }} {{- tpl (toYaml .) $ | nindent 12 }} {{- end }} diff --git a/charts/camunda-platform-alpha/templates/optimize/deployment.yaml b/charts/camunda-platform-alpha/templates/optimize/deployment.yaml index 3ac8f8e442..9d6f8768a3 100644 --- a/charts/camunda-platform-alpha/templates/optimize/deployment.yaml +++ b/charts/camunda-platform-alpha/templates/optimize/deployment.yaml @@ -88,6 +88,9 @@ spec: - name: CAMUNDA_OPTIMIZE_OPENSEARCH_AWS_ENABLED value: "true" {{- end }} + {{- with .Values.optimize.env }} + {{- tpl (toYaml .) $ | nindent 12 }} + {{- end }} {{- with .Values.optimize.migration.env }} {{- tpl (toYaml .) $ | nindent 12 }} {{- end }}