Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
If I remove group-team-map-removal and boot once without it, then it works. Afterwards I can add it again and the command git admin update-oauth happily accepts it, even if the docs do not list it as valid argument.
This is the relevant part of the helm chart values.
the documentation is missing to list group-team-map-removal as valid option for git admin update-oauth
somehow group-team-map-removal does not work the first time - I found the error msg at https://github.com/go-gitea/gitea/blob/35c5192b2572041f14a4d33cbd0128da887b360e/services/auth/source/oauth2/providers.go#L165 but I have not debugged gothProviders to see why it does not like it.
Gitea Version
gitea/gitea:1.22.0-rootless
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
Git Version
gitea/gitea:1.22.0-rootless Docker container
Operating System
Kubernetes (OpenShift)
How are you running Gitea?
Kubernetes, using the official gitea Helm chart 10.2.0
Description
When using the
group-team-map-removal: true
in the gitea helm chart values, gitea fails to boot:Output from the
configure-gitea
init container:which comes from https://gitea.com/gitea/helm-chart/src/commit/2a762f0865b69e8e95d5b7c91b1e758b44f23ee6/templates/gitea/init.yaml#L218
If I remove
group-team-map-removal
and boot once without it, then it works. Afterwards I can add it again and the commandgit admin update-oauth
happily accepts it, even if the docs do not list it as valid argument.This is the relevant part of the helm chart values.
So I think there are 2 bugs:
group-team-map-removal
as valid option forgit admin update-oauth
group-team-map-removal
does not work the first time - I found the error msg athttps://github.com/go-gitea/gitea/blob/35c5192b2572041f14a4d33cbd0128da887b360e/services/auth/source/oauth2/providers.go#L165
but I have not debugged gothProviders to see why it does not like it.Gitea Version
gitea/gitea:1.22.0-rootless
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
Git Version
gitea/gitea:1.22.0-rootless Docker container
Operating System
Kubernetes (OpenShift)
How are you running Gitea?
Kubernetes, using the official gitea Helm chart
10.2.0
Database
PostgreSQL