variable "component" { type = string } variable "instance" { type = string } variable "namespace" { type = string } variable "issuer" { type = string } variable "ingress_class" { type = string } variable "labels" { type = map(string) } variable "middlewares" { type = list(string) default = [] } variable "rules_mapper" { type = list(object({ host = string paths = list(object({ path = optional(string) type = optional(string) backend = object({ service = object({ name = string port = object({ name = string }) }) }) })) })) description = "Simplified rules mapper for ingress" } variable "entrypoint" { type = string default = "" description = "Define ingres support, if empty or define to websecure, tls will be activate" validation { condition = contains(["", "web", "websecure"], var.entrypoint) error_message = "Only empty \"\", web or websecure is allowed" } } variable "cert_name" { type = string default = "" description = "Give a secret name for tls, if empty and entrypointis websecure or empty, one will be created" } variable "create_redirect" { type = bool default = true description = "Enfore https redirection" }