Skip to main content

Gitea

Gitea is a user-friendly, self-hosted Git service designed for managing code repositories, collaborating on projects, and automating workflows. It includes essential features like issue tracking, pull requests, and code reviews, making it a comprehensive platform for software project management. Gitea is often considered a lightweight and cost-efficient alternative to GitLab. While it may offer fewer functionalities than GitLab, it's perfect for small teams seeking a simpler and budget-friendly solution for their development needs.

Example

apiVersion: glasskube.eu/v1alpha1
kind: Gitea
metadata:
name: gitea
spec:
host: git.mycompany.eu
sshHost: ssh.git.mycompany.eu
registrationEnabled: true

Spec

NameTypeDefault
versionString"1.20.4"Check for releases on GitHub.
hostString(required)
sshEnabledBooleantrue
sshHostStringsame as host
adminSecretLocalObjectReference?nullSecret containing data of the admin user to create on pod initialization. Expected keys are GITEA_ADMIN_USER, GITEA_ADMIN_EMAIL and GITEA_ADMIN_PASSWORD
registrationEnabledBooleanfalse
replicasInt1
smtpSmtpSpec?null
resourcesResourceRequirements
databasePostgresDatabaseSpec?
storageStorageSpec?

StorageSpec

NameTypeDefault
sizeQuantity?10Gi
storageClassNameString?nullAn empty value will instruct the system to use the default storage class configured in the cluster.