Support for configuring gitolite without the gitolite-admin repo?

2 views
Skip to first unread message

Philip Couling

unread,
Oct 21, 2025, 12:35:36 PMOct 21
to gito...@googlegroups.com
I'm curious about running gitolite inside kubernetes and in particular I'm interested in how easy it might be to strip off the gitolie-admin git repo and replace it with a configmap.

If I understand correctly, the admin repo is cloned into "$HOME/.gitolite". Pushing to the admin repo triggers a tiny perl script at hooks/gitolite-admin/post-update.

So my question is: would gitolite support removal of the "gitolite-admin" repo and instead having a simple directory of config in "$HOME/.gitolite", as long as I can guarantee that a similar post-update hook script is fired every time configuration changes?

IE: Does gitolite specifically need $HOME/.gitolite to be a clone of gitolite-admin for any other reason than triggering updates? (What else does it need this for?)

Sitaram Chamarty

unread,
Oct 21, 2025, 12:39:42 PMOct 21
to gito...@googlegroups.com, Philip Couling
I don't know what "replace with a config map" means, but check out this link. It sounds like this is what you need:

https://gitolite.com/gitolite/odds-and-ends.html#administering-gitolite-directly-on-the-server

Philip Couling

unread,
Oct 21, 2025, 4:44:22 PMOct 21
to Sitaram Chamarty, gito...@googlegroups.com
Oh! I'd missed that in the docs. Thank you so much, that's exactly what I need.
Reply all
Reply to author
Forward
0 new messages