enable django

This commit is contained in:
2025-06-22 17:10:32 +01:00
parent 6ee3494165
commit 6e07a68e90
4 changed files with 113 additions and 9 deletions
+7
View File
@@ -15,6 +15,7 @@ variable "kubernetes" {
name = string
pvc = optional(bool, false)
config_map = optional(bool, false)
secret = optional(bool, false)
host_path = optional(string)
pvc_size = optional(string)
storage_class_name = optional(string, "nfs-storage-intelligent")
@@ -463,6 +464,12 @@ resource "kubernetes_deployment_v1" "automatic" {
}
}
dynamic "secret" {
for_each = volume.value.secret != null ? [1] : []
content {
secret_name = volume.value.secret
}
}
}
}