From 2c198679575a465f995191770c30ee607d837d22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Sun, 15 Oct 2023 19:00:39 +0200 Subject: [PATCH] fix --- apps/dbgate/deploy.tf | 3 +- apps/dbgate/index.yaml | 150 ++++++++++++++++++++--------------------- 2 files changed, 77 insertions(+), 76 deletions(-) diff --git a/apps/dbgate/deploy.tf b/apps/dbgate/deploy.tf index ee5d388..7297226 100644 --- a/apps/dbgate/deploy.tf +++ b/apps/dbgate/deploy.tf @@ -44,7 +44,8 @@ resource "kubectl_manifest" "deploy" { name: "${var.component}-${var.instance}-secret" key: client-secret command: - - /start.sh + - "/bin/ash" + - "/start.sh" image: "${var.images.dbgate.registry}/${var.images.dbgate.repository}:${var.images.dbgate.tag}" imagePullPolicy: "${var.images.dbgate.pullPolicy}" ports: diff --git a/apps/dbgate/index.yaml b/apps/dbgate/index.yaml index 0935b42..46fcc66 100644 --- a/apps/dbgate/index.yaml +++ b/apps/dbgate/index.yaml @@ -6,36 +6,44 @@ metadata: name: dbgate description: null options: - pg: - default: [] + app-group: + default: dev 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 - maria: + - dev + type: string + storage: + default: + accessMode: ReadWriteOnce + size: 1Gi + type: Filesystem + examples: + - accessMode: ReadWriteOnce + size: 1Gi + type: Filesystem + properties: + accessMode: + default: ReadWriteOnce + enum: + - ReadWriteOnce + - ReadOnlyMany + - ReadWriteMany + type: string + size: + default: 1Gi + type: string + type: + default: Filesystem + enum: + - Filesystem + - Block + type: string + type: object + domain: + default: your-company + examples: + - your-company + type: string + pg: default: [] examples: - [] @@ -93,26 +101,55 @@ options: type: string type: object type: array - domain-name: - default: your_company.com + sub-domain: + default: dbgate examples: - - your_company.com + - dbgate type: string issuer: default: letsencrypt-prod examples: - letsencrypt-prod type: string - sub-domain: - default: dbgate + ingress-class: + default: traefik examples: - - dbgate + - traefik type: string - domain: - default: your-company + domain-name: + default: your_company.com examples: - - your-company + - your_company.com 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 images: default: dbgate: @@ -152,43 +189,6 @@ options: type: string type: object type: object - app-group: - default: dev - examples: - - dev - type: string - ingress-class: - default: traefik - examples: - - traefik - type: string - storage: - default: - accessMode: ReadWriteOnce - size: 1Gi - type: Filesystem - examples: - - accessMode: ReadWriteOnce - size: 1Gi - type: Filesystem - properties: - accessMode: - default: ReadWriteOnce - enum: - - ReadWriteOnce - - ReadOnlyMany - - ReadWriteMany - type: string - size: - default: 1Gi - type: string - type: - default: Filesystem - enum: - - Filesystem - - Block - type: string - type: object dependencies: - dist: null category: share