Optimize service port definition
This commit is contained in:
@@ -30,3 +30,46 @@ variable "backchannel_providers" {
|
||||
type = list(number)
|
||||
default = null
|
||||
}
|
||||
|
||||
variable "ingress_class" {
|
||||
type = string
|
||||
default = ""
|
||||
}
|
||||
|
||||
variable "rule_mapper" {
|
||||
type = object({
|
||||
host = string
|
||||
paths = list(object({
|
||||
path = optional(string)
|
||||
type = optional(string)
|
||||
backend = object({
|
||||
service = object({
|
||||
name = string
|
||||
port = object({
|
||||
name = string
|
||||
})
|
||||
})
|
||||
})
|
||||
}))
|
||||
})
|
||||
default = {
|
||||
host="not.defined"
|
||||
paths= []
|
||||
}
|
||||
}
|
||||
|
||||
variable "cert_name" {
|
||||
type = string
|
||||
default = ""
|
||||
description = "Give a secret name for tls, if empty will use the ingress cert_name"
|
||||
}
|
||||
|
||||
variable "namespace" {
|
||||
type = string
|
||||
default = ""
|
||||
}
|
||||
|
||||
variable "labels" {
|
||||
type = map(string)
|
||||
default = {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user