This commit is contained in:
2023-11-28 13:35:57 +01:00
parent 430d9b1ba2
commit 4e754d6244
2 changed files with 143 additions and 143 deletions

View File

@@ -59,7 +59,7 @@ data "kustomization_overlay" "data" {
#!/usr/bin/env bash
cp /etc/ssl/certs/ca-certificates.crt /etc/local-certs
cat /etc/local-ca/ca.crt >>/etc/local-certs/ca-certificates.crt
exec ./configure_gitea.sh
exec /usr/sbin/configure_gitea.sh
EOF
}
patches {

View File

@@ -9,60 +9,6 @@ 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:
load-balancer:
default:
ip: ''
examples:
- ip: ''
properties:
ip:
default: ''
type: string
type: object
ssh-sub-domain:
default: git
examples:
- git
type: string
theme:
default: gitea-modern
examples:
- gitea-modern
type: string
app-group:
default: dev
examples:
- dev
type: string
release:
default: 8.3.0
examples:
- 8.3.0
type: string
timezone:
default: Europe/Paris
examples:
- Europe/Paris
type: string
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
redis:
default:
exporter:
@@ -96,41 +42,6 @@ options:
default: 2Gi
type: string
type: object
replicas:
default: 1
examples:
- 1
type: integer
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
ingress-class:
default: traefik
examples:
- traefik
type: string
domain:
default: your-company
examples:
- your-company
type: string
images:
default:
gitea:
@@ -170,41 +81,16 @@ options:
type: string
type: object
type: object
default-branch:
default: main
app-group:
default: dev
examples:
- main
- dev
type: string
issuer:
default: letsencrypt-prod
domain:
default: your-company
examples:
- letsencrypt-prod
- your-company
type: string
domain-name:
default: your_company.com
examples:
- your_company.com
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
backups:
default:
enable: false
@@ -311,31 +197,21 @@ options:
default: false
type: boolean
type: object
ssh-port:
default: 2222
ingress-class:
default: traefik
examples:
- 2222
type: integer
disable-registration:
default: true
- traefik
type: string
issuer:
default: letsencrypt-prod
examples:
- true
type: boolean
admin:
default:
email: git-admin@git.your_company.com
name: gitea_admin
- letsencrypt-prod
type: string
timezone:
default: Europe/Paris
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
- Europe/Paris
type: string
webhook:
default:
allowed-hosts: private
@@ -351,11 +227,135 @@ options:
default: false
type: boolean
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:
- dist: null
category: share