486 lines
10 KiB
YAML
486 lines
10 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:
|
|
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
|
|
ssh-sub-domain:
|
|
default: git
|
|
examples:
|
|
- git
|
|
type: string
|
|
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
|
|
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
|
|
app_group:
|
|
default: dev
|
|
examples:
|
|
- dev
|
|
type: string
|
|
storage:
|
|
default:
|
|
postgres:
|
|
size: 10Gi
|
|
redis:
|
|
size: 2Gi
|
|
volume:
|
|
accessMode: ReadWriteOnce
|
|
size: 10Gi
|
|
type: Filesystem
|
|
description: Configure this app storage
|
|
examples:
|
|
- postgres:
|
|
size: 10Gi
|
|
redis:
|
|
size: 2Gi
|
|
volume:
|
|
accessMode: ReadWriteOnce
|
|
size: 10Gi
|
|
type: Filesystem
|
|
properties:
|
|
postgres:
|
|
default:
|
|
size: 10Gi
|
|
properties:
|
|
size:
|
|
default: 10Gi
|
|
type: string
|
|
type: object
|
|
redis:
|
|
default:
|
|
size: 2Gi
|
|
properties:
|
|
size:
|
|
default: 2Gi
|
|
type: string
|
|
type: object
|
|
volume:
|
|
default:
|
|
accessMode: ReadWriteOnce
|
|
size: 10Gi
|
|
type: Filesystem
|
|
properties:
|
|
accessMode:
|
|
default: ReadWriteOnce
|
|
enum:
|
|
- ReadWriteOnce
|
|
- ReadOnlyMany
|
|
- ReadWriteMany
|
|
type: string
|
|
size:
|
|
default: 10Gi
|
|
type: string
|
|
type:
|
|
default: Filesystem
|
|
enum:
|
|
- Filesystem
|
|
- Block
|
|
type: string
|
|
type: object
|
|
type: object
|
|
replicas:
|
|
default: 1
|
|
examples:
|
|
- 1
|
|
type: integer
|
|
theme:
|
|
default: gitea-modern
|
|
examples:
|
|
- gitea-modern
|
|
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
|
|
sub-domain:
|
|
default: git
|
|
examples:
|
|
- git
|
|
type: string
|
|
issuer:
|
|
default: letsencrypt-prod
|
|
examples:
|
|
- letsencrypt-prod
|
|
type: string
|
|
domain:
|
|
default: your-company
|
|
examples:
|
|
- your-company
|
|
type: string
|
|
ssh-port:
|
|
default: 2222
|
|
examples:
|
|
- 2222
|
|
type: integer
|
|
postgres:
|
|
default:
|
|
replicas: 1
|
|
examples:
|
|
- replicas: 1
|
|
properties:
|
|
replicas:
|
|
default: 1
|
|
type: integer
|
|
type: object
|
|
ingress_class:
|
|
default: traefik
|
|
examples:
|
|
- traefik
|
|
type: string
|
|
disable-registration:
|
|
default: true
|
|
examples:
|
|
- true
|
|
type: boolean
|
|
redis:
|
|
default:
|
|
exporter:
|
|
enabled: true
|
|
examples:
|
|
- exporter:
|
|
enabled: true
|
|
properties:
|
|
exporter:
|
|
default:
|
|
enabled: true
|
|
properties:
|
|
enabled:
|
|
default: true
|
|
type: boolean
|
|
type: object
|
|
type: object
|
|
images:
|
|
default:
|
|
gitea:
|
|
pullPolicy: IfNotPresent
|
|
registry: docker.io
|
|
repository: gitea/gitea
|
|
tag: 1.20.5-rootless
|
|
postgresql:
|
|
registry: ghcr.io
|
|
repository: cloudnative-pg/postgresql
|
|
tag: 15.3
|
|
redis:
|
|
pullPolicy: IfNotPresent
|
|
registry: quay.io
|
|
repository: opstree/redis
|
|
tag: v7.0.12
|
|
redis_exporter:
|
|
pullPolicy: IfNotPresent
|
|
registry: quay.io
|
|
repository: opstree/redis-exporter
|
|
tag: v1.44.0
|
|
examples:
|
|
- gitea:
|
|
pullPolicy: IfNotPresent
|
|
registry: docker.io
|
|
repository: gitea/gitea
|
|
tag: 1.20.5-rootless
|
|
postgresql:
|
|
registry: ghcr.io
|
|
repository: cloudnative-pg/postgresql
|
|
tag: 15.3
|
|
redis:
|
|
pullPolicy: IfNotPresent
|
|
registry: quay.io
|
|
repository: opstree/redis
|
|
tag: v7.0.12
|
|
redis_exporter:
|
|
pullPolicy: IfNotPresent
|
|
registry: quay.io
|
|
repository: opstree/redis-exporter
|
|
tag: v1.44.0
|
|
properties:
|
|
gitea:
|
|
default:
|
|
pullPolicy: IfNotPresent
|
|
registry: docker.io
|
|
repository: gitea/gitea
|
|
tag: 1.20.5-rootless
|
|
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.20.5-rootless
|
|
type: string
|
|
type: object
|
|
postgresql:
|
|
default:
|
|
registry: ghcr.io
|
|
repository: cloudnative-pg/postgresql
|
|
tag: 15.3
|
|
properties:
|
|
registry:
|
|
default: ghcr.io
|
|
type: string
|
|
repository:
|
|
default: cloudnative-pg/postgresql
|
|
type: string
|
|
tag:
|
|
default: 15.3
|
|
type: number
|
|
type: object
|
|
redis:
|
|
default:
|
|
pullPolicy: IfNotPresent
|
|
registry: quay.io
|
|
repository: opstree/redis
|
|
tag: v7.0.12
|
|
properties:
|
|
pullPolicy:
|
|
default: IfNotPresent
|
|
enum:
|
|
- Always
|
|
- Never
|
|
- IfNotPresent
|
|
type: string
|
|
registry:
|
|
default: quay.io
|
|
type: string
|
|
repository:
|
|
default: opstree/redis
|
|
type: string
|
|
tag:
|
|
default: v7.0.12
|
|
type: string
|
|
type: object
|
|
redis_exporter:
|
|
default:
|
|
pullPolicy: IfNotPresent
|
|
registry: quay.io
|
|
repository: opstree/redis-exporter
|
|
tag: v1.44.0
|
|
properties:
|
|
pullPolicy:
|
|
default: IfNotPresent
|
|
enum:
|
|
- Always
|
|
- Never
|
|
- IfNotPresent
|
|
type: string
|
|
registry:
|
|
default: quay.io
|
|
type: string
|
|
repository:
|
|
default: opstree/redis-exporter
|
|
type: string
|
|
tag:
|
|
default: v1.44.0
|
|
type: string
|
|
type: object
|
|
type: object
|
|
timezone:
|
|
default: Europe/Paris
|
|
examples:
|
|
- Europe/Paris
|
|
type: string
|
|
load-balancer:
|
|
default:
|
|
ip: ''
|
|
examples:
|
|
- ip: ''
|
|
properties:
|
|
ip:
|
|
default: ''
|
|
type: string
|
|
type: object
|
|
release:
|
|
default: 8.3.0
|
|
examples:
|
|
- 8.3.0
|
|
type: string
|
|
default-branch:
|
|
default: main
|
|
examples:
|
|
- main
|
|
type: string
|
|
domain_name:
|
|
default: your_company.com
|
|
examples:
|
|
- your_company.com
|
|
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
|