adding celery for django
This commit is contained in:
@@ -22,7 +22,7 @@ variable "kubernetes" {
|
||||
annotations_fileType = optional(string)
|
||||
existing_pvc = optional(bool, false)
|
||||
mount_path = string
|
||||
sub_path = optional(string)
|
||||
sub_path = optional(string)
|
||||
})))
|
||||
environment = optional(map(object({
|
||||
name = optional(string)
|
||||
@@ -82,8 +82,8 @@ locals {
|
||||
namespace = coalesce(value.namespace, value.connected_namespace, key)
|
||||
}] if value.enabled == true && value.pvc != null
|
||||
])
|
||||
|
||||
# group duplicates instead of throwing an error
|
||||
|
||||
# group duplicates instead of throwing an error
|
||||
pvc_map_grouped = {
|
||||
for p in local.pvc_list :
|
||||
p.key => p...
|
||||
@@ -349,7 +349,7 @@ resource "kubernetes_deployment_v1" "automatic" {
|
||||
content {
|
||||
mount_path = volume_mount.value.mount_path
|
||||
name = "${volume_mount.value.name}-pvc"
|
||||
sub_path = volume_mount.value.sub_path != null ? volume_mount.value.sub_path : ""
|
||||
sub_path = volume_mount.value.sub_path != null ? volume_mount.value.sub_path : ""
|
||||
}
|
||||
}
|
||||
|
||||
@@ -570,7 +570,7 @@ resource "kubernetes_deployment_v1" "database-automatic" {
|
||||
name = "${each.key}-db-pvc"
|
||||
}
|
||||
|
||||
command = try([each.value.database.command],[])
|
||||
command = try([each.value.database.command], [])
|
||||
#command = [try(each.value.database.command,"")]
|
||||
|
||||
dynamic "env" {
|
||||
|
||||
Reference in New Issue
Block a user