gitea

by mjpitz

Helm chartv23.12.5App 1.21.6MITVerified publisher

Git with a cup of tea. A painless, self-hosted Git Service.

About this chart

gitea

Git with a cup of tea. A painless, self-hosted Git Service.

Maintainers

NameEmailUrl
Mya Pitzerusehttps://mya.sh

Source Code

Requirements

RepositoryNameVersion
https://mya.shlitestream22.4.4
https://mya.shredis22.4.9
https://mya.shredis-queue22.4.6

Values

KeyTypeDefaultDescription
affinityobject{}Specify affinity rules for the pods.
config.actions.enabledboolfalseEnable Gitea Action support for CI/CD.
config.attachment.overridesobject{}Override configuration for the attachment block of the configuration file.
config.blobsobject{"accessKeyId":"","bucket":"","endpoint":"","region":"","secretAccessKey":"","useSSL":true}Provide configuration for the backing blob store.
config.blobs.accessKeyIdstring""The access key id used to authenticate the session.
config.blobs.bucketstring""Specify the bucket to store information in.
config.blobs.endpointstring""The endpoint hosting the S3 implementation. Setting this value enables object storage for blobs.
config.blobs.regionstring""Specify the region where the blob data is hosted.
config.blobs.secretAccessKeystring""The secret access key used to authenticate with the S3 implementation.
config.blobs.useSSLbooltrueConfigure SSL for the blob storage.
config.cors.overridesobject{}Override configuration for the cors block of the configuration file.
config.databaseobject{"host":"","log":false,"name":"","password":"","schema":"","sslMode":"","type":"","username":""}Provide configuration for the backing database. If not provided, SQLite will be used.
config.database.hoststring""Configure the host of the database server.
config.database.logboolfalseDatabase logging.
config.database.namestring""Configure the name of the database.
config.database.passwordstring""Specify the password used to connect to the database.
config.database.schemastring""Specify the schema to use.
config.database.sslModestring""Specify the SSL mode to use for the database connection.
config.database.typestring""Specify what type of database we're connecting to.
config.database.usernamestring""Specify the username used to connect to the database.
config.email.fromstring""Who to send emails from.
config.email.hoststring""The host hosting the email server.
config.email.passwordstring""The password to use when authenticating with the mail server.
config.email.portint465The port hosting the SMTP server.
config.email.usernamestring""The username to use when authenticating with the mail server.
config.index.code.connectionStringstring""Specify the connection string to connect to an external elasticsearch instance.
config.index.code.enabledboolfalseEnable code search capabilities.
config.index.code.typestring""Configure the code index backend. Can be elasticsearch, defaults to bleve.
config.index.issues.connectionStringstring""Specify the connection string to connect to an external elasticsearch instance.
config.index.issues.typestring""Configure the issue index backend. Can be elasticsearch, defaults to bleve.
config.lfs.overridesobject{}Override configuration for the lfs block of the configuration file.
config.log.overridesobject{}Override configuration for the log block of the configuration file.
config.markdown.overridesobject{}Override configuration for the markdown block of the configuration file.
config.metrics.overridesobject{}Override configuration for the metrics block of the configuration file.
config.overridesobject{}Override configuration for the DEFAULT block of the configuration file.
config.packages.enabledbooltrueEnable package management.
config.picture.overridesobject{}Override configuration for the picture block of the configuration file.
config.queues.code_indexer.connectionStringstring""Specify a connection string for the code_indexer queue. Only applicable for redis queues. Defaults to config.queues.connectionString.
config.queues.code_indexer.dbint1Specify which database should be used for the code_indexer queue. Only applicable for redis queues.

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 v23.12.5 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