From 2f56203145bbb914d036579ebf060821662faec2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Wed, 18 Oct 2023 17:11:08 +0200 Subject: [PATCH] fix --- apps/dbgate/application.tf | 8 +- apps/dbgate/index.yaml | 226 ++++++++++++++++++------------------- 2 files changed, 117 insertions(+), 117 deletions(-) diff --git a/apps/dbgate/application.tf b/apps/dbgate/application.tf index 6dd2270..81fd8de 100644 --- a/apps/dbgate/application.tf +++ b/apps/dbgate/application.tf @@ -4,7 +4,7 @@ locals { } module "ingress" { - source = "../../modules/ingress" + source = "/src/modules/ingress" component = var.component instance = var.instance namespace = var.namespace @@ -15,7 +15,7 @@ module "ingress" { } module "application" { - source = "../../modules/application" + source = "/src/modules/application" component = var.component instance = var.instance app-group = var.app-group @@ -27,7 +27,7 @@ module "application" { module "oauth2" { count = var.use-oauth?1:0 - source = "../../modules/oauth2" + source = "/src/modules/oauth2" component = var.component instance = var.instance namespace = var.namespace @@ -37,7 +37,7 @@ module "oauth2" { module "forward" { count = var.use-oauth?0:1 - source = "../../modules/forward" + source = "/src/modules/forward" component = var.component instance = var.instance domain = var.domain diff --git a/apps/dbgate/index.yaml b/apps/dbgate/index.yaml index dd3c670..9cac060 100644 --- a/apps/dbgate/index.yaml +++ b/apps/dbgate/index.yaml @@ -6,33 +6,60 @@ metadata: name: dbgate description: null options: - storage: - default: - accessMode: ReadWriteOnce - size: 1Gi - type: Filesystem + domain-name: + default: your_company.com 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 + - your_company.com + type: string + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string + sub-domain: + default: dbgate + examples: + - dbgate + type: string + pg: + default: [] + examples: + - [] + items: + properties: + dbname: + default: '' + type: string + name: + default: '' + type: string + namespace: + default: '' + type: string + secret: + properties: + key: + default: '' + type: string + name: + default: '' + type: string + type: object + username: + default: '' + 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: @@ -72,94 +99,11 @@ options: type: string type: object type: object - sub-domain: - default: dbgate - examples: - - dbgate - type: string - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string app-group: default: dev examples: - dev type: string - domain-name: - default: your_company.com - examples: - - your_company.com - type: string - use-oauth: - default: false - examples: - - false - type: boolean - maria: - default: [] - examples: - - [] - items: - properties: - dbname: - default: '' - type: string - name: - default: '' - type: string - namespace: - default: '' - type: string - secret: - properties: - key: - default: '' - type: string - name: - default: '' - type: string - type: object - username: - default: '' - type: string - type: object - type: array - domain: - default: your-company - examples: - - your-company - type: string - pg: - default: [] - examples: - - [] - items: - properties: - dbname: - default: '' - type: string - name: - default: '' - type: string - namespace: - default: '' - type: string - secret: - properties: - key: - default: '' - type: string - name: - default: '' - type: string - type: object - username: - default: '' - type: string - type: object - type: array mongo: default: [] examples: @@ -189,11 +133,67 @@ options: type: string type: object type: array - ingress-class: - default: traefik + storage: + default: + accessMode: ReadWriteOnce + size: 1Gi + type: Filesystem examples: - - traefik - type: string + - 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 + maria: + default: [] + examples: + - [] + items: + properties: + dbname: + default: '' + type: string + name: + default: '' + type: string + namespace: + default: '' + type: string + secret: + properties: + key: + default: '' + type: string + name: + default: '' + type: string + type: object + username: + default: '' + type: string + type: object + type: array + use-oauth: + default: false + examples: + - false + type: boolean dependencies: - dist: null category: share