Adding storage modules

This commit is contained in:
2024-01-27 00:03:20 +01:00
parent c39cc31bc6
commit 2c066b9049
17 changed files with 451 additions and 1 deletions

26
pvc/variables.tf Normal file
View File

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