Skip to content

Commit 1156ae2

Browse files
authored
Merge pull request #375 from guzzijones/prevent_perist
prevent init containers from persisting across helm upgrade
2 parents fca3c16 + e8e8be8 commit 1156ae2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@
77
* Reduce duplication in label tests (#354) (by @cognifloyd)
88
* 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)
99
* Enable using existing `st2-auth` secret. This allows users to manage this secret outside of the Helm process. (#359) (by @bmarick)
10+
* Prevent duplicate init containers on helm upgrade (#375) (by @guzzijones12)
1011
* Fix st2 client config issue affecting addon jobs using jobs.extra_hooks (#370) (by @cars)
1112

13+
1214
## v0.110.0
1315
* Switch st2 to `v3.8` as a new default stable version (#347)
1416
* Cover the three most recent Kubernetes versions in Minikube and the single most recent in K3s. (#342) (by @mamercad)

templates/_helpers.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ Merge packs and virtualenvs from st2 with those from st2packs images
330330
{{- define "stackstorm-ha.packs-initContainers" -}}
331331
{{- if $.Values.st2.packs.images }}
332332
{{- range $.Values.st2.packs.images }}
333-
- name: 'st2-custom-pack-{{ printf "%s-%s-%s" .repository .name .tag | sha1sum }}'
333+
- name: 'st2-custom-pack-{{ printf "%s-%s" .repository .name | sha1sum }}'
334334
image: "{{ .repository }}/{{ .name }}:{{ .tag }}"
335335
imagePullPolicy: {{ .pullPolicy | quote }}
336336
volumeMounts:

0 commit comments

Comments
 (0)