diff --git a/apps/dbgate/configs.tf b/apps/dbgate/configs.tf index ac93adf..4ede924 100644 --- a/apps/dbgate/configs.tf +++ b/apps/dbgate/configs.tf @@ -50,7 +50,7 @@ locals { "OAUTH_SCOPE" = "email" } connections = join(",", concat(local.pg_conns, local.maria_conns, local.mongo_conns, local.redis_conns)) - connection_vars = merge(local.pg_vars, local.maria_vars, local.mongo_vars, local.redis_conns) + connection_vars = merge(local.pg_vars, local.maria_vars, local.mongo_vars, local.redis_vars) connection_secrets = merge(local.pg_secrets, local.mongo_secrets) } diff --git a/apps/dbgate/index.yaml b/apps/dbgate/index.yaml index 55fee9f..89cf98a 100644 --- a/apps/dbgate/index.yaml +++ b/apps/dbgate/index.yaml @@ -6,51 +6,12 @@ metadata: name: dbgate description: null options: - use-oauth: - default: false - examples: - - false - type: boolean domain: default: your-company examples: - your-company type: string - 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 - ingress-class: - default: traefik - examples: - - traefik - type: string - mongo: + pg: default: [] examples: - [] @@ -118,10 +79,15 @@ options: type: string type: object type: object - sub-domain: - default: dbgate + use-oauth: + default: false examples: - - dbgate + - false + type: boolean + domain-name: + default: your_company.com + examples: + - your_company.com type: string issuer: default: letsencrypt-prod @@ -142,17 +108,7 @@ options: type: string type: object type: array - domain-name: - default: your_company.com - examples: - - your_company.com - type: string - app-group: - default: dev - examples: - - dev - type: string - pg: + mongo: default: [] examples: - [] @@ -181,6 +137,16 @@ options: type: string type: object type: array + sub-domain: + default: dbgate + examples: + - dbgate + type: string + ingress-class: + default: traefik + examples: + - traefik + type: string storage: default: accessMode: ReadWriteOnce @@ -208,6 +174,40 @@ options: - Block type: string type: object + app-group: + default: dev + examples: + - dev + type: string + 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 dependencies: - dist: null category: share