26 lines
459 B
HCL
26 lines
459 B
HCL
variable "component" {
|
|
type = string
|
|
}
|
|
variable "instance" {
|
|
type = string
|
|
}
|
|
variable "namespace" {
|
|
type = string
|
|
}
|
|
variable "labels" {
|
|
type = map(string)
|
|
}
|
|
variable "storage" {
|
|
type = object({
|
|
accessMode = optional(string),
|
|
class = optional(string),
|
|
size = optional(string),
|
|
type = optional(string)
|
|
})
|
|
default = {
|
|
"accessMode" = "ReadWriteOnce"
|
|
"class" = ""
|
|
"size" = "10Gi"
|
|
"type" = "Filesystem"
|
|
}
|
|
} |