Commit 574780c0 by chenxx

add annotations2

1 parent c5dd38f9
......@@ -88,8 +88,8 @@ module "ingress" {
service_namespace = local.namespace
service_name = local.name
annotations = {
nginx.ingress.kubernetes.io/proxy-send-timeout = "360"
nginx.ingress.kubernetes.io/proxy-read-timeout = "360"
"nginx.ingress.kubernetes.io/proxy-send-timeout" = "360"
"nginx.ingress.kubernetes.io/proxy-read-timeout" = "360"
}
rule = [
......
......@@ -148,3 +148,9 @@ variable "hosts" {
description = "(Optional) host aliases 手动配置域名到hosts"
default = []
}
variable "annotations" {
description = "(Optional) Custom Annotations"
default = null
}
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!