ability to add additional themes? #301
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?
is there a way with this chart to add additional themes to gitea? it looks like no initially but not 100% on this.
This is currently not integrated. You would need to store the css file manually in the correct directory (see https://docs.gitea.io/en-us/customizing-gitea/#customizing-the-look-of-gitea).
Adding the theme to the app.ini via configuration is possible though.
sounds like i just need to inject the file manually into the container then after each upgrade in order for it to be available. does that sound right based on those docs?
I don't think that you need to do this more than once. The Gitea data folder is persistent. So you would just place the file there.
But I agree. That should be enough. ?
thanks for the info and confirming. i am fine with this being closed. perhaps a note could be added somewhere in the readme about this though for the next person?
FWIW, here's a Terraform snippet we use to make additional themes available
values.yml
Ah. Awesome @pat-s. Thanks for sharing. Wasn't sure if there would be a conflict with mounting to that path. ?
Not after the first deployment, for more info see https://gitea.com/gitea/helm-chart/issues/296.
Probably worth documenting :)
For anyone directed to this issue from Google, I've tested this on Gitea 1.19.3 and the answer provided by @pat-s works.
You can remove the need of Terraform by manually creating the secrets within your kubernetes cluster. An example secret: