import: traefik helm release
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
32
traefik.tf
Normal file
32
traefik.tf
Normal file
@@ -0,0 +1,32 @@
|
||||
resource "helm_release" "traefik" {
|
||||
name = "traefik"
|
||||
namespace = local.traefik_namespace
|
||||
create_namespace = true
|
||||
|
||||
repository = "https://helm.traefik.io/traefik"
|
||||
chart = "traefik"
|
||||
|
||||
values = [
|
||||
jsonencode({
|
||||
rbac = {
|
||||
enabled = true
|
||||
namespaced = false # traefik works for the whole cluster
|
||||
}
|
||||
podSecurityPolicy = {
|
||||
enabled = false
|
||||
}
|
||||
deployment = {
|
||||
enabled = false
|
||||
}
|
||||
daemonset = {
|
||||
enabled = false
|
||||
}
|
||||
service = {
|
||||
enabled = false
|
||||
}
|
||||
ingressroute = {
|
||||
dashboard = { enabled = false }
|
||||
}
|
||||
})
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user