more testing with default creds

This commit is contained in:
2026-03-03 23:46:36 +00:00
parent 3072568008
commit 9c3cecd4ce
2 changed files with 43 additions and 49 deletions
+14
View File
@@ -426,8 +426,22 @@ resource "kubernetes_deployment_v1" "automatic" {
name = env_from.value
}
}
}
}
dynamic "env_from" {
for_each = each.value.database != null && each.value.enabled == true && !(try(each.value.database.shunt, false)) ? ["${each.key}-db-terraform"] : []
#for_each = each.value.database != null && each.value.enabled == true ? ["${each.key}-db-terraform"] : []
content {
dynamic "secret_ref" {
for_each = [1]
content {
name = env_from.value
}
}
}
}
dynamic "env_from" {
for_each = each.value.config_map_ref != null ? each.value.config_map_ref : []
content {