This commit is contained in:
2024-01-26 12:56:06 +01:00
parent f859b06bee
commit ebbf704f85
13 changed files with 711 additions and 724 deletions

View File

@@ -9,11 +9,122 @@ 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:
default-branch:
default: main
ingress_class:
default: traefik
examples:
- main
- traefik
type: string
domain_name:
default: your_company.com
examples:
- your_company.com
type: string
backups:
default:
enable: false
endpoint: ''
key-id-key: s3-id
restic-key: bck-password
retention:
db: 30d
keepDaily: 14
keepMonthly: 12
keepWeekly: 6
keepYearly: 12
schedule:
backup: 10 3 * * *
check: 10 5 * * 1
db: 10 3 * * *
prune: 10 1 * * 0
secret-key: s3-secret
secret-name: backup-settings
use-barman: false
examples:
- enable: false
endpoint: ''
key-id-key: s3-id
restic-key: bck-password
retention:
db: 30d
keepDaily: 14
keepMonthly: 12
keepWeekly: 6
keepYearly: 12
schedule:
backup: 10 3 * * *
check: 10 5 * * 1
db: 10 3 * * *
prune: 10 1 * * 0
secret-key: s3-secret
secret-name: backup-settings
use-barman: false
properties:
enable:
default: false
type: boolean
endpoint:
default: ''
type: string
key-id-key:
default: s3-id
type: string
restic-key:
default: bck-password
type: string
retention:
default:
db: 30d
keepDaily: 14
keepMonthly: 12
keepWeekly: 6
keepYearly: 12
properties:
db:
default: 30d
type: string
keepDaily:
default: 14
type: integer
keepMonthly:
default: 12
type: integer
keepWeekly:
default: 6
type: integer
keepYearly:
default: 12
type: integer
type: object
schedule:
default:
backup: 10 3 * * *
check: 10 5 * * 1
db: 10 3 * * *
prune: 10 1 * * 0
properties:
backup:
default: 10 3 * * *
type: string
check:
default: 10 5 * * 1
type: string
db:
default: 10 3 * * *
type: string
prune:
default: 10 1 * * 0
type: string
type: object
secret-key:
default: s3-secret
type: string
secret-name:
default: backup-settings
type: string
use-barman:
default: false
type: boolean
type: object
push-create:
default:
org: 'true'
@@ -34,6 +145,11 @@ options:
default: 'true'
type: string
type: object
replicas:
default: 1
examples:
- 1
type: integer
admin:
default:
email: git-admin@git.your_company.com
@@ -49,36 +165,16 @@ options:
default: gitea_admin
type: string
type: object
ssh-sub-domain:
default: git
examples:
- git
type: string
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
load-balancer:
postgres:
default:
ip: ''
replicas: 1
examples:
- ip: ''
- replicas: 1
properties:
ip:
default: ''
type: string
replicas:
default: 1
type: integer
type: object
ssh-port:
default: 2222
examples:
- 2222
type: integer
theme:
default: gitea-modern
examples:
- gitea-modern
type: string
storage:
default:
postgres:
@@ -140,11 +236,6 @@ options:
type: string
type: object
type: object
domain:
default: your-company
examples:
- your-company
type: string
images:
default:
gitea:
@@ -276,122 +367,51 @@ options:
type: string
type: object
type: object
ingress_class:
default: traefik
examples:
- traefik
type: string
app_group:
default: dev
examples:
- dev
type: string
backups:
default:
enable: false
endpoint: ''
key-id-key: s3-id
restic-key: bck-password
retention:
db: 30d
keepDaily: 14
keepMonthly: 12
keepWeekly: 6
keepYearly: 12
schedule:
backup: 10 3 * * *
check: 10 5 * * 1
db: 10 3 * * *
prune: 10 1 * * 0
secret-key: s3-secret
secret-name: backup-settings
use-barman: false
disable-registration:
default: true
examples:
- enable: false
endpoint: ''
key-id-key: s3-id
restic-key: bck-password
retention:
db: 30d
keepDaily: 14
keepMonthly: 12
keepWeekly: 6
keepYearly: 12
schedule:
backup: 10 3 * * *
check: 10 5 * * 1
db: 10 3 * * *
prune: 10 1 * * 0
secret-key: s3-secret
secret-name: backup-settings
use-barman: false
properties:
enable:
default: false
type: boolean
endpoint:
default: ''
type: string
key-id-key:
default: s3-id
type: string
restic-key:
default: bck-password
type: string
retention:
default:
db: 30d
keepDaily: 14
keepMonthly: 12
keepWeekly: 6
keepYearly: 12
properties:
db:
default: 30d
type: string
keepDaily:
default: 14
type: integer
keepMonthly:
default: 12
type: integer
keepWeekly:
default: 6
type: integer
keepYearly:
default: 12
type: integer
type: object
schedule:
default:
backup: 10 3 * * *
check: 10 5 * * 1
db: 10 3 * * *
prune: 10 1 * * 0
properties:
backup:
default: 10 3 * * *
type: string
check:
default: 10 5 * * 1
type: string
db:
default: 10 3 * * *
type: string
prune:
default: 10 1 * * 0
type: string
type: object
secret-key:
default: s3-secret
type: string
secret-name:
default: backup-settings
type: string
use-barman:
default: false
type: boolean
type: object
- true
type: boolean
default-branch:
default: main
examples:
- main
type: string
sub-domain:
default: git
examples:
- git
type: string
domain:
default: your-company
examples:
- your-company
type: string
theme:
default: gitea-modern
examples:
- gitea-modern
type: string
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
ssh-port:
default: 2222
examples:
- 2222
type: integer
timezone:
default: Europe/Paris
examples:
- Europe/Paris
type: string
webhook:
default:
allowed-hosts: private
@@ -407,36 +427,11 @@ options:
default: false
type: boolean
type: object
disable-registration:
default: true
examples:
- true
type: boolean
release:
default: 8.3.0
examples:
- 8.3.0
type: string
postgres:
default:
replicas: 1
examples:
- replicas: 1
properties:
replicas:
default: 1
type: integer
type: object
sub-domain:
ssh-sub-domain:
default: git
examples:
- git
type: string
replicas:
default: 1
examples:
- 1
type: integer
redis:
default:
exporter:
@@ -454,16 +449,21 @@ options:
type: boolean
type: object
type: object
domain_name:
default: your_company.com
release:
default: 8.3.0
examples:
- your_company.com
- 8.3.0
type: string
timezone:
default: Europe/Paris
load-balancer:
default:
ip: ''
examples:
- Europe/Paris
type: string
- ip: ''
properties:
ip:
default: ''
type: string
type: object
dependencies:
- dist: null
category: share

View File

@@ -15,19 +15,6 @@ locals {
}
}
# module "service" {
# source = "/dist/modules/service"
# component = var.component
# instance = var.instance
# namespace = var.namespace
# labels = local.common-labels
# target = "http"
# port = local.service.port.number
# providers = {
# kubectl = kubectl
# }
# }
module "ingress" {
source = "git::https://git.solidite.fr/vynil/kydah-modules.git//ingress"
component = ""