diff --git a/apps/dbgate/configs.tf b/apps/dbgate/configs.tf index 4ede924..969c7fa 100644 --- a/apps/dbgate/configs.tf +++ b/apps/dbgate/configs.tf @@ -31,7 +31,7 @@ locals { join("_",["SERVER_redis", m.namespace, m.name]) = join(".",[m.name, m.namespace, "svc"]) join("_",["PORT_redis", m.namespace, m.name]) = "6379" }]...) - redis_conns = [for m in var.maria: join("_",["redis", m.namespace, m.name])] + 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]) diff --git a/apps/dbgate/index.yaml b/apps/dbgate/index.yaml index 89cf98a..4c99029 100644 --- a/apps/dbgate/index.yaml +++ b/apps/dbgate/index.yaml @@ -6,11 +6,20 @@ metadata: name: dbgate description: null options: - domain: - default: your-company + redis: + default: [] examples: - - your-company - type: string + - [] + items: + properties: + name: + default: '' + type: string + namespace: + default: '' + type: string + type: object + type: array pg: default: [] examples: @@ -79,33 +88,33 @@ options: type: string type: object type: object - use-oauth: - default: false - examples: - - false - type: boolean - domain-name: - default: your_company.com - examples: - - your_company.com - type: string - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string - redis: + 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 mongo: @@ -137,16 +146,6 @@ 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 @@ -174,40 +173,41 @@ 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 examples: - dev type: string - maria: - default: [] + ingress-class: + default: traefik 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 + - traefik + type: string + domain: + default: your-company + examples: + - your-company + type: string + use-oauth: + default: false + examples: + - false + type: boolean dependencies: - dist: null category: share