Skip to content

Commit a939974

Browse files
committed
add the additional check to the condition, since what is happening is the container is attempting to run but the st2-pack-configs-from-helm-vol is not being created because the condition is not met
1 parent f47b7b1 commit a939974

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/_helpers.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ Merge packs and virtualenvs from st2 with those from st2packs images
304304
securityContext: {{- toYaml . | nindent 8 }}
305305
{{- end }}
306306
{{- end }}
307-
{{- if and $.Values.st2.packs.configs $.Values.st2.packs.volumes.enabled }}
307+
{{- if and $.Values.st2.packs.configs $.Values.st2.packs.volumes.enabled $.Values.st2.packs.volumes.configs }}
308308
# Pack configs defined in helm values
309309
- name: st2-pack-configs-from-helm
310310
image: '{{ template "stackstorm-ha.imageRepository" . }}/st2actionrunner:{{ tpl (.Values.st2actionrunner.image.tag | default .Values.image.tag) . }}'

0 commit comments

Comments
 (0)