From: garciadeblas Date: Thu, 9 Oct 2025 09:24:29 +0000 (+0200) Subject: Minor fix in gitea password generation to escape additional characters X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=8bc683f33c5b390bcc8068ffb7f2ab53013540d5;p=osm%2Fdevops.git Minor fix in gitea password generation to escape additional characters Change-Id: I59461bed18835a680ffac43a14b31028136097c7 Signed-off-by: garciadeblas --- 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