From 9b172c24ae417e97bcd4cc40e6fa6d8c463930e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Wed, 18 Oct 2023 12:55:09 +0200 Subject: [PATCH] fix --- apps/dbgate/deploy.tf | 2 +- apps/dbgate/index.yaml | 158 ++++++++++++++++++++--------------------- 2 files changed, 80 insertions(+), 80 deletions(-) diff --git a/apps/dbgate/deploy.tf b/apps/dbgate/deploy.tf index 7297226..452963a 100644 --- a/apps/dbgate/deploy.tf +++ b/apps/dbgate/deploy.tf @@ -44,7 +44,7 @@ resource "kubectl_manifest" "deploy" { name: "${var.component}-${var.instance}-secret" key: client-secret command: - - "/bin/ash" + - "/bin/bash" - "/start.sh" image: "${var.images.dbgate.registry}/${var.images.dbgate.repository}:${var.images.dbgate.tag}" imagePullPolicy: "${var.images.dbgate.pullPolicy}" diff --git a/apps/dbgate/index.yaml b/apps/dbgate/index.yaml index 9230295..cc247de 100644 --- a/apps/dbgate/index.yaml +++ b/apps/dbgate/index.yaml @@ -6,6 +6,45 @@ metadata: name: dbgate description: null options: + mongo: + 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 + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string + ingress-class: + default: traefik + examples: + - traefik + type: string storage: default: accessMode: ReadWriteOnce @@ -33,12 +72,51 @@ options: - Block type: string type: object + 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 domain-name: default: your_company.com examples: - your_company.com type: string - pg: + sub-domain: + default: dbgate + examples: + - dbgate + type: string + domain: + default: your-company + examples: + - your-company + type: string + maria: default: [] examples: - [] @@ -106,84 +184,6 @@ options: type: string type: object type: object - ingress-class: - default: traefik - examples: - - traefik - type: string - domain: - default: your-company - examples: - - your-company - type: string - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - 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 - sub-domain: - default: dbgate - examples: - - dbgate - type: string - mongo: - 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 app-group: default: dev examples: