This commit is contained in:
2023-09-21 12:44:34 +02:00
parent 287b4b8caa
commit cfed1eb857
23 changed files with 1009 additions and 780 deletions

View File

@@ -9,21 +9,21 @@ metadata:
A painless self-hosted Git service.
Gitea is a community managed lightweight code hosting solution written in Go. It is published under the MIT license.
options:
ingress-class:
default: traefik
examples:
- traefik
type: string
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
release:
default: 8.3.0
ingress-class:
default: traefik
examples:
- 8.3.0
- traefik
type: string
ssh-port:
default: 2222
examples:
- 2222
type: integer
webhook:
default:
allowed-hosts: private
@@ -59,60 +59,25 @@ options:
default: '14'
type: string
type: object
sub-domain:
default: git
issuer:
default: letsencrypt-prod
examples:
- git
- letsencrypt-prod
type: string
replicas:
default: 1
examples:
- 1
type: integer
admin:
default:
email: git-admin@git.your_company.com
name: gitea_admin
examples:
- email: git-admin@git.your_company.com
name: gitea_admin
properties:
email:
default: git-admin@git.your_company.com
type: string
name:
default: gitea_admin
type: string
type: object
timezone:
default: Europe/Paris
examples:
- Europe/Paris
type: string
ssh-port:
default: 2222
examples:
- 2222
type: integer
domain:
default: your-company
examples:
- your-company
type: string
default-branch:
default: main
sub-domain:
default: git
examples:
- main
type: string
theme:
default: gitea-modern
examples:
- gitea-modern
type: string
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
- git
type: string
push-create:
default:
@@ -134,14 +99,19 @@ options:
default: 'true'
type: string
type: object
volume:
admin:
default:
size: 10Gi
email: git-admin@git.your_company.com
name: gitea_admin
examples:
- size: 10Gi
- email: git-admin@git.your_company.com
name: gitea_admin
properties:
size:
default: 10Gi
email:
default: git-admin@git.your_company.com
type: string
name:
default: gitea_admin
type: string
type: object
images:
@@ -207,11 +177,31 @@ options:
type: string
type: object
type: object
disable-registration:
default: true
app-group:
default: dev
examples:
- true
type: boolean
- dev
type: string
theme:
default: gitea-modern
examples:
- gitea-modern
type: string
volume:
default:
size: 10Gi
examples:
- size: 10Gi
properties:
size:
default: 10Gi
type: string
type: object
release:
default: 8.3.0
examples:
- 8.3.0
type: string
load-balancer:
default:
ip: ''
@@ -222,6 +212,16 @@ options:
default: ''
type: string
type: object
disable-registration:
default: true
examples:
- true
type: boolean
default-branch:
default: main
examples:
- main
type: string
backups:
default:
enable: false
@@ -328,6 +328,11 @@ options:
default: false
type: boolean
type: object
replicas:
default: 1
examples:
- 1
type: integer
dependencies:
- dist: null
category: share

View File

@@ -83,6 +83,7 @@ resource "authentik_provider_ldap" "gitea_provider_ldap" {
resource "authentik_application" "gitea_application" {
name = "${var.instance}"
slug = "${var.component}-${var.instance}-ldap"
group = var.app-group
protocol_provider = authentik_provider_ldap.gitea_provider_ldap.id
meta_launch_url = format("https://%s.%s", var.sub-domain, var.domain-name)
meta_icon = format("https://%s.%s/%s", var.sub-domain, var.domain-name, "assets/img/logo.svg")