Forgejo#

Forgejo is being integrated as the code hosting platform, intended to replace GitLab for repository hosting and CI — it is more lightweight.

Deployment defaults#

Namespace:

code

Host:

code.<cluster_domain>

SSH:

code.<cluster_domain>:22

Manifests:

kubernetes/apps/code/forgejo/

Access#

The Helm chart generates a random admin password on first install if no forgejo-admin Secret exists. To use a specific password, create the Secret before deploying.

Database#

Forgejo uses a dedicated CloudNativePG cluster. See PostgreSQL for the operator setup and backup approach.

Storage#

Repository data lives on a dedicated PVC backed up via VolSync. See Backup and Restore for the general approach.

Configuration#

Forgejo is installed via the official Helm chart. The site overlay should provide instance-specific values such as the domain, admin credentials, and ingress settings.

Defaults#

  • Registration is disabled. An administrator creates user accounts through the web UI or CLI.

  • Default repo units: code, releases, pulls, packages, actions — issues and wiki are off by default for new repositories.

Pointers#