This commit is contained in:
2023-10-18 16:57:40 +02:00
parent 9b172c24ae
commit 8661e6bef9
15 changed files with 520 additions and 180 deletions

View File

@@ -0,0 +1,35 @@
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
}
}
}