fix
This commit is contained in:
@@ -2,7 +2,7 @@ locals {
|
||||
prest-labels = merge(local.common-labels, {
|
||||
"app.kubernetes.io/component" = "postgrest"
|
||||
})
|
||||
prest-dns-name = "api.${local.dns-name}"
|
||||
prest-dns_name = "api.${local.dns_name}"
|
||||
prest-service = {
|
||||
"name" = "postgrest-${var.instance}"
|
||||
"port" = {
|
||||
@@ -32,9 +32,9 @@ resource "kubectl_manifest" "postgrest_config" {
|
||||
PGPORT: "5432"
|
||||
PGRST_DB_SCHEMA: public
|
||||
PGRST_DB_ANON_ROLE: anonymous
|
||||
PGRST_OPENAPI_SERVER_PROXY_URI: "https://${local.prest-dns-name}"
|
||||
PGRST_OPENAPI_SERVER_PROXY_URI: "https://${local.prest-dns_name}"
|
||||
PGRST_ADMIN_SERVER_PORT: "9000"
|
||||
API_URL: "https://${local.prest-dns-name}"
|
||||
API_URL: "https://${local.prest-dns_name}"
|
||||
BASE_URL: "/ui"
|
||||
EOF
|
||||
}
|
||||
@@ -152,9 +152,9 @@ module "postgrest-ingress" {
|
||||
instance = var.instance
|
||||
namespace = var.namespace
|
||||
issuer = var.issuer
|
||||
ingress-class = var.ingress-class
|
||||
ingress_class = var.ingress_class
|
||||
labels = local.prest-labels
|
||||
dns-names = [local.prest-dns-name]
|
||||
dns_names = [local.prest-dns_name]
|
||||
create-redirect = true
|
||||
middlewares = []
|
||||
service = local.prest-service
|
||||
@@ -184,9 +184,9 @@ module "swagger-ingress" {
|
||||
instance = var.instance
|
||||
namespace = var.namespace
|
||||
issuer = var.issuer
|
||||
ingress-class = var.ingress-class
|
||||
ingress_class = var.ingress_class
|
||||
labels = local.prest-labels
|
||||
dns-names = [local.prest-dns-name]
|
||||
dns_names = [local.prest-dns_name]
|
||||
middlewares = []
|
||||
create-cert = false
|
||||
sub-path = "ui"
|
||||
|
||||
Reference in New Issue
Block a user