From 6f0e5022d89d2318ccac50ff10b4f30816fdd4d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Wed, 18 Oct 2023 18:10:23 +0200 Subject: [PATCH] fix --- apps/dbgate/application.tf | 2 +- apps/dbgate/index.yaml | 116 ++++++++++++++++++------------------- 2 files changed, 59 insertions(+), 59 deletions(-) diff --git a/apps/dbgate/application.tf b/apps/dbgate/application.tf index eb685a1..797ee5b 100644 --- a/apps/dbgate/application.tf +++ b/apps/dbgate/application.tf @@ -50,7 +50,7 @@ module "application" { sub-domain = var.sub-domain domain-name = var.domain-name icon = local.icon - protocol_provider = var.use-oauth?module.oauth2.provider-id:module.forward.provider-id + protocol_provider = var.use-oauth?module.oauth2[0].provider-id:module.forward[0].provider-id providers = { authentik = authentik } diff --git a/apps/dbgate/index.yaml b/apps/dbgate/index.yaml index ceaccdb..4ee545a 100644 --- a/apps/dbgate/index.yaml +++ b/apps/dbgate/index.yaml @@ -16,55 +16,11 @@ options: examples: - your-company type: string - app-group: - default: dev + sub-domain: + default: dbgate examples: - - dev + - dbgate type: string - use-oauth: - default: false - examples: - - false - type: boolean - images: - default: - dbgate: - pullPolicy: IfNotPresent - registry: docker.io - repository: dbgate/dbgate - tag: 5.2.7-alpine - examples: - - dbgate: - pullPolicy: IfNotPresent - registry: docker.io - repository: dbgate/dbgate - tag: 5.2.7-alpine - properties: - dbgate: - default: - pullPolicy: IfNotPresent - registry: docker.io - repository: dbgate/dbgate - tag: 5.2.7-alpine - properties: - pullPolicy: - default: IfNotPresent - enum: - - Always - - Never - - IfNotPresent - type: string - registry: - default: docker.io - type: string - repository: - default: dbgate/dbgate - type: string - tag: - default: 5.2.7-alpine - type: string - type: object - type: object pg: default: [] examples: @@ -94,10 +50,15 @@ options: type: string type: object type: array - domain-name: - default: your_company.com + issuer: + default: letsencrypt-prod examples: - - your_company.com + - letsencrypt-prod + type: string + app-group: + default: dev + examples: + - dev type: string maria: default: [] @@ -157,6 +118,50 @@ options: type: string type: object type: array + use-oauth: + default: false + examples: + - false + type: boolean + images: + default: + dbgate: + pullPolicy: IfNotPresent + registry: docker.io + repository: dbgate/dbgate + tag: 5.2.7-alpine + examples: + - dbgate: + pullPolicy: IfNotPresent + registry: docker.io + repository: dbgate/dbgate + tag: 5.2.7-alpine + properties: + dbgate: + default: + pullPolicy: IfNotPresent + registry: docker.io + repository: dbgate/dbgate + tag: 5.2.7-alpine + properties: + pullPolicy: + default: IfNotPresent + enum: + - Always + - Never + - IfNotPresent + type: string + registry: + default: docker.io + type: string + repository: + default: dbgate/dbgate + type: string + tag: + default: 5.2.7-alpine + type: string + type: object + type: object storage: default: accessMode: ReadWriteOnce @@ -184,15 +189,10 @@ options: - Block type: string type: object - sub-domain: - default: dbgate + domain-name: + default: your_company.com examples: - - dbgate - type: string - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod + - your_company.com type: string dependencies: - dist: null