From a6df972673cf97d75e2e0e79b74fd8d3d9cc6da0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Denquin?= Date: Mon, 12 Feb 2024 15:23:31 +0100 Subject: [PATCH] fix(secrets): use fixed secret name (#25) --- Chart.yaml | 4 ++-- README.md | 4 ++-- templates/secrets.yaml | 6 +++--- values.yaml | 10 +++++----- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Chart.yaml b/Chart.yaml index f2a6a3b..15d4a3d 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v1 -appVersion: "0.54.2-beta" +appVersion: "0.55.0-beta" description: the Lago open source billing app name: lago -version: 0.4.1 +version: 0.4.2 dependencies: - name: postgresql version: "13.2.2" diff --git a/README.md b/README.md index 1e2cfd1..b979ef4 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Lago Helm Chart -Version: 0.4.1 -Lago Version : v0.54.2-beta +Version: 0.4.2 +Lago Version : v0.55.0-beta ## Configuration diff --git a/templates/secrets.yaml b/templates/secrets.yaml index 7d03a14..7559ba5 100644 --- a/templates/secrets.yaml +++ b/templates/secrets.yaml @@ -1,13 +1,13 @@ apiVersion: v1 kind: Secret metadata: - name: {{ .Release.Name }}-secrets + name: lago-secrets annotations: helm.sh/resource-policy: keep type: Opaque data: - {{ $secretObj := (lookup "v1" "Secret" .Release.Namespace "{{ .Release.Name }}-secrets") | default dict }} - {{ $secretData := (get $secretObj "data" | default dict) }} + {{ $secretObj := (lookup "v1" "Secret" .Release.Namespace "lago-secrets") | default dict}} + {{ $secretData := (get $secretObj "data") | default dict }} {{ $rsaPrivateKey := (get $secretData "rsaPrivateKey") | default (genPrivateKey "rsa" | b64enc | b64enc) }} rsaPrivateKey: {{ $rsaPrivateKey | quote }} diff --git a/values.yaml b/values.yaml index a331ba2..d5a7b1f 100644 --- a/values.yaml +++ b/values.yaml @@ -1,7 +1,7 @@ -version: "0.54.2-beta" +version: "0.55.0-beta" -#apiUrl: -#frontUrl: +# apiUrl: +# frontUrl: # Only for Development, Staging or PoC, you should use a managed Redis instance for Production redis: @@ -62,8 +62,8 @@ global: signup: enabled: true - #ingress: - #enabled: + ingress: + enabled: false #frontHostname: #apiHostname: #className: