From 3977cc62ec33d19f24b3ab9d5b2aaec37c49164c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Tue, 28 Nov 2023 14:48:14 +0100 Subject: [PATCH] fix --- meta/domain-ci/apps.tf | 2 +- meta/domain-ci/index.yaml | 130 +++++++++++++++++++------------------- 2 files changed, 66 insertions(+), 66 deletions(-) diff --git a/meta/domain-ci/apps.tf b/meta/domain-ci/apps.tf index 4e76dd9..0cac560 100644 --- a/meta/domain-ci/apps.tf +++ b/meta/domain-ci/apps.tf @@ -14,7 +14,7 @@ locals { "backups" = var.backups } default-mode = var.storage-classes.FilesystemReadWriteMany!=""?"ReadWriteMany":"ReadWriteOnce" - gitea = { for k, v in var.gitea : k => v if contains(["enable","storage-server","storage-agent"],k) } + gitea = { for k, v in var.gitea : k => v if !contains(["enable","volume"],k) } gitea-storage = { "volume" = { "size" = lookup(lookup(local.gitea, "volume",{}), "size", "20Gi") diff --git a/meta/domain-ci/index.yaml b/meta/domain-ci/index.yaml index 38c0e58..badd398 100644 --- a/meta/domain-ci/index.yaml +++ b/meta/domain-ci/index.yaml @@ -6,71 +6,6 @@ metadata: name: domain-ci description: null options: - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string - distributions: - default: - core: core - domain: domain - examples: - - core: core - domain: domain - properties: - core: - default: core - type: string - domain: - default: domain - type: string - type: object - ingress-class: - default: traefik - examples: - - traefik - type: string - storage-classes: - default: - BlockReadWriteMany: '' - BlockReadWriteOnce: '' - FilesystemReadWriteMany: '' - FilesystemReadWriteOnce: '' - examples: - - BlockReadWriteMany: '' - BlockReadWriteOnce: '' - FilesystemReadWriteMany: '' - FilesystemReadWriteOnce: '' - properties: - BlockReadWriteMany: - default: '' - type: string - BlockReadWriteOnce: - default: '' - type: string - FilesystemReadWriteMany: - default: '' - type: string - FilesystemReadWriteOnce: - default: '' - type: string - type: object - woodpecker: - default: - enable: false - examples: - - enable: false - properties: - enable: - default: false - type: boolean - type: object - domain: - default: your-company - examples: - - your-company - type: string domain-name: default: your_company.com examples: @@ -116,6 +51,71 @@ options: default: true type: boolean type: object + woodpecker: + default: + enable: false + examples: + - enable: false + properties: + enable: + default: false + type: boolean + type: object + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string + distributions: + default: + core: core + domain: domain + examples: + - core: core + domain: domain + properties: + core: + default: core + type: string + domain: + default: domain + type: string + type: object + ingress-class: + default: traefik + examples: + - traefik + type: string + domain: + default: your-company + examples: + - your-company + type: string + storage-classes: + default: + BlockReadWriteMany: '' + BlockReadWriteOnce: '' + FilesystemReadWriteMany: '' + FilesystemReadWriteOnce: '' + examples: + - BlockReadWriteMany: '' + BlockReadWriteOnce: '' + FilesystemReadWriteMany: '' + FilesystemReadWriteOnce: '' + properties: + BlockReadWriteMany: + default: '' + type: string + BlockReadWriteOnce: + default: '' + type: string + FilesystemReadWriteMany: + default: '' + type: string + FilesystemReadWriteOnce: + default: '' + type: string + type: object dependencies: [] providers: kubernetes: true