helm - 1.21.2 init error - gitea/gitea:1.21.2-rootless no working #589
Labels
No Label
has
backport
in progress
invalid
kind
breaking
kind
bug
kind
build
kind
dependency
kind
deployment
kind
docs
kind
enhancement
kind
feature
kind
lint
kind
proposal
kind
question
kind
refactor
kind
security
kind
testing
kind
translation
kind
ui
need
backport
priority
critical
priority
low
priority
maybe
priority
medium
reviewed
duplicate
reviewed
invalid
reviewed
wontfix
skip-changelog
status
blocked
status
needs-feedback
status
needs-reviews
status
wip
upstream
gitea
upstream
other
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/helm-chart#589
Loading…
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.
helm - 1.21.2 init error - gitea/gitea:1.21.2-rootless no workieto helm - 1.21.2 init error - gitea/gitea:1.21.2-rootless no working🫣 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 #589 (comment). I am working on a fix. 😉
@clemenko Feel free to test the PR #590.