This commit is contained in:
2023-08-06 21:07:18 +02:00
parent 10570d29fe
commit b464ef24d7
12 changed files with 694 additions and 503 deletions

View File

@@ -159,7 +159,7 @@ resource "kubectl_manifest" "config" {
namespace: "${var.namespace}"
labels: ${jsonencode(local.common-labels)}
data:
DOLI_DB_HOST: "${var.instance}-${var.component}.${var.namespace}.svc"
DOLI_DB_HOST: "${var.instance}-${var.component}-pg-rw.${var.namespace}.svc"
DOLI_DB_USER: "${var.component}"
DOLI_DB_NAME: "${var.component}"
DOLI_DB_PORT: "5432"