Skip to content

Commit

Permalink
[DEL] random totpVaultKey
Browse files Browse the repository at this point in the history
  • Loading branch information
alexnuttinck committed Jun 14, 2024
1 parent c7e1002 commit cedd97b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit cedd97b

Please sign in to comment.