01bf71f8d2
- Introduced a new Cloudns issuer configuration for cert-manager. - Created separate tasks for DNS-01 and HTTP-01 challenge issuers. - Updated cert-manager tasks to include Cloudns provider and manage secrets. - Refactored existing LetsEncrypt issuer registration to use new task structure. - Added necessary Kubernetes resources for Cloudns integration, including RBAC and certificates. - Updated Terraform configurations to support new DNS records and service changes. - Adjusted deployment strategies for CoreDNS and Open WebUI applications.
62 lines
1.2 KiB
Terraform
62 lines
1.2 KiB
Terraform
locals {
|
|
|
|
# storage
|
|
persistent_folder = "/srv"
|
|
|
|
lab_domain = "lab.alexpires.me"
|
|
open_webui_fqdn = "open-webui.${local.lab_domain}"
|
|
internal_issuer = "internal-ca"
|
|
|
|
# samba
|
|
samba_shared_folder = "/mnt/usb"
|
|
|
|
# DNS
|
|
dns_nameservers = [
|
|
"193.110.81.0",
|
|
"185.253.5.0"
|
|
]
|
|
|
|
zones = [
|
|
{
|
|
fqdn = "${local.lab_domain}"
|
|
records = [
|
|
{
|
|
name = "vh-01"
|
|
type = "A"
|
|
content = "10.19.4.109"
|
|
},
|
|
{
|
|
name = "gpu-01"
|
|
type = "A"
|
|
content = "10.19.4.106"
|
|
},
|
|
{
|
|
name = "dev-01"
|
|
type = "A"
|
|
content = "10.19.4.136"
|
|
},
|
|
{
|
|
name = "ollama"
|
|
type = "CNAME"
|
|
content = "gpu-01.${local.lab_domain}."
|
|
},
|
|
{
|
|
name = "kokoro"
|
|
type = "CNAME"
|
|
content = "gpu-01.${local.lab_domain}."
|
|
},
|
|
{
|
|
name = "open-webui"
|
|
type = "CNAME"
|
|
content = "dev-01.${local.lab_domain}."
|
|
},
|
|
{
|
|
name = "smb"
|
|
type = "CNAME"
|
|
content = "dev-01.${local.lab_domain}."
|
|
},
|
|
]
|
|
}
|
|
]
|
|
}
|