Changes from PR #40 that didn't make it into main: - local.scheme derived from var.domain (http for homelab.local, https otherwise) - Gitea ROOT_URL and runner bootstrap URLs use local.scheme - Gitea Helm ingress gets TLS + letsencrypt certresolver annotations - Skaffold CI profile sets defaultRepo=git.gugagr.xyz/admin Co-authored-by: Gonçalo Rodrigues <guga@Goncalos-MacBook-Pro.local> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
22 lines
654 B
HCL
22 lines
654 B
HCL
variable "enable_gitea" {
|
|
description = "Deploy Gitea and the act runner. Set to false to skip (e.g. on a dev laptop without a dedicated server)."
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
variable "enable_monitoring" {
|
|
description = "Deploy Prometheus, Grafana, Loki, Jaeger, and Fluent Bit. Set to false on small VMs to save ~1.5 GB RAM."
|
|
type = bool
|
|
default = true
|
|
}
|
|
|
|
variable "domain" {
|
|
description = "Base domain for all ingress hostnames (e.g. gugagr.xyz). Subdomains are created per service."
|
|
type = string
|
|
default = "homelab.local"
|
|
}
|
|
|
|
locals {
|
|
scheme = var.domain == "homelab.local" ? "http" : "https"
|
|
}
|