Skip to content

Commit

Permalink
fix(alpha): move core sts command to correct location (#2712)
Browse files Browse the repository at this point in the history
  • Loading branch information
aabouzaid authored Dec 20, 2024
1 parent cc74f31 commit 0b88c6f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions charts/camunda-platform-alpha/templates/core/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 0b88c6f

Please sign in to comment.