I have a homelab k8s cluster running great using flux, several apps, based on the common homelab templates folks use. I currently host the gitops repo on a gitea instance running in a separate TrueNAS instance. This works fine but I’m not totally satisfied with how gitea is running. My inclination is to just run gitea in the k8s cluster, yes the same one that the gitops repo is managing. I realize this is bad in a bunch of obvious ways. But I’m wondering if it’s possibly not as bad as I might think it is. Of course I’d have a backup of the repo on my laptop. So if the gitea became unavailable for gitops I’d probably be able to bootstrap it from the backup repo. Any folks have experience running it like this?
I try and keep services that support my pipelines outside of these kinds of things.