diff --git a/apps/woodpecker/datas.tf b/apps/woodpecker/datas.tf index 906a222..6d97633 100644 --- a/apps/woodpecker/datas.tf +++ b/apps/woodpecker/datas.tf @@ -10,6 +10,13 @@ locals { } } +data "kubernetes_secret_v1" "authentik" { + metadata { + name = "authentik" + namespace = "${var.domain}-auth" + } +} + data "kustomization_overlay" "data" { namespace = var.namespace common_labels = local.common-labels diff --git a/apps/woodpecker/index.yaml b/apps/woodpecker/index.yaml index 95f283b..1fbc95d 100644 --- a/apps/woodpecker/index.yaml +++ b/apps/woodpecker/index.yaml @@ -6,15 +6,25 @@ metadata: name: woodpecker description: null options: - issuer: - default: letsencrypt-prod + timeouts: + default: + default: '60' + max: '120' examples: - - letsencrypt-prod - type: string - sub-domain: - default: ci + - default: '60' + max: '120' + properties: + default: + default: '60' + type: string + max: + default: '120' + type: string + type: object + admin-users: + default: woodpecker,admin examples: - - ci + - woodpecker,admin type: string storage-agent: default: @@ -36,31 +46,6 @@ options: default: 'false' type: string type: object - app-group: - default: dev - examples: - - dev - type: string - admin-users: - default: woodpecker,admin - examples: - - woodpecker,admin - type: string - domain: - default: your-company - examples: - - your-company - type: string - ingress-class: - default: traefik - examples: - - traefik - type: string - domain-name: - default: your_company.com - examples: - - your_company.com - type: string storage-server: default: accessMode: ReadWriteOnce @@ -80,21 +65,6 @@ options: default: 10Gi type: string type: object - timeouts: - default: - default: '60' - max: '120' - examples: - - default: '60' - max: '120' - properties: - default: - default: '60' - type: string - max: - default: '120' - type: string - type: object images: default: agent: @@ -192,6 +162,36 @@ options: type: string type: object type: object + sub-domain: + default: ci + examples: + - ci + type: string + domain-name: + default: your_company.com + examples: + - your_company.com + type: string + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string + domain: + default: your-company + examples: + - your-company + type: string + ingress-class: + default: traefik + examples: + - traefik + type: string + app-group: + default: dev + examples: + - dev + type: string dependencies: - dist: null category: apps @@ -201,7 +201,7 @@ dependencies: component: secret-generator providers: kubernetes: true - authentik: null + authentik: true kubectl: true postgresql: null restapi: null