diff --git a/apps/dbgate/application.tf b/apps/dbgate/application.tf index 81fd8de..592ab1e 100644 --- a/apps/dbgate/application.tf +++ b/apps/dbgate/application.tf @@ -4,7 +4,7 @@ locals { } module "ingress" { - source = "/src/modules/ingress" + source = "/dist/modules/ingress" component = var.component instance = var.instance namespace = var.namespace @@ -15,7 +15,7 @@ module "ingress" { } module "application" { - source = "/src/modules/application" + source = "/dist/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 = "/src/modules/oauth2" + source = "/dist/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 = "/src/modules/forward" + source = "/dist/modules/forward" component = var.component instance = var.instance domain = var.domain diff --git a/apps/dbgate/index.yaml b/apps/dbgate/index.yaml index 9cac060..8bc2cfc 100644 --- a/apps/dbgate/index.yaml +++ b/apps/dbgate/index.yaml @@ -6,22 +6,7 @@ metadata: name: dbgate description: null options: - domain-name: - default: your_company.com - examples: - - your_company.com - type: string - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string - sub-domain: - default: dbgate - examples: - - dbgate - type: string - pg: + maria: default: [] examples: - [] @@ -50,15 +35,20 @@ options: type: string type: object type: array + sub-domain: + default: dbgate + examples: + - dbgate + type: string ingress-class: default: traefik examples: - traefik type: string - domain: - default: your-company + app-group: + default: dev examples: - - your-company + - dev type: string images: default: @@ -99,11 +89,50 @@ options: type: string type: object type: object - app-group: - default: dev + issuer: + default: letsencrypt-prod examples: - - dev + - letsencrypt-prod type: string + domain: + default: your-company + examples: + - your-company + type: string + use-oauth: + default: false + examples: + - false + type: boolean + 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: @@ -160,40 +189,11 @@ options: - Block type: string type: object - maria: - default: [] + domain-name: + default: your_company.com 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 + - your_company.com + type: string dependencies: - dist: null category: share