helm - 1.21.2 init error - gitea/gitea:1.21.2-rootless no working #589
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It appears that the init pod
configure-gitea
is not working correctly in1.21
.Using
I am getting a crashloopbackoff
Here is the error
testing it with
--set image.tag=1.21.1
everything works as expected.It appears that
1.21.2-rootless
is having an issueCan reproduce it. Investigating right now.
🫣 Ouch. This is a side-effect of https://github.com/go-gitea/gitea/pull/28390. It introduces warning logs that distort the output of
gitea admin user list --admin
. That command reads all admin users to check if the given admin username already exists. Unfortunately, with 1.21.2 the output of this command changes as follows:You are using the admin account
gitea
. The init script assumes the output of above command is clean. Yet another "unfortunately": This is not the case anymore. The init script detects the "gitea" and thinks the user already exists.I'm trying to fix this right now.
By the way, changing the admin username to something different than
gitea
would work. But that only works for first installs.with helm, how can I set the username to "admin"?
admin
is a reserved name within Gitea and cannot be used. But any other value for--set gitea.admin.username=<your-admin-username>
would work.The Chart default is
gitea_admin
.can I still use gitea. We use it for workshops and want to set a generic id.
As soon as this bug is fixed, the username
gitea
will work with Gitea 1.21.2 again.Right now, this is not possible due to https://gitea.com/gitea/helm-chart/issues/589#issuecomment-760585. I am working on a fix. 😉
@clemenko Feel free to test the PR #590.