From 1ca64229edc84c963b1a3c4d43fcc126c5bc35b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Sun, 29 Oct 2023 08:43:28 +0100 Subject: [PATCH] fix --- apps/woodpecker/datas.tf | 1 + apps/woodpecker/index.yaml | 110 ++++++++++++++++++------------------- 2 files changed, 56 insertions(+), 55 deletions(-) diff --git a/apps/woodpecker/datas.tf b/apps/woodpecker/datas.tf index 1f2b507..17589ea 100644 --- a/apps/woodpecker/datas.tf +++ b/apps/woodpecker/datas.tf @@ -13,6 +13,7 @@ locals { data "kustomization_overlay" "data" { namespace = var.namespace common_labels = local.common-labels + depends_on = [kubectl_manifest.server_config, kubectl_manifest.prj_secret, kubernetes_secret_v1.oauth2-client-gitea] resources = [for file in fileset(path.module, "*.yaml"): file if file != "index.yaml"] patches { target { diff --git a/apps/woodpecker/index.yaml b/apps/woodpecker/index.yaml index f3286b4..e49b479 100644 --- a/apps/woodpecker/index.yaml +++ b/apps/woodpecker/index.yaml @@ -6,66 +6,11 @@ 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' - max: '120' - examples: - - default: '60' - max: '120' - properties: - default: - default: '60' - type: string - max: - default: '120' - type: string - type: object - storage-agent: - default: - size: 10Gi - storageClass: '' - writeMany: 'false' - examples: - - size: 10Gi - storageClass: '' - writeMany: 'false' - properties: - size: - default: 10Gi - type: string - storageClass: - default: '' - type: string - writeMany: - default: 'false' - type: string - type: object - domain: - default: your-company - examples: - - your-company - type: string issuer: default: letsencrypt-prod examples: - letsencrypt-prod type: string - domain-name: - default: your_company.com - examples: - - your_company.com - type: string storage-server: default: accessMode: ReadWriteOnce @@ -85,6 +30,16 @@ options: default: 10Gi type: string type: object + ingress-class: + default: traefik + examples: + - traefik + type: string + sub-domain: + default: ci + examples: + - ci + type: string images: default: agent: @@ -182,6 +137,51 @@ options: type: string type: object type: object + domain-name: + default: your_company.com + examples: + - your_company.com + type: string + storage-agent: + default: + size: 10Gi + storageClass: '' + writeMany: 'false' + examples: + - size: 10Gi + storageClass: '' + writeMany: 'false' + properties: + size: + default: 10Gi + type: string + storageClass: + default: '' + type: string + writeMany: + default: 'false' + type: string + type: object + domain: + default: your-company + examples: + - your-company + type: string + timeouts: + default: + default: '60' + max: '120' + examples: + - default: '60' + max: '120' + properties: + default: + default: '60' + type: string + max: + default: '120' + type: string + type: object dependencies: - dist: null category: apps