diff --git a/CHANGELOG.md b/CHANGELOG.md index b861b63f..ed8488da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/templates/_helpers.tpl b/templates/_helpers.tpl index 5aca9852..4b98b21c 100644 --- a/templates/_helpers.tpl +++ b/templates/_helpers.tpl @@ -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: