Skip to content

Commit 6a27583

Browse files
authored
fix(migrate): Fix migrate secrets (#171)
1 parent d781e50 commit 6a27583

3 files changed

Lines changed: 18 additions & 3 deletions

File tree

charts/lago/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v2
2-
appVersion: "1.30.0"
2+
appVersion: "1.32.0"
33
description: the Lago open source billing app
44
name: lago
5-
version: 1.24.0
5+
version: 1.24.1
66
dependencies:
77
- name: postgresql
88
version: "13.2.2"

charts/lago/templates/migrate-job.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,21 @@ spec:
7474
secretKeyRef:
7575
name: {{ .Release.Name }}-secrets
7676
key: secretKeyBase
77+
- name: ENCRYPTION_DETERMINISTIC_KEY
78+
valueFrom:
79+
secretKeyRef:
80+
name: {{ include "encryption-secret-path" . }}
81+
key: encryptionDeterministicKey
82+
- name: ENCRYPTION_KEY_DERIVATION_SALT
83+
valueFrom:
84+
secretKeyRef:
85+
name: {{ include "encryption-secret-path" . }}
86+
key: encryptionKeyDerivationSalt
87+
- name: ENCRYPTION_PRIMARY_KEY
88+
valueFrom:
89+
secretKeyRef:
90+
name: {{ include "encryption-secret-path" . }}
91+
key: encryptionPrimaryKey
7792
{{- with .Values.job.migrate.resources }}
7893
resources:
7994
{{- toYaml . | nindent 12 }}

charts/lago/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 1.30.0
1+
version: 1.32.0
22

33
# Required: Set the URLs for your API and Frontend services
44
# Replace these placeholders with the actual domain names.

0 commit comments

Comments
 (0)