Gitea
Prerequisites
This guide assumes you have the following prerequisites in place:
Gitea
Gitea is a self-hosted Git service that provides a simple and efficient way to manage your Git repositories. It is a lightweight and easy-to-use alternative to other Git hosting services.
Installation
- Create the following directory structure for Gitea:
- Add the following content to
gitea/gitea.yml: - Add the following content to
gitea/gitea-db.yml: - Add the following content to
gitea/gitea-db-secret-tmp.yml: - Encrypt the
gitea-db-secret-tmp.ymlfile using Sealed Secrets and save the output asgitea-db-secret.yml: - Add the following content to
gitea/gitea-ingress.yml: - Add the following content to
gitea/gitea-ingress-route.yml: - Add the following content to
gitea/gitea-pvc.yml: - Add the following content to
gitea/gitea-svc.yml: - Commit and push the files to your Git repository. Flux will automatically deploy Gitea to your cluster.