From 8bc683f33c5b390bcc8068ffb7f2ab53013540d5 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Thu, 9 Oct 2025 11:24:29 +0200 Subject: [PATCH] Minor fix in gitea password generation to escape additional characters Change-Id: I59461bed18835a680ffac43a14b31028136097c7 Signed-off-by: garciadeblas --- installers/gitea/00-custom-config.rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installers/gitea/00-custom-config.rc b/installers/gitea/00-custom-config.rc index 89c7e2f3..de9e8055 100644 --- a/installers/gitea/00-custom-config.rc +++ b/installers/gitea/00-custom-config.rc @@ -18,8 +18,8 @@ # Transitent file to be sourced to bootstrap some key variables # Random passwords -export GITEA_ADMINISTRATOR_PASSWORD=$(apg -a 1 -M sncl -n 1 -m 12 -x 12 -E \\\*\'\"\`\$\<\>\{\}\,) -export GITEA_STD_USER_PASS=$(apg -a 1 -M sncl -n 1 -m 10 -x 10 -E \\\*\'\"\`\$\<\>\{\}\,) +export GITEA_ADMINISTRATOR_PASSWORD=$(apg -a 1 -M sncl -n 1 -m 12 -x 12 -E '$`"\\'\''{}()<>|&*') +export GITEA_STD_USER_PASS=$(apg -a 1 -M sncl -n 1 -m 10 -x 10 -E '$`"\\'\''{}()<>|&*') # Uncomment to deploy Gitea only as ClusterIP service (i.e., no LoadBalancer) # export GITEA_CHART_VALUES_FILE=values-all.yaml -- 2.25.1