From 430d9b1ba2cc196afd4dc388cd1f2538c92161b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Tue, 28 Nov 2023 13:33:56 +0100 Subject: [PATCH] fix --- apps/gitea/datas.tf | 4 +- apps/gitea/index.yaml | 404 +++++++++++++++++++++--------------------- 2 files changed, 204 insertions(+), 204 deletions(-) diff --git a/apps/gitea/datas.tf b/apps/gitea/datas.tf index 2cc5c28..5eb6b4f 100644 --- a/apps/gitea/datas.tf +++ b/apps/gitea/datas.tf @@ -79,8 +79,8 @@ data "kustomization_overlay" "data" { template: spec: volumes: - - name: certs - emptyDir: {} + - name: certs + emptyDir: {} - name: localcerts secret: secretName: "${var.instance}-cert" diff --git a/apps/gitea/index.yaml b/apps/gitea/index.yaml index b807661..9357dbe 100644 --- a/apps/gitea/index.yaml +++ b/apps/gitea/index.yaml @@ -9,25 +9,201 @@ 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 - webhook: - default: - allowed-hosts: private - skip-tls-verify: false + timezone: + default: Europe/Paris examples: - - allowed-hosts: private - skip-tls-verify: false + - Europe/Paris + type: string + volume: + default: + accessMode: ReadWriteOnce + size: 10Gi + examples: + - accessMode: ReadWriteOnce + size: 10Gi properties: - allowed-hosts: - default: private + accessMode: + default: ReadWriteOnce + enum: + - ReadWriteOnce + - ReadOnlyMany + - ReadWriteMany + type: string + size: + default: 10Gi + type: string + type: object + redis: + default: + exporter: + enabled: true + image: quay.io/opstree/redis-exporter:v1.44.0 + image: quay.io/opstree/redis:v7.0.12 + storage: 2Gi + examples: + - exporter: + enabled: true + image: quay.io/opstree/redis-exporter:v1.44.0 + image: quay.io/opstree/redis:v7.0.12 + storage: 2Gi + properties: + exporter: + default: + enabled: true + image: quay.io/opstree/redis-exporter:v1.44.0 + properties: + enabled: + default: true + type: boolean + image: + default: quay.io/opstree/redis-exporter:v1.44.0 + type: string + type: object + image: + default: quay.io/opstree/redis:v7.0.12 + type: string + storage: + 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: + pullPolicy: IfNotPresent + registry: docker.io + repository: gitea/gitea + tag: 1.20.5-rootless + examples: + - gitea: + pullPolicy: IfNotPresent + registry: docker.io + 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 + default-branch: + default: main + examples: + - main + type: string + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + 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 - skip-tls-verify: - default: false - type: boolean type: object backups: default: @@ -135,16 +311,16 @@ options: default: false type: boolean type: object + ssh-port: + default: 2222 + examples: + - 2222 + type: integer disable-registration: default: true examples: - true type: boolean - ingress-class: - default: traefik - examples: - - traefik - type: string admin: default: email: git-admin@git.your_company.com @@ -160,202 +336,26 @@ options: default: gitea_admin type: string type: object - domain: - default: your-company - examples: - - your-company - type: string - postgres: + webhook: default: - replicas: 1 - storage: 10Gi - version: '14' + allowed-hosts: private + skip-tls-verify: false examples: - - replicas: 1 - storage: 10Gi - version: '14' + - allowed-hosts: private + skip-tls-verify: false properties: - replicas: - default: 1 - type: integer - storage: - default: 10Gi - type: string - version: - default: '14' + allowed-hosts: + default: private type: string + skip-tls-verify: + default: false + type: boolean type: object - default-branch: - default: main - examples: - - main - 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 - ssh-sub-domain: - default: git - examples: - - git - type: string - ssh-port: - default: 2222 - examples: - - 2222 - type: integer - 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 - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string - app-group: - default: dev - examples: - - dev - type: string - redis: - default: - exporter: - enabled: true - image: quay.io/opstree/redis-exporter:v1.44.0 - image: quay.io/opstree/redis:v7.0.12 - storage: 2Gi - examples: - - exporter: - enabled: true - image: quay.io/opstree/redis-exporter:v1.44.0 - image: quay.io/opstree/redis:v7.0.12 - storage: 2Gi - properties: - exporter: - default: - enabled: true - image: quay.io/opstree/redis-exporter:v1.44.0 - properties: - enabled: - default: true - type: boolean - image: - default: quay.io/opstree/redis-exporter:v1.44.0 - type: string - type: object - image: - default: quay.io/opstree/redis:v7.0.12 - type: string - storage: - default: 2Gi - type: string - type: object - timezone: - default: Europe/Paris - examples: - - Europe/Paris - type: string - images: - default: - gitea: - pullPolicy: IfNotPresent - registry: docker.io - repository: gitea/gitea - tag: 1.20.5-rootless - examples: - - gitea: - pullPolicy: IfNotPresent - registry: docker.io - 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: - - gitea-modern - type: string sub-domain: default: git examples: - git type: string - load-balancer: - default: - ip: '' - examples: - - ip: '' - properties: - ip: - default: '' - type: string - type: object - replicas: - default: 1 - examples: - - 1 - type: integer dependencies: - dist: null category: share