Skip to content

Commit

Permalink
Merge pull request #375 from guzzijones/prevent_perist
Browse files Browse the repository at this point in the history
prevent init containers from persisting across helm upgrade
  • Loading branch information
guzzijones committed Oct 9, 2023
2 parents fca3c16 + e8e8be8 commit 1156ae2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
* Reduce duplication in label tests (#354) (by @cognifloyd)
* Add `st2canary` job as a Helm Hook that runs before install/upgrade to ensure `st2.packs.volumes` is configured correctly (if `st2.packs.volumes.enabled`). (#323) (by @cognifloyd)
* Enable using existing `st2-auth` secret. This allows users to manage this secret outside of the Helm process. (#359) (by @bmarick)
* Prevent duplicate init containers on helm upgrade (#375) (by @guzzijones12)
* Fix st2 client config issue affecting addon jobs using jobs.extra_hooks (#370) (by @cars)


## v0.110.0
* Switch st2 to `v3.8` as a new default stable version (#347)
* Cover the three most recent Kubernetes versions in Minikube and the single most recent in K3s. (#342) (by @mamercad)
Expand Down
2 changes: 1 addition & 1 deletion templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ Merge packs and virtualenvs from st2 with those from st2packs images
{{- define "stackstorm-ha.packs-initContainers" -}}
{{- if $.Values.st2.packs.images }}
{{- range $.Values.st2.packs.images }}
- name: 'st2-custom-pack-{{ printf "%s-%s-%s" .repository .name .tag | sha1sum }}'
- name: 'st2-custom-pack-{{ printf "%s-%s" .repository .name | sha1sum }}'
image: "{{ .repository }}/{{ .name }}:{{ .tag }}"
imagePullPolicy: {{ .pullPolicy | quote }}
volumeMounts:
Expand Down

0 comments on commit 1156ae2

Please sign in to comment.