From aec7257ddb0e24ea33b8b7aafda4f8afee5ad8d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Sun, 4 Feb 2024 11:45:04 +0100 Subject: [PATCH] fix --- apps/woodpecker/datas.tf | 2 +- apps/woodpecker/index.yaml | 72 +++++++++++++++++++------------------- 2 files changed, 37 insertions(+), 37 deletions(-) diff --git a/apps/woodpecker/datas.tf b/apps/woodpecker/datas.tf index 3092251..a6d7992 100644 --- a/apps/woodpecker/datas.tf +++ b/apps/woodpecker/datas.tf @@ -157,7 +157,7 @@ data "kustomization_overlay" "data" { - name: server image: "${var.images.server.registry}/${var.images.server.repository}:${var.images.server.tag}" imagePullPolicy: "${var.images.server.pull_policy}" - command: "/usr/local/bin/start.sh" + command: ["/usr/local/bin/start.sh"] env: - name: WOODPECKER_ADMIN value: "${var.admin-users}" diff --git a/apps/woodpecker/index.yaml b/apps/woodpecker/index.yaml index 48d30d5..fb66a58 100644 --- a/apps/woodpecker/index.yaml +++ b/apps/woodpecker/index.yaml @@ -6,6 +6,21 @@ metadata: name: woodpecker description: null options: + sub_domain: + default: ci + examples: + - ci + type: string + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string + domain_name: + default: your_company.com + examples: + - your_company.com + type: string ingress_class: default: traefik examples: @@ -66,41 +81,16 @@ options: type: string type: object type: object - timeouts: - default: - default: '60' - max: '120' + app_group: + default: dev examples: - - default: '60' - max: '120' - properties: - default: - default: '60' - type: string - max: - default: '120' - type: string - type: object + - dev + type: string admin-users: default: woodpecker,admin examples: - woodpecker,admin type: string - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string - domain_name: - default: your_company.com - examples: - - your_company.com - type: string - domain: - default: your-company - examples: - - your-company - type: string images: default: agent: @@ -198,15 +188,25 @@ options: type: string type: object type: object - sub_domain: - default: ci + timeouts: + default: + default: '60' + max: '120' examples: - - ci - type: string - app_group: - default: dev + - default: '60' + max: '120' + properties: + default: + default: '60' + type: string + max: + default: '120' + type: string + type: object + domain: + default: your-company examples: - - dev + - your-company type: string dependencies: - dist: null