36 lines
589 B
HCL
36 lines
589 B
HCL
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 "dns-names" {
|
|
type = list(string)
|
|
}
|
|
variable "middlewares" {
|
|
type = list(string)
|
|
default = ["${var.instance}-https"]
|
|
}
|
|
variable "service" {
|
|
default = {
|
|
"name" = "${var.component}-${var.instance}"
|
|
"port" = {
|
|
"number" = 80
|
|
}
|
|
}
|
|
}
|
|
|