This commit is contained in:
2023-08-08 10:34:55 +02:00
parent 66729b0772
commit fec0ddc76c
6 changed files with 365 additions and 368 deletions

View File

@@ -9,10 +9,60 @@ 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:
domain:
default: your-company
ssh-port:
default: 2222
examples:
- your-company
- 2222
type: integer
ingress-class:
default: traefik
examples:
- traefik
type: string
webhook:
default:
allowed-hosts: private
skip-tls-verify: false
examples:
- allowed-hosts: private
skip-tls-verify: false
properties:
allowed-hosts:
default: private
type: string
skip-tls-verify:
default: false
type: boolean
type: object
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
replicas:
default: 1
examples:
- 1
type: integer
volume:
default:
size: 10Gi
examples:
- size: 10Gi
properties:
size:
default: 10Gi
type: string
type: object
theme:
default: gitea-modern
examples:
- gitea-modern
type: string
default-branch:
default: main
examples:
- main
type: string
postgres:
default:
@@ -34,21 +84,6 @@ options:
default: '14'
type: string
type: object
webhook:
default:
allowed-hosts: private
skip-tls-verify: false
examples:
- allowed-hosts: private
skip-tls-verify: false
properties:
allowed-hosts:
default: private
type: string
skip-tls-verify:
default: false
type: boolean
type: object
images:
default:
gitea:
@@ -112,26 +147,6 @@ options:
type: string
type: object
type: object
ingress-class:
default: traefik
examples:
- traefik
type: string
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
load-balancer:
default:
ip: ''
@@ -142,50 +157,30 @@ options:
default: ''
type: string
type: object
disable-registration:
default: true
examples:
- true
type: boolean
volume:
default:
size: 10Gi
examples:
- size: 10Gi
properties:
size:
default: 10Gi
type: string
type: object
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
timezone:
default: Europe/Paris
examples:
- Europe/Paris
type: string
default-branch:
default: main
disable-registration:
default: true
examples:
- main
- true
type: boolean
sub-domain:
default: git
examples:
- git
type: string
release:
default: 8.3.0
examples:
- 8.3.0
type: string
ssh-port:
default: 2222
issuer:
default: letsencrypt-prod
examples:
- 2222
type: integer
sub-domain:
default: git
examples:
- git
- letsencrypt-prod
type: string
push-create:
default:
@@ -207,21 +202,26 @@ options:
default: 'true'
type: string
type: object
replicas:
default: 1
domain:
default: your-company
examples:
- 1
type: integer
theme:
default: gitea-modern
examples:
- gitea-modern
- your-company
type: string
issuer:
default: letsencrypt-prod
admin:
default:
email: git-admin@git.your_company.com
name: gitea_admin
examples:
- letsencrypt-prod
type: string
- 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
dependencies:
- dist: null
category: share

View File

@@ -5,7 +5,6 @@ locals {
}
resource "kubectl_manifest" "prj_pg" {
depends_on = [kubectl_manifest.prj_pre_migrate_pg]
yaml_body = <<-EOF
apiVersion: postgresql.cnpg.io/v1
kind: Cluster