This commit is contained in:
2023-08-06 18:48:50 +02:00
parent 216c67f441
commit 10570d29fe
6 changed files with 405 additions and 283 deletions

View File

@@ -17,11 +17,10 @@ HOST=gitea-memcached.${var.namespace}.svc:11211
EOF
database = <<-EOF
DB_TYPE=postgres
HOST=${var.instance}-${var.component}.${var.namespace}.svc:5432
HOST=${var.instance}-${var.component}-pg-rw.${var.namespace}.svc:5432
NAME=${var.component}
PASSWD=${data.kubernetes_secret_v1.postgresql_password.data["password"]}
USER=${data.kubernetes_secret_v1.postgresql_password.data["username"]}
SSL_MODE=require
EOF
repository = <<-EOF
DEFAULT_BRANCH=${var.default-branch}