gitea

by joaquinito2051

Helm chartv1.3.12App 0.0.1

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.

ParameterDescriptionDefault
imageRepositoryGitea imagegitea/gitea
imageTagGitea image version1.3.2
imagePullPolicyGitea image pull policyAlways if imageTag is latest, else IfNotPresent
postgresql.installWeather or not to install PostgreSQL dependencytrue
postgresql.postgresHostPostgreSQL host (if postgresql.install == false)nil
postgresql.postgresUserPostgreSQL User to creategitea
postgresql.postgresPasswordPostgreSQL Password for the new usergitea
postgresql.postgresDatabasePostgreSQL Database to creategitea
postgresql.persistence.enabledEnable PostgreSQL persistence using Persistent Volume Claimstrue

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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartgitea is pinned at v1.3.12 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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