Certain custom configurations don't take effect #612
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?
I installed the helm chart for Gitea and set up connections to my redis and mariadb external sources via
additionalConfigFromEnvs
. These seem to work fine. However, others don't seem to take effect like, for instance,SHOW_REGISTRATION_BUTTON
.From my
values.yaml
What I see in
/data/gitea/conf/app.ini
However, when I visit gitea's webservice I do see the registration button showing up
Hi. Thanks for reaching out. From what I see, the
SHOW_REGISTRATION_BUTTON
lives inside theservices
section, notserver
. That's most likely the issue.f3eb835886/custom/conf/app.example.ini (L877)
Ah. Dang it autocompletion 😆. I mean
service
Ah thanks so much @justusbunsi . Appreciate it the quick response. It's fixed now 🙏
I wonder if it'd be a good idea to throw an error if some
GITEA_
env var or other config is provided but doesn't exist for the possibilities of a given section (e.g.server
andSHOW_REGISTRATION_BUTTON
). If I had seen an error it would have made me thought I did something wrong instead of just looking at the config and assuming it's perfect 😅