This commit is contained in:
2023-11-28 13:38:32 +01:00
parent 4e754d6244
commit 2a2e363841
2 changed files with 182 additions and 180 deletions

View File

@@ -117,6 +117,8 @@ data "kustomization_overlay" "data" {
key: client-secret key: client-secret
- name: TZ - name: TZ
value: ${var.timezone} value: ${var.timezone}
- name: SSL_CERT_FILE
value: "/etc/local-certs/ca-certificates.crt"
containers: containers:
- name: gitea - name: gitea
image: "${var.images.gitea.registry}/${var.images.gitea.repository}:${var.images.gitea.tag}" image: "${var.images.gitea.registry}/${var.images.gitea.repository}:${var.images.gitea.tag}"

View File

@@ -9,6 +9,75 @@ metadata:
A painless self-hosted Git service. 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. Gitea is a community managed lightweight code hosting solution written in Go. It is published under the MIT license.
options: options:
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
release:
default: 8.3.0
examples:
- 8.3.0
type: string
default-branch:
default: main
examples:
- main
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
volume:
default:
accessMode: ReadWriteOnce
size: 10Gi
examples:
- accessMode: ReadWriteOnce
size: 10Gi
properties:
accessMode:
default: ReadWriteOnce
enum:
- ReadWriteOnce
- ReadOnlyMany
- ReadWriteMany
type: string
size:
default: 10Gi
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
redis: redis:
default: default:
exporter: exporter:
@@ -42,54 +111,85 @@ options:
default: 2Gi default: 2Gi
type: string type: string
type: object type: object
images: replicas:
default: default: 1
gitea:
pullPolicy: IfNotPresent
registry: docker.io
repository: gitea/gitea
tag: 1.20.5-rootless
examples: examples:
- gitea: - 1
pullPolicy: IfNotPresent type: integer
registry: docker.io domain:
repository: gitea/gitea default: your-company
tag: 1.20.5-rootless examples:
- your-company
type: string
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
disable-registration:
default: true
examples:
- true
type: boolean
push-create:
default:
org: 'true'
private: 'false'
user: 'true'
examples:
- org: 'true'
private: 'false'
user: 'true'
properties: properties:
gitea: org:
default: default: 'true'
pullPolicy: IfNotPresent type: string
registry: docker.io private:
repository: gitea/gitea default: 'false'
tag: 1.20.5-rootless type: string
properties: user:
pullPolicy: default: 'true'
default: IfNotPresent type: string
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
type: object type: object
load-balancer:
default:
ip: ''
examples:
- ip: ''
properties:
ip:
default: ''
type: string
type: object
timezone:
default: Europe/Paris
examples:
- Europe/Paris
type: string
app-group: app-group:
default: dev default: dev
examples: examples:
- dev - dev
type: string type: string
domain: sub-domain:
default: your-company default: git
examples: examples:
- your-company - git
type: string
ssh-sub-domain:
default: git
examples:
- git
type: string
ssh-port:
default: 2222
examples:
- 2222
type: integer
ingress-class:
default: traefik
examples:
- traefik
type: string type: string
backups: backups:
default: default:
@@ -197,20 +297,49 @@ options:
default: false default: false
type: boolean type: boolean
type: object type: object
ingress-class: images:
default: traefik default:
gitea:
pullPolicy: IfNotPresent
registry: docker.io
repository: gitea/gitea
tag: 1.20.5-rootless
examples: examples:
- traefik - gitea:
type: string pullPolicy: IfNotPresent
issuer: registry: docker.io
default: letsencrypt-prod repository: gitea/gitea
tag: 1.20.5-rootless
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
type: object
theme:
default: gitea-modern
examples: examples:
- letsencrypt-prod - gitea-modern
type: string
timezone:
default: Europe/Paris
examples:
- Europe/Paris
type: string type: string
webhook: webhook:
default: default:
@@ -227,135 +356,6 @@ options:
default: false default: false
type: boolean type: boolean
type: object type: object
default-branch:
default: main
examples:
- main
type: string
ssh-sub-domain:
default: git
examples:
- git
type: string
replicas:
default: 1
examples:
- 1
type: integer
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
volume:
default:
accessMode: ReadWriteOnce
size: 10Gi
examples:
- accessMode: ReadWriteOnce
size: 10Gi
properties:
accessMode:
default: ReadWriteOnce
enum:
- ReadWriteOnce
- ReadOnlyMany
- ReadWriteMany
type: string
size:
default: 10Gi
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
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
release:
default: 8.3.0
examples:
- 8.3.0
type: string
theme:
default: gitea-modern
examples:
- gitea-modern
type: string
ssh-port:
default: 2222
examples:
- 2222
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
disable-registration:
default: true
examples:
- true
type: boolean
load-balancer:
default:
ip: ''
examples:
- ip: ''
properties:
ip:
default: ''
type: string
type: object
dependencies: dependencies:
- dist: null - dist: null
category: share category: share