docs: update admin user infos in readme

This commit is contained in:
xeruf 2025-01-23 14:13:10 +01:00
parent 62836f123a
commit 7b5cef3660

View file

@ -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.