diff --git a/apps/gitea/index.yaml b/apps/gitea/index.yaml index 8214bce..4f8c437 100644 --- a/apps/gitea/index.yaml +++ b/apps/gitea/index.yaml @@ -9,26 +9,83 @@ 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: - webhook: - default: - allowed-hosts: private - skip-tls-verify: false + ssh-sub-domain: + default: git examples: - - allowed-hosts: private - skip-tls-verify: false + - git + type: string + load-balancer: + default: + ip: '' + examples: + - ip: '' properties: - allowed-hosts: - default: private + ip: + default: '' type: string - skip-tls-verify: - default: false - type: boolean type: object + app_group: + default: dev + examples: + - dev + type: string + timezone: + default: Europe/Paris + examples: + - Europe/Paris + type: string + postgres: + default: + replicas: 1 + examples: + - replicas: 1 + properties: + replicas: + default: 1 + type: integer + type: object + redis: + default: + exporter: + enabled: true + examples: + - exporter: + enabled: true + properties: + exporter: + default: + enabled: true + properties: + enabled: + default: true + type: boolean + type: object + type: object + replicas: + default: 1 + examples: + - 1 + type: integer + theme: + default: gitea-modern + examples: + - gitea-modern + type: string sub-domain: default: git examples: - git type: string + disable-registration: + default: true + examples: + - true + type: boolean + domain: + default: your-company + examples: + - your-company + type: string backups: default: enable: false @@ -135,33 +192,132 @@ options: default: false type: boolean type: object - theme: - default: gitea-modern + ssh-port: + default: 2222 examples: - - gitea-modern - type: string - timezone: - default: Europe/Paris - examples: - - Europe/Paris - type: string - redis: + - 2222 + type: integer + push-create: default: - exporter: - enabled: true + org: 'true' + private: 'false' + user: 'true' examples: - - exporter: - enabled: true + - org: 'true' + private: 'false' + user: 'true' properties: - exporter: + org: + default: 'true' + type: string + private: + default: 'false' + type: string + user: + default: 'true' + type: string + type: object + ingress_class: + default: traefik + examples: + - traefik + 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 + 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: - enabled: true + size: 10Gi properties: - enabled: - default: true - type: boolean + 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 + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string + default-branch: + default: main + examples: + - main + type: string + release: + default: 8.3.0 + examples: + - 8.3.0 + type: string + domain_name: + default: your_company.com + examples: + - your_company.com + type: string images: default: gitea: @@ -293,152 +449,6 @@ options: type: string type: object type: object - ingress_class: - default: traefik - examples: - - traefik - type: string - domain_name: - default: your_company.com - examples: - - your_company.com - type: string - postgres: - default: - replicas: 1 - examples: - - replicas: 1 - properties: - replicas: - default: 1 - type: integer - type: object - 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 - ssh-sub-domain: - default: git - examples: - - git - type: string - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - 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 - replicas: - default: 1 - examples: - - 1 - type: integer - app_group: - default: dev - examples: - - dev - type: string - domain: - default: your-company - examples: - - your-company - type: string - load-balancer: - default: - ip: '' - examples: - - ip: '' - properties: - ip: - default: '' - type: string - type: object - ssh-port: - default: 2222 - examples: - - 2222 - type: integer - default-branch: - default: main - examples: - - main - type: string admin: default: email: git-admin@git.your_company.com @@ -454,16 +464,6 @@ options: default: gitea_admin type: string type: object - release: - default: 8.3.0 - examples: - - 8.3.0 - type: string - disable-registration: - default: true - examples: - - true - type: boolean dependencies: - dist: null category: share diff --git a/share/dataset-pg/directus.tf b/share/dataset-pg/directus.tf index 2bcd8d0..6975dfc 100644 --- a/share/dataset-pg/directus.tf +++ b/share/dataset-pg/directus.tf @@ -245,6 +245,7 @@ module "directus-oauth2" { count = var.extentions.directus.enable ? 1 : 0 source = "git::https://git.solidite.fr/vynil/kydah-modules.git//oauth2" component = "directus-${replace(var.sub-domain, ".", "-")}" + domain = var.domain instance = var.instance namespace = var.namespace labels = local.directus-labels diff --git a/share/dataset-pg/index.yaml b/share/dataset-pg/index.yaml index a2116a3..5ae7ded 100644 --- a/share/dataset-pg/index.yaml +++ b/share/dataset-pg/index.yaml @@ -6,6 +6,40 @@ metadata: name: dataset-pg description: null options: + domain: + default: your-company + examples: + - your-company + type: string + ingress_class: + default: traefik + examples: + - traefik + type: string + sub-domain: + default: dataset-pg + examples: + - dataset-pg + type: string + databases: + default: [] + items: + properties: + name: + default: db + type: string + type: object + type: array + domain_name: + default: your_company.com + examples: + - your_company.com + type: string + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string storage: default: postgres: @@ -23,54 +57,6 @@ options: type: string type: object type: object - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string - roles: - default: [] - items: - properties: - name: - default: alt-account - type: string - type: object - type: array - ingress_class: - default: traefik - examples: - - traefik - type: string - images: - default: - postgresql: - registry: ghcr.io - repository: cloudnative-pg/postgresql - tag: 15.3 - examples: - - postgresql: - registry: ghcr.io - repository: cloudnative-pg/postgresql - tag: 15.3 - properties: - 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 - type: object extentions: default: directus: @@ -252,6 +238,54 @@ options: type: object type: object type: object + roles: + default: [] + items: + properties: + name: + default: alt-account + type: string + type: object + type: array + postgres: + default: + replicas: 1 + examples: + - replicas: 1 + properties: + replicas: + default: 1 + type: integer + type: object + images: + default: + postgresql: + registry: ghcr.io + repository: cloudnative-pg/postgresql + tag: 15.3 + examples: + - postgresql: + registry: ghcr.io + repository: cloudnative-pg/postgresql + tag: 15.3 + properties: + 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 + type: object app_group: default: api examples: @@ -311,40 +345,6 @@ options: default: backup-settings type: string type: object - databases: - default: [] - items: - properties: - name: - default: db - type: string - type: object - type: array - domain: - default: your-company - examples: - - your-company - type: string - postgres: - default: - replicas: 1 - examples: - - replicas: 1 - properties: - replicas: - default: 1 - type: integer - type: object - sub-domain: - default: dataset-pg - examples: - - dataset-pg - type: string - domain_name: - default: your_company.com - examples: - - your_company.com - type: string dependencies: - dist: null category: dbo