From 4c43f6443137677647e8d977223ab316d4e5002f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Fri, 26 Jan 2024 18:39:56 +0100 Subject: [PATCH] fix --- apps/dbgate/index.yaml | 120 ++++++++++++++++++------------------ apps/dbgate/presentation.tf | 2 +- 2 files changed, 61 insertions(+), 61 deletions(-) diff --git a/apps/dbgate/index.yaml b/apps/dbgate/index.yaml index 8b0122c..9a745ea 100644 --- a/apps/dbgate/index.yaml +++ b/apps/dbgate/index.yaml @@ -35,30 +35,6 @@ options: type: string type: object type: array - ingress_class: - default: traefik - examples: - - traefik - type: string - domain_name: - default: your_company.com - examples: - - your_company.com - type: string - redis: - default: [] - examples: - - [] - items: - properties: - name: - default: '' - type: string - namespace: - default: '' - type: string - type: object - type: array mongo: default: [] examples: @@ -88,21 +64,69 @@ options: type: string type: object type: array + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string + ingress_class: + default: traefik + examples: + - traefik + type: string domain: default: your-company examples: - your-company type: string + redis: + default: [] + examples: + - [] + items: + properties: + name: + default: '' + type: string + namespace: + default: '' + type: string + type: object + type: array + 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 sub_domain: default: dbgate examples: - dbgate type: string - app_group: - default: dev - examples: - - dev - type: string images: default: dbgate: @@ -185,40 +209,16 @@ options: type: string type: object type: object - issuer: - default: letsencrypt-prod + app_group: + default: dev examples: - - letsencrypt-prod + - dev type: string - pg: - default: [] + domain_name: + default: your_company.com 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 + - your_company.com + type: string dependencies: - dist: null category: core diff --git a/apps/dbgate/presentation.tf b/apps/dbgate/presentation.tf index e524236..6fea6bd 100644 --- a/apps/dbgate/presentation.tf +++ b/apps/dbgate/presentation.tf @@ -8,7 +8,7 @@ locals { Authorization = "Bearer ${data.kubernetes_secret_v1.authentik.data["AUTHENTIK_BOOTSTRAP_TOKEN"]}" } service = { - "name" = + "name" = "${var.component}-${var.instance}" "port" = { "number" = 80 }