From 0b88c6fb0eb215feb7951bba74a6a2e3c6141b22 Mon Sep 17 00:00:00 2001 From: Ahmed AbouZaid <6760103+aabouzaid@users.noreply.github.com> Date: Fri, 20 Dec 2024 14:02:30 +0100 Subject: [PATCH] fix(alpha): move core sts command to correct location (#2712) --- .../camunda-platform-alpha/templates/core/statefulset.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/charts/camunda-platform-alpha/templates/core/statefulset.yaml b/charts/camunda-platform-alpha/templates/core/statefulset.yaml index 8b4c77d893..692e0c34e6 100644 --- a/charts/camunda-platform-alpha/templates/core/statefulset.yaml +++ b/charts/camunda-platform-alpha/templates/core/statefulset.yaml @@ -45,7 +45,11 @@ spec: {{- if .Values.core.containerSecurityContext }} securityContext: {{- include "common.compatibility.renderSecurityContext" (dict "secContext" $.Values.core.containerSecurityContext "context" $) | nindent 12 }} {{- end }} + {{- if .Values.core.command }} + command: {{ toYaml .Values.core.command | nindent 10 }} + {{- else }} command: ["bash", "/usr/local/bin/startup.sh"] + {{- end }} env: - name: CAMUNDA_LICENSE_KEY valueFrom: @@ -89,9 +93,6 @@ spec: envFrom: {{- .Values.core.envFrom | toYaml | nindent 12 }} {{- end }} - {{- if .Values.core.command }} - command: {{ toYaml .Values.core.command | nindent 10 }} - {{- end }} ports: - containerPort: {{ .Values.core.service.httpPort }} name: {{ default "http" .Values.core.service.httpName }}