Restructure: servers/legion/ layout, rename repo to infrastructure
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
# Traefik configuration — global HTTP→HTTPS redirect
|
||||
# Applied via k3s HelmChartConfig (managed outside of Helm provider)
|
||||
|
||||
resource "kubernetes_manifest" "traefik_config" {
|
||||
field_manager {
|
||||
force_conflicts = true
|
||||
}
|
||||
|
||||
manifest = {
|
||||
apiVersion = "helm.cattle.io/v1"
|
||||
kind = "HelmChartConfig"
|
||||
metadata = {
|
||||
name = "traefik"
|
||||
namespace = "kube-system"
|
||||
}
|
||||
spec = {
|
||||
valuesContent = <<-YAML
|
||||
ports:
|
||||
web:
|
||||
redirectTo:
|
||||
port: websecure
|
||||
YAML
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user