From 194bf5eab2b62778276aaccb2a7f66dfa29a9caf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Wed, 18 Oct 2023 17:30:25 +0200 Subject: [PATCH] fix --- apps/dbgate/application.tf | 11 ++++ apps/dbgate/index.yaml | 110 ++++++++++++++++++------------------- 2 files changed, 66 insertions(+), 55 deletions(-) diff --git a/apps/dbgate/application.tf b/apps/dbgate/application.tf index 5fa3a59..cd01903 100644 --- a/apps/dbgate/application.tf +++ b/apps/dbgate/application.tf @@ -40,6 +40,11 @@ module "oauth2" { namespace = var.namespace labels = local.common-labels dns-name = local.dns-name + providers = { + kubernetes = kubernetes + kubectl = kubectl + authentik = authentik + } } module "forward" { @@ -53,4 +58,10 @@ module "forward" { labels = local.common-labels dns-names = local.dns-names authentik-token = data.kubernetes_secret_v1.authentik.data["AUTHENTIK_BOOTSTRAP_TOKEN"] + providers = { + http = http + restapi = restapi + kubectl = kubectl + authentik = authentik + } } diff --git a/apps/dbgate/index.yaml b/apps/dbgate/index.yaml index 1d992a0..2c5fc8a 100644 --- a/apps/dbgate/index.yaml +++ b/apps/dbgate/index.yaml @@ -6,39 +6,7 @@ metadata: name: dbgate description: null options: - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string - storage: - default: - accessMode: ReadWriteOnce - size: 1Gi - type: Filesystem - examples: - - accessMode: ReadWriteOnce - size: 1Gi - type: Filesystem - properties: - accessMode: - default: ReadWriteOnce - enum: - - ReadWriteOnce - - ReadOnlyMany - - ReadWriteMany - type: string - size: - default: 1Gi - type: string - type: - default: Filesystem - enum: - - Filesystem - - Block - type: string - type: object - pg: + maria: default: [] examples: - [] @@ -67,16 +35,6 @@ options: type: string type: object type: array - ingress-class: - default: traefik - examples: - - traefik - type: string - domain: - default: your-company - examples: - - your-company - type: string images: default: dbgate: @@ -116,10 +74,37 @@ options: type: string type: object type: object - sub-domain: - default: dbgate + storage: + default: + accessMode: ReadWriteOnce + size: 1Gi + type: Filesystem examples: - - dbgate + - accessMode: ReadWriteOnce + size: 1Gi + type: Filesystem + properties: + accessMode: + default: ReadWriteOnce + enum: + - ReadWriteOnce + - ReadOnlyMany + - ReadWriteMany + type: string + size: + default: 1Gi + type: string + type: + default: Filesystem + enum: + - Filesystem + - Block + type: string + type: object + app-group: + default: dev + examples: + - dev type: string domain-name: default: your_company.com @@ -155,12 +140,32 @@ options: type: string type: object type: array - app-group: - default: dev + domain: + default: your-company examples: - - dev + - your-company type: string - maria: + sub-domain: + default: dbgate + examples: + - dbgate + type: string + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string + ingress-class: + default: traefik + examples: + - traefik + type: string + use-oauth: + default: false + examples: + - false + type: boolean + pg: default: [] examples: - [] @@ -189,11 +194,6 @@ options: type: string type: object type: array - use-oauth: - default: false - examples: - - false - type: boolean dependencies: - dist: null category: share