This commit is contained in:
2024-01-26 12:30:24 +01:00
parent 97ebdf368b
commit bc5c15988c
25 changed files with 790 additions and 790 deletions

View File

@@ -133,7 +133,7 @@ EOF
module "postgrest-service" {
count = var.extentions.postgrest.enable ? 1 : 0
source = "/dist/modules/service"
source = "git::https://git.solidite.fr/vynil/kydah-modules.git//service"
component = "postgrest"
instance = var.instance
namespace = var.namespace
@@ -147,7 +147,7 @@ module "postgrest-service" {
module "postgrest-ingress" {
count = var.extentions.postgrest.enable ? 1 : 0
source = "/dist/modules/ingress"
source = "git::https://git.solidite.fr/vynil/kydah-modules.git//ingress"
component = "postgrest"
instance = var.instance
namespace = var.namespace
@@ -157,7 +157,7 @@ module "postgrest-ingress" {
dns_names = [local.prest-dns_name]
create-redirect = true
middlewares = []
service = local.prest-service
services = [local.prest-service]
providers = {
kubectl = kubectl
}
@@ -165,7 +165,7 @@ module "postgrest-ingress" {
module "swagger-service" {
count = var.extentions.postgrest.enable && var.extentions.postgrest.swagger.enable ? 1 : 0
source = "/dist/modules/service"
source = "git::https://git.solidite.fr/vynil/kydah-modules.git//service"
component = "swagger"
instance = var.instance
namespace = var.namespace
@@ -179,7 +179,7 @@ module "swagger-service" {
module "swagger-ingress" {
count = var.extentions.postgrest.enable && var.extentions.postgrest.swagger.enable ? 1 : 0
source = "/dist/modules/ingress"
source = "git::https://git.solidite.fr/vynil/kydah-modules.git//ingress"
component = "swagger"
instance = var.instance
namespace = var.namespace
@@ -191,7 +191,7 @@ module "swagger-ingress" {
create-cert = false
sub-path = "ui"
secret-component = "postgrest"
service = local.swagger-service
services = [local.swagger-service]
providers = {
kubectl = kubectl
}