This commit is contained in:
2024-01-26 08:52:55 +01:00
parent 8c4348d215
commit 15594f64d1
4 changed files with 232 additions and 121 deletions

View File

@@ -20,8 +20,9 @@ resource "kubectl_manifest" "prj_pg" {
"k8up.io/file-extension": ".sql"
spec:
instances: ${var.postgres.replicas}
imageName: "${var.images.postgres.registry}/${var.images.postgres.repository}:${var.images.postgres.tag}"
storage:
size: "${var.postgres.storage}"
size: "${var.storage.postgres}"
bootstrap:
initdb:
database: "${var.component}"