mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 20:39:18 -08:00
[CLUSTER] Traefik, cloudflare, firewall, ...
This commit is contained in:
parent
3cdb41f137
commit
9298e8ecdb
3 changed files with 14 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
|||
variable "cloudflare_api_token" {
|
||||
type = string
|
||||
}
|
||||
/*
|
||||
|
||||
resource "kubernetes_secret" "cloudflare_api_token" {
|
||||
metadata {
|
||||
name = "cloudflare-api-token"
|
||||
|
|
@ -48,4 +48,4 @@ resource "kubernetes_manifest" "cert_manager_cloudflare_issuer" {
|
|||
}
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
|
@ -24,10 +24,14 @@ resource "helm_release" "traefik" {
|
|||
}
|
||||
web = {
|
||||
hostPort = 80
|
||||
port = 80
|
||||
exposedPort = 80
|
||||
expose = true
|
||||
}
|
||||
websecure = {
|
||||
hostPort = 443
|
||||
port = 443
|
||||
exposedPort = 443
|
||||
expose = true
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue