From 7b5cef3660bde8548484b57781940abd1ab31738 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Thu, 23 Jan 2025 14:13:10 +0100 Subject: [PATCH] docs: update admin user infos in readme --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4fbf470..8a448fa 100644 --- a/README.md +++ b/README.md @@ -531,7 +531,6 @@ postgresql: This chart enables you to create a default admin user. It is also possible to update the password for this user by upgrading or redeploying the chart. -To delete it, you need to remove this block and delete the user in the UI. You cannot use `admin` as username. ```yaml @@ -561,7 +560,9 @@ gitea: existingSecret: gitea-admin-secret ``` -Whether you use the existing Secret or specify a user name and password, there are three modes for how the admin user password is created or set. +To delete the admin user, set `username` or `password` to an empty value and delete the user in the UI. + +Whether you use the existing Secret or specify a username and password directly, there are three modes for how the admin user password is created or set. - `keepUpdated` (the default) will set the admin user password, and reset it to the defined value every time the pod is recreated. - `initialOnlyNoReset` will set the admin user password when creating it, but never try to update the password.