From eafcf8ba095d0bc7aa304dbd76c9f0e1b83276a0 Mon Sep 17 00:00:00 2001 From: Konstantin Grachev Date: Thu, 2 Mar 2023 23:57:38 +0300 Subject: [PATCH] chore: increase default password length up to 32 --- templates/_secrets.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/_secrets.tpl b/templates/_secrets.tpl index 6a52c04..da46f51 100644 --- a/templates/_secrets.tpl +++ b/templates/_secrets.tpl @@ -87,7 +87,7 @@ The order in which this function returns a secret password: {{- $password := "" }} {{- $subchart := "" }} {{- $chartName := default "" .chartName }} -{{- $passwordLength := default 10 .length }} +{{- $passwordLength := default 32 .length }} {{- $providedPasswordKey := include "common.utils.getKeyFromList" (dict "keys" .providedValues "context" $.context) }} {{- $providedPasswordValue := include "common.utils.getValueFromKey" (dict "key" $providedPasswordKey "context" $.context) }} {{- $secretData := (lookup "v1" "Secret" (include "common.namespace" .context) .secret).data }}