355 lines
7.2 KiB
YAML
355 lines
7.2 KiB
YAML
---
|
|
apiVersion: vinyl.solidite.fr/v1beta1
|
|
kind: Component
|
|
category: apps
|
|
metadata:
|
|
name: gitea
|
|
description: |-
|
|
Git with a cup of tea
|
|
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:
|
|
sub-domain:
|
|
default: git
|
|
examples:
|
|
- git
|
|
type: string
|
|
ingress-class:
|
|
default: traefik
|
|
examples:
|
|
- traefik
|
|
type: string
|
|
domain:
|
|
default: your-company
|
|
examples:
|
|
- your-company
|
|
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
|
|
replicas:
|
|
default: 1
|
|
examples:
|
|
- 1
|
|
type: integer
|
|
ssh-port:
|
|
default: 2222
|
|
examples:
|
|
- 2222
|
|
type: integer
|
|
load-balancer:
|
|
default:
|
|
ip: ''
|
|
examples:
|
|
- ip: ''
|
|
properties:
|
|
ip:
|
|
default: ''
|
|
type: string
|
|
type: object
|
|
postgres:
|
|
default:
|
|
replicas: 1
|
|
storage: 10Gi
|
|
version: '14'
|
|
examples:
|
|
- replicas: 1
|
|
storage: 10Gi
|
|
version: '14'
|
|
properties:
|
|
replicas:
|
|
default: 1
|
|
type: integer
|
|
storage:
|
|
default: 10Gi
|
|
type: string
|
|
version:
|
|
default: '14'
|
|
type: string
|
|
type: object
|
|
app-group:
|
|
default: dev
|
|
examples:
|
|
- dev
|
|
type: string
|
|
disable-registration:
|
|
default: true
|
|
examples:
|
|
- true
|
|
type: boolean
|
|
volume:
|
|
default:
|
|
size: 10Gi
|
|
examples:
|
|
- size: 10Gi
|
|
properties:
|
|
size:
|
|
default: 10Gi
|
|
type: string
|
|
type: object
|
|
timezone:
|
|
default: Europe/Paris
|
|
examples:
|
|
- Europe/Paris
|
|
type: string
|
|
release:
|
|
default: 8.3.0
|
|
examples:
|
|
- 8.3.0
|
|
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
|
|
issuer:
|
|
default: letsencrypt-prod
|
|
examples:
|
|
- letsencrypt-prod
|
|
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
|
|
images:
|
|
default:
|
|
gitea:
|
|
pullPolicy: IfNotPresent
|
|
registry: docker.io
|
|
repository: gitea/gitea
|
|
tag: 1.19.3
|
|
memcached:
|
|
registry: docker.io
|
|
repository: bitnami/memcached
|
|
tag: 1.6.19-debian-11-r7
|
|
examples:
|
|
- gitea:
|
|
pullPolicy: IfNotPresent
|
|
registry: docker.io
|
|
repository: gitea/gitea
|
|
tag: 1.19.3
|
|
memcached:
|
|
registry: docker.io
|
|
repository: bitnami/memcached
|
|
tag: 1.6.19-debian-11-r7
|
|
properties:
|
|
gitea:
|
|
default:
|
|
pullPolicy: IfNotPresent
|
|
registry: docker.io
|
|
repository: gitea/gitea
|
|
tag: 1.19.3
|
|
properties:
|
|
pullPolicy:
|
|
default: IfNotPresent
|
|
enum:
|
|
- Always
|
|
- Never
|
|
- IfNotPresent
|
|
type: string
|
|
registry:
|
|
default: docker.io
|
|
type: string
|
|
repository:
|
|
default: gitea/gitea
|
|
type: string
|
|
tag:
|
|
default: 1.19.3
|
|
type: string
|
|
type: object
|
|
memcached:
|
|
default:
|
|
registry: docker.io
|
|
repository: bitnami/memcached
|
|
tag: 1.6.19-debian-11-r7
|
|
properties:
|
|
registry:
|
|
default: docker.io
|
|
type: string
|
|
repository:
|
|
default: bitnami/memcached
|
|
type: string
|
|
tag:
|
|
default: 1.6.19-debian-11-r7
|
|
type: string
|
|
type: object
|
|
type: object
|
|
push-create:
|
|
default:
|
|
org: 'true'
|
|
private: 'false'
|
|
user: 'true'
|
|
examples:
|
|
- org: 'true'
|
|
private: 'false'
|
|
user: 'true'
|
|
properties:
|
|
org:
|
|
default: 'true'
|
|
type: string
|
|
private:
|
|
default: 'false'
|
|
type: string
|
|
user:
|
|
default: 'true'
|
|
type: string
|
|
type: object
|
|
domain-name:
|
|
default: your_company.com
|
|
examples:
|
|
- your_company.com
|
|
type: string
|
|
theme:
|
|
default: gitea-modern
|
|
examples:
|
|
- gitea-modern
|
|
type: string
|
|
default-branch:
|
|
default: main
|
|
examples:
|
|
- main
|
|
type: string
|
|
dependencies:
|
|
- dist: null
|
|
category: share
|
|
component: authentik-ldap
|
|
- dist: null
|
|
category: core
|
|
component: secret-generator
|
|
- dist: null
|
|
category: dbo
|
|
component: pg
|
|
providers:
|
|
kubernetes: true
|
|
authentik: true
|
|
kubectl: true
|
|
postgresql: null
|
|
restapi: true
|
|
http: true
|
|
gitea: null
|
|
tfaddtype: null
|