From a147236d09d353073b8111761a6e28371dbca5bd Mon Sep 17 00:00:00 2001 From: Lukas Date: Mon, 29 Apr 2024 16:37:43 +0000 Subject: [PATCH] fix: admin password sync for forgejo v7 (#445) Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/445 Reviewed-by: Michael Kriese Co-authored-by: Lukas Co-committed-by: Lukas --- templates/gitea/init.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/gitea/init.yaml b/templates/gitea/init.yaml index 72ab984..7f31f6a 100644 --- a/templates/gitea/init.yaml +++ b/templates/gitea/init.yaml @@ -114,7 +114,7 @@ stringData: echo '...created.' else echo "Admin account '${GITEA_ADMIN_USERNAME}' already exist. Running update to sync password..." - gitea admin user change-password --username "${GITEA_ADMIN_USERNAME}" --password "${GITEA_ADMIN_PASSWORD}" + gitea admin user change-password --username "${GITEA_ADMIN_USERNAME}" --password "${GITEA_ADMIN_PASSWORD} --must-change-password=false" echo '...password sync done.' fi }