From 89432db555baf3bbae44c55e6b29b4c0f8220b76 Mon Sep 17 00:00:00 2001 From: James Date: Mon, 29 Jan 2024 14:33:58 +0000 Subject: [PATCH] increase recipes key secret length to 64 --- charts/tandoor-recipes/templates/secret.yaml | 2 +- charts/tandoor-recipes/values.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/tandoor-recipes/templates/secret.yaml b/charts/tandoor-recipes/templates/secret.yaml index ad5a643..0e684fd 100644 --- a/charts/tandoor-recipes/templates/secret.yaml +++ b/charts/tandoor-recipes/templates/secret.yaml @@ -7,6 +7,6 @@ type: Opaque data: {{- $secretObj := (lookup "v1" "Secret" .Release.Namespace "recipes-secret-key") | default dict }} {{- $secretData := (get $secretObj "data") | default dict }} - {{- $secretKey := (get $secretData "recipes-secret-key") | default (randAlphaNum 32 | b64enc) }} + {{- $secretKey := (get $secretData "recipes-secret-key") | default (randAlphaNum 64 | b64enc) }} password: {{ $secretKey | quote }} {{- end }} \ No newline at end of file diff --git a/charts/tandoor-recipes/values.yaml b/charts/tandoor-recipes/values.yaml index c8aa842..54e3b41 100644 --- a/charts/tandoor-recipes/values.yaml +++ b/charts/tandoor-recipes/values.yaml @@ -47,6 +47,8 @@ externalPostgresql: database: recipes username: recipes # password: recipes + # existingSecret: recipes + # existingSecretPasswordKey: password postgresql: enabled: true