ratelimit needs to create a custom manifest file IngressRoute
This commit is contained in:
@@ -72,19 +72,3 @@ resource "kubernetes_manifest" "letsencrypt_prod" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
resource "kubernetes_manifest" "traefik_Middleware_ratelimit" {
|
|
||||||
manifest = {
|
|
||||||
"apiVersion" = "traefik.containo.us/v1alpha1"
|
|
||||||
"kind" = "Middleware"
|
|
||||||
"metadata" = {
|
|
||||||
"name" = "ratelimit"
|
|
||||||
}
|
|
||||||
"spec" = {
|
|
||||||
"rateLimit" = {
|
|
||||||
"average" = "100"
|
|
||||||
"burst" = 50
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user