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?)