gitea
Gitea: Go Git Service
About this chart
Gitea Helm Chart
Gitea is a painless self-hosted Git service.
TL;DR;
$ helm install incubator/gitea
Introduction
This chart bootstraps a Gitea deployment on a Kubernetes cluster using the Helm package manager.
Prerequisites Details
- PV support on underlying infrastructure (if persistence is required)
Installing the Chart
To install the chart with the release name my-release:
$ helm install --name my-release incubator/gitea
Uninstalling the Chart
To uninstall/delete the my-release deployment:
$ helm delete my-release
The command removes nearly all the Kubernetes components associated with the chart and deletes the release.
Configuration
The following tables lists some of the configurable parameters of the Gitea chart and their default values.
| Parameter | Description | Default |
|---|---|---|
imageRepository | Gitea image | gitea/gitea |
imageTag | Gitea image version | 1.3.2 |
imagePullPolicy | Gitea image pull policy | Always if imageTag is latest, else IfNotPresent |
postgresql.install | Weather or not to install PostgreSQL dependency | true |
postgresql.postgresHost | PostgreSQL host (if postgresql.install == false) | nil |
postgresql.postgresUser | PostgreSQL User to create | gitea |
postgresql.postgresPassword | PostgreSQL Password for the new user | gitea |
postgresql.postgresDatabase | PostgreSQL Database to create | gitea |
postgresql.persistence.enabled | Enable PostgreSQL persistence using Persistent Volume Claims | true |
See values.yaml for a more complete list, and links to the Gitea documentation.
Specify each parameter using the --set key=value[,key=value] argument to
helm install.
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,
$ helm install --name my-release -f values.yaml incubator/gitea
Tip: You can use the default values.yaml
Deploy gitea with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has gitea on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartgitea is pinned at v1.3.12 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply