gitea

by joaquinito2051

Helm chartv0.1.4App latest

A Helm chart for Kubernetes

About this chart

Gitea: Git with a cup of tea

Gitea is a simple Git repository manager with issue tracking. Gitea is a community managed lightweight code hosting solution written in Go. It is published under the MIT license.

Introduction

This chart helps you to create Gitea server on OpenShift without requiring elevated privileges.

Installing Gitea

To install Gitea in a given namespace:

helm upgrade --install --repo=https://redhat-cop.github.io/helm-charts gitea gitea --set db.password=S00perSekretP@ssw0rd --set hostname=gitea.apps.mycluster.example.com

YOU MUST SPECIFY THE DB PASSWORD AND THE PUBLIC-FACING HOSTNAME

Uninstalling The Chart

helm delete gitea

Configuration

ParameterDescriptionDefault ValueRequired?
hostnameThe public-facing FQDN for the web appNONEYes
internal_tokenA 106 char token keyRandomly GeneratedNo
secret_keySecret KeyRandomly GeneratedNo
db.passwordThe password to configure in the PostgreSQL DBNONEYes
db.nameThe name of the DB resources to be createdgitea-dbNo
db.userDB UsernamegiteaNo
db.memory_limitThe memory limit for the DB512MiNo
db.imagestream_nameThe name of the imagestream containerpostgresqlNo
db.imagestream_namespaceThe name of the imagestream namespaceopenshiftNo
db.imagestream_tagThe imagestream version taglatestNo

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 v0.1.4 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