This commit is contained in:
2024-01-26 10:35:02 +01:00
parent 94e78fa7e9
commit 025be779ff
24 changed files with 1078 additions and 1078 deletions

View File

@@ -6,11 +6,6 @@ metadata:
name: woodpecker
description: null
options:
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
storage-agent:
default:
size: 10Gi
@@ -31,6 +26,16 @@ options:
default: 'false'
type: string
type: object
sub-domain:
default: ci
examples:
- ci
type: string
app-group:
default: dev
examples:
- dev
type: string
timeouts:
default:
default: '60'
@@ -46,6 +51,26 @@ options:
default: '120'
type: string
type: object
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
domain:
default: your-company
examples:
- your-company
type: string
ingress-class:
default: traefik
examples:
- traefik
type: string
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
images:
default:
agent:
@@ -143,26 +168,6 @@ options:
type: string
type: object
type: object
sub-domain:
default: ci
examples:
- ci
type: string
domain:
default: your-company
examples:
- your-company
type: string
admin-users:
default: woodpecker,admin
examples:
- woodpecker,admin
type: string
app-group:
default: dev
examples:
- dev
type: string
storage-server:
default:
accessMode: ReadWriteOnce
@@ -182,15 +187,10 @@ options:
default: 10Gi
type: string
type: object
ingress-class:
default: traefik
admin-users:
default: woodpecker,admin
examples:
- traefik
type: string
domain-name:
default: your_company.com
examples:
- your_company.com
- woodpecker,admin
type: string
dependencies:
- dist: null

View File

@@ -11,12 +11,12 @@ locals {
}
module "ingress" {
source = "/dist/modules/ingress"
source = "git::https://git.solidite.fr/vynil/kydah-modules.git//ingress"
component = ""
instance = var.instance
namespace = var.namespace
issuer = var.issuer
ingress-class = var.ingress-class
ingress_class = var.ingress-class
labels = local.common-labels
dns_names = local.dns_names
middlewares = []
@@ -27,10 +27,10 @@ module "ingress" {
}
module "application" {
source = "/dist/modules/application"
source = "git::https://git.solidite.fr/vynil/kydah-modules.git//application"
component = var.component
instance = var.instance
app-group = var.app-group
app_group = var.app-group
dns_name = local.dns_name
icon = local.icon
providers = {