This commit is contained in:
2023-10-29 09:28:03 +01:00
parent ff690d420a
commit aa5db78cfa
2 changed files with 55 additions and 48 deletions

View File

@@ -10,6 +10,13 @@ locals {
} }
} }
data "kubernetes_secret_v1" "authentik" {
metadata {
name = "authentik"
namespace = "${var.domain}-auth"
}
}
data "kustomization_overlay" "data" { data "kustomization_overlay" "data" {
namespace = var.namespace namespace = var.namespace
common_labels = local.common-labels common_labels = local.common-labels

View File

@@ -6,15 +6,25 @@ metadata:
name: woodpecker name: woodpecker
description: null description: null
options: options:
issuer: timeouts:
default: letsencrypt-prod default:
default: '60'
max: '120'
examples: examples:
- letsencrypt-prod - default: '60'
type: string max: '120'
sub-domain: properties:
default: ci default:
default: '60'
type: string
max:
default: '120'
type: string
type: object
admin-users:
default: woodpecker,admin
examples: examples:
- ci - woodpecker,admin
type: string type: string
storage-agent: storage-agent:
default: default:
@@ -36,31 +46,6 @@ options:
default: 'false' default: 'false'
type: string type: string
type: object 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: storage-server:
default: default:
accessMode: ReadWriteOnce accessMode: ReadWriteOnce
@@ -80,21 +65,6 @@ options:
default: 10Gi default: 10Gi
type: string type: string
type: object 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: images:
default: default:
agent: agent:
@@ -192,6 +162,36 @@ options:
type: string type: string
type: object type: object
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: dependencies:
- dist: null - dist: null
category: apps category: apps
@@ -201,7 +201,7 @@ dependencies:
component: secret-generator component: secret-generator
providers: providers:
kubernetes: true kubernetes: true
authentik: null authentik: true
kubectl: true kubectl: true
postgresql: null postgresql: null
restapi: null restapi: null