From af807d3943036ae6da7180d78eeff508c1dca263 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Tue, 24 Oct 2023 12:03:41 +0200 Subject: [PATCH] fix --- apps/woodpecker/datas.tf | 1 - apps/woodpecker/index.yaml | 70 +++++++++++++++++++------------------- 2 files changed, 35 insertions(+), 36 deletions(-) diff --git a/apps/woodpecker/datas.tf b/apps/woodpecker/datas.tf index 5be4f20..1f2b507 100644 --- a/apps/woodpecker/datas.tf +++ b/apps/woodpecker/datas.tf @@ -1,5 +1,4 @@ locals { - dns-name = "${var.sub-domain}.${var.domain-name}" common-labels = { "vynil.solidite.fr/owner-name" = var.instance "vynil.solidite.fr/owner-namespace" = var.namespace diff --git a/apps/woodpecker/index.yaml b/apps/woodpecker/index.yaml index 1c223f6..f3286b4 100644 --- a/apps/woodpecker/index.yaml +++ b/apps/woodpecker/index.yaml @@ -6,6 +6,16 @@ metadata: name: woodpecker description: null options: + sub-domain: + default: ci + examples: + - ci + type: string + ingress-class: + default: traefik + examples: + - traefik + type: string timeouts: default: default: '60' @@ -21,11 +31,6 @@ options: default: '120' type: string type: object - domain-name: - default: your_company.com - examples: - - your_company.com - type: string storage-agent: default: size: 10Gi @@ -51,16 +56,35 @@ options: examples: - your-company type: string - sub-domain: - default: ci + issuer: + default: letsencrypt-prod examples: - - ci + - letsencrypt-prod type: string - ingress-class: - default: traefik + domain-name: + default: your_company.com examples: - - traefik + - your_company.com type: string + storage-server: + 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 images: default: agent: @@ -158,30 +182,6 @@ options: type: string type: object type: object - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string - storage-server: - 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 dependencies: - dist: null category: apps