After using the chart to deploy, modify the admin user password on the web. When gitea restarts, the admin password is reset.

see a password reset in the init script init.yaml, what is the purpose of this? Will there be any bad effects if I remove the admin password reset? Will the configured username and password be used internally by gitea?

I think here the password should not be reset after checking that the user already exists. This will make users confused, I changed the admin password, and the password was reset after gitea restarted.