Skip to content

Commit ff25bf0

Browse files
authored
fix(migrate): run migration before upgrade as well (#183)
1 parent fd49ea5 commit ff25bf0

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

charts/lago/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
appVersion: "1.32.4"
33
description: the Lago open source billing app
44
name: lago
5-
version: 1.26.2
5+
version: 1.26.3
66
dependencies:
77
- name: minio
88
version: "5.2.0"

charts/lago/templates/migrate-job.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
labels:
66
helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
77
annotations:
8-
helm.sh/hook: pre-install
8+
helm.sh/hook: pre-install,pre-upgrade
99
helm.sh/hook-weight: "-1"
1010
helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded
1111
spec:

charts/lago/templates/serviceaccount.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: {{ .Release.Name }}-serviceaccount
66
namespace: {{ .Release.Namespace }}
77
annotations:
8-
helm.sh/hook: pre-install
8+
helm.sh/hook: pre-install,pre-upgrade
99
helm.sh/hook-weight: "-2"
1010
{{ end }}
1111
---

0 commit comments

Comments
 (0)