Skip to content

Commit 4938df9

Browse files
authored
Merge pull request #324 from rebrowning/fix/320_resolve_register_content_issue
Address issue with register content when configuring volumes
2 parents f47b7b1 + bb293fd commit 4938df9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* Use the correct `apiVersion` for `Ingress` to add support for Kubernetes `v1.22`. (#301) (by @arms11)
77
* Fix mounts for `jobs.preRegisterContentCommand` container to use the same mounts as the primary register-content container. (#322) (by @cognifloyd)
88
* Add support for providing custom st2actionrunner-specific docker repository, image name, pull policy, and pull secret via `values.yaml`. (#141) (by @Sheshagiri)
9+
* Fix bug that hung an init container when `st2.packs.volumes.enabled` without `st2.packs.volumes.configs`. (#324) (by @rebrowning)
910

1011
## v0.100.0
1112
* Switch st2 to `v3.7` as a new default stable version (#274)

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)