mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 20:39:18 -08:00
41 lines
No EOL
1 KiB
HCL
41 lines
No EOL
1 KiB
HCL
/*resource "helm_release" "traefik" {
|
|
name = "traefik"
|
|
repository = "https://traefik.github.io/charts"
|
|
chart = "traefik"
|
|
create_namespace = true
|
|
namespace = "traefik"
|
|
|
|
timeout = var.helm_timeout
|
|
cleanup_on_fail = true
|
|
force_update = true
|
|
|
|
values = [
|
|
yamlencode({
|
|
deployment = {
|
|
replicas = 1
|
|
}
|
|
service = {
|
|
type = "NodePort"
|
|
}
|
|
ports = {
|
|
traefik = {
|
|
traefik = {
|
|
expose = true
|
|
}
|
|
web = {
|
|
hostPort = 80
|
|
port = 80
|
|
exposedPort = 80
|
|
expose = true
|
|
}
|
|
websecure = {
|
|
hostPort = 443
|
|
port = 443
|
|
exposedPort = 443
|
|
expose = true
|
|
}
|
|
}
|
|
}
|
|
})
|
|
]
|
|
}*/ |