fix redis typo

This commit is contained in:
pierre geeraert
2026-10-14 00:54:11 +01:00
parent 36869e060d
commit 6c14bb15f1
+2 -7
View File
@@ -96,17 +96,12 @@ resource "kubernetes_deployment_v1" "redis-automatic" {
} }
} }
}
volume { volume {
name = "${each.key}-redis-volume" name = "${each.key}-redis-volume"
host_path { host_path {
path = try(each.value.redis.host_path, join("/", [ path = try(each.value.redis.host_path, join("/", [var.storage_path.main_storage, coalesce(each.value.namespace, each.value.connected_namespace, each.key), join("-", [each.key, "redis"])]))
var.storage_path.main_storage, coalesce(each.value.namespace, each.value.connected_namespace, each.key),
join("-", [each.key, "redis"])
]))
} }
}
} }
} }
} }