diff --git a/apps/woodpecker/config_server.tf b/apps/woodpecker/config_server.tf index c6bc68e..1a57af2 100644 --- a/apps/woodpecker/config_server.tf +++ b/apps/woodpecker/config_server.tf @@ -11,7 +11,7 @@ resource "kubectl_manifest" "server_config" { WOODPECKER_METRICS_SERVER_ADDR: ":9001" WOODPECKER_OPEN: "true" WOODPECKER_DEFAULT_CLONE_IMAGE: "${var.images.git.registry}/${var.images.git.repository}:${var.images.git.tag}" - WOODPECKER_DEFAULT_PIPELINE_TIMEOUT: "60" - WOODPECKER_MAX_PIPELINE_TIMEOUT: "120" + WOODPECKER_DEFAULT_PIPELINE_TIMEOUT: "${var.timeouts.default}" + WOODPECKER_MAX_PIPELINE_TIMEOUT: "${var.timeouts.max}" EOF } diff --git a/apps/woodpecker/index.yaml b/apps/woodpecker/index.yaml index 1ded011..6ca29fc 100644 --- a/apps/woodpecker/index.yaml +++ b/apps/woodpecker/index.yaml @@ -26,11 +26,65 @@ options: default: 'false' type: string type: object + 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 domain: default: your-company examples: - your-company type: string + domain-name: + default: your_company.com + examples: + - your_company.com + type: string + sub-domain: + default: ci + examples: + - ci + type: string + 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 images: default: agent: @@ -128,45 +182,6 @@ options: type: string type: object type: object - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string - sub-domain: - default: ci - examples: - - ci - type: string - domain-name: - default: your_company.com - examples: - - your_company.com - type: string - ingress-class: - default: traefik - examples: - - traefik - 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: [] providers: kubernetes: true