This commit is contained in:
2024-01-26 16:44:44 +01:00
parent 4d8e42f0f6
commit 01ca8c2a13
59 changed files with 1018 additions and 1018 deletions

View File

@@ -150,9 +150,9 @@ data "kustomization_overlay" "data" {
- name: WOODPECKER_ADMIN
value: "${var.admin-users}"
- name: WOODPECKER_HOST
value: "https://${var.sub-domain}.${var.domain_name}"
value: "https://${var.sub_domain}.${var.domain_name}"
- name: WOODPECKER_HOST
value: "https://${var.sub-domain}.${var.domain_name}"
value: "https://${var.sub_domain}.${var.domain_name}"
envFrom:
- secretRef:
name: woodpecker-secret

View File

@@ -22,7 +22,7 @@ resource "gitea_oauth2_app" "prj" {
name = var.component
confidential_client = true
redirect_uris = [
"https://${var.sub-domain}.${var.domain_name}/authorize"
"https://${var.sub_domain}.${var.domain_name}/authorize"
]
}

View File

@@ -16,7 +16,7 @@ options:
examples:
- letsencrypt-prod
type: string
sub-domain:
sub_domain:
default: ci
examples:
- ci

View File

@@ -1,5 +1,5 @@
locals {
dns_name = "${var.sub-domain}.${var.domain_name}"
dns_name = "${var.sub_domain}.${var.domain_name}"
dns_names = [local.dns_name]
icon = "favicons/favicon-light-default.png"
service = {