diff --git a/apps/dbgate/configs.tf b/apps/dbgate/configs.tf index 969c7fa..6b8119d 100644 --- a/apps/dbgate/configs.tf +++ b/apps/dbgate/configs.tf @@ -34,7 +34,7 @@ locals { redis_conns = [for m in var.redis: join("_",["redis", m.namespace, m.name])] mongo_vars = merge([for m in var.mongo: { - join("_",["LABEL_mongo", m.namespace, m.name]) = join(" | ",["mongo", m.namespace, m.name]) + join("_",["LABEL_mongo", m.namespace, m.name]) = join(" | ",[m.namespace, m.name]) join("_",["ENGINE_mongo", m.namespace, m.name]) = "mongo@dbgate-plugin-mongo" join("_",["DATABASE_mongo", m.namespace, m.name]) = m.dbname }]...) diff --git a/apps/dbgate/index.yaml b/apps/dbgate/index.yaml index 4c99029..bc46f77 100644 --- a/apps/dbgate/index.yaml +++ b/apps/dbgate/index.yaml @@ -20,7 +20,12 @@ options: type: string type: object type: array - pg: + domain-name: + default: your_company.com + examples: + - your_company.com + type: string + maria: default: [] examples: - [] @@ -88,35 +93,11 @@ options: type: string type: object type: object - maria: - default: [] + use-oauth: + default: false 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 + - false + type: boolean mongo: default: [] examples: @@ -146,6 +127,26 @@ options: type: string type: object type: array + app-group: + default: dev + examples: + - dev + type: string + sub-domain: + default: dbgate + examples: + - dbgate + type: string + ingress-class: + default: traefik + examples: + - traefik + type: string + domain: + default: your-company + examples: + - your-company + type: string storage: default: accessMode: ReadWriteOnce @@ -173,41 +174,40 @@ options: - Block type: string type: object - sub-domain: - default: dbgate - examples: - - dbgate - type: string - domain-name: - default: your_company.com - examples: - - your_company.com - type: string issuer: default: letsencrypt-prod examples: - letsencrypt-prod type: string - app-group: - default: dev + pg: + default: [] examples: - - dev - type: string - ingress-class: - default: traefik - examples: - - traefik - type: string - domain: - default: your-company - examples: - - your-company - type: string - use-oauth: - default: false - examples: - - false - type: boolean + - [] + 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