diff --git a/templates/secret.yaml b/templates/secret.yaml index 8b38918..2d1e785 100644 --- a/templates/secret.yaml +++ b/templates/secret.yaml @@ -13,11 +13,7 @@ data: {{- else }} SECRET_KEY_BASE: {{ randAlphaNum 90 | toString | b64enc }} {{- end }} - {{- if .Values.totpVaultKey }} TOTP_VAULT_KEY: {{ .Values.totpVaultKey | toString | b64enc }} - {{- else }} - TOTP_VAULT_KEY: {{ randAlphaNum 32 | toString | b64enc }} - {{- end }} {{- if .Values.databaseURL }} DATABASE_URL: {{ .Values.databaseURL | toString | b64enc }} {{- end }} diff --git a/values.yaml b/values.yaml index 777718b..e6620bc 100644 --- a/values.yaml +++ b/values.yaml @@ -11,7 +11,7 @@ baseURL: http://plausible-analytics.local # The hosting url of the server listenIP: 0.0.0.0 secretKeyBase: "" # is automaticly generated if left empty -totpVaultKey: "" # is automaticly generated if left empty +totpVaultKey: "dsxvbn3jxDd16az2QpsX5B8O+llxjQ2SJE2i5Bzx38I=" # Should be updated! (TOTP_VAULT_KEY variable must exactly 32 bytes long) disableRegistration: false # Restricts registration of new users. logFailedLoginAttempts: false # Controls whether to log warnings about failed login attempts.