fix
This commit is contained in:
@@ -18,6 +18,7 @@ locals {
|
||||
}
|
||||
|
||||
resource "kubectl_manifest" "postgrest_config" {
|
||||
count = var.extentions.postgrest.enable ? 1:0
|
||||
yaml_body = <<-EOF
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
@@ -29,9 +30,12 @@ resource "kubectl_manifest" "postgrest_config" {
|
||||
PGDATABASE: "${var.instance}"
|
||||
PGHOST: "${var.instance}-${var.component}-rw.${var.namespace}.svc"
|
||||
PGPORT: "5432"
|
||||
PGRST_DB_SCHEMA: public
|
||||
PGRST_DB_ANON_ROLE: anonymous
|
||||
PGRST_OPENAPI_SERVER_PROXY_URI: "https://${local.prest-dns-name}"
|
||||
PGRST_ADMIN_SERVER_PORT: "9000"
|
||||
API_URL: "https://${local.prest-dns-name}"
|
||||
BASE_URL: "/ui"
|
||||
EOF
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user