fix
This commit is contained in:
35
modules/ingress/variables.tf
Normal file
35
modules/ingress/variables.tf
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user