From 84457267a06bd3e8f818443267e6dfaf315737c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Mon, 23 Oct 2023 13:11:44 +0200 Subject: [PATCH] fix --- share/dataset-pg/index.yaml | 162 +++++++++++++++++----------------- share/dataset-pg/postgrest.tf | 4 +- 2 files changed, 83 insertions(+), 83 deletions(-) diff --git a/share/dataset-pg/index.yaml b/share/dataset-pg/index.yaml index 435bc72..8e87c8f 100644 --- a/share/dataset-pg/index.yaml +++ b/share/dataset-pg/index.yaml @@ -6,74 +6,11 @@ metadata: name: dataset-pg description: null options: - domain-name: - default: your_company.com + replicas: + default: 1 examples: - - your_company.com - type: string - backups: - default: - enable: false - endpoint: '' - key-id-key: s3-id - retention: - db: 30d - schedule: - db: 0 3 * * * - secret-key: s3-secret - secret-name: backup-settings - examples: - - enable: false - endpoint: '' - key-id-key: s3-id - retention: - db: 30d - schedule: - db: 0 3 * * * - secret-key: s3-secret - secret-name: backup-settings - properties: - enable: - default: false - type: boolean - endpoint: - default: '' - type: string - key-id-key: - default: s3-id - type: string - retention: - default: - db: 30d - properties: - db: - default: 30d - type: string - type: object - schedule: - default: - db: 0 3 * * * - properties: - db: - default: 0 3 * * * - type: string - type: object - secret-key: - default: s3-secret - type: string - secret-name: - default: backup-settings - type: string - type: object - roles: - default: [] - items: - properties: - name: - default: alt-account - type: string - type: object - type: array + - 1 + type: integer extentions: default: pool: @@ -180,11 +117,84 @@ options: type: object type: object type: object - replicas: - default: 1 + ingress-class: + default: traefik examples: - - 1 - type: integer + - traefik + type: string + backups: + default: + enable: false + endpoint: '' + key-id-key: s3-id + retention: + db: 30d + schedule: + db: 0 3 * * * + secret-key: s3-secret + secret-name: backup-settings + examples: + - enable: false + endpoint: '' + key-id-key: s3-id + retention: + db: 30d + schedule: + db: 0 3 * * * + secret-key: s3-secret + secret-name: backup-settings + properties: + enable: + default: false + type: boolean + endpoint: + default: '' + type: string + key-id-key: + default: s3-id + type: string + retention: + default: + db: 30d + properties: + db: + default: 30d + type: string + type: object + schedule: + default: + db: 0 3 * * * + properties: + db: + default: 0 3 * * * + type: string + type: object + secret-key: + default: s3-secret + type: string + secret-name: + default: backup-settings + type: string + type: object + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string + domain-name: + default: your_company.com + examples: + - your_company.com + type: string + roles: + default: [] + items: + properties: + name: + default: alt-account + type: string + type: object + type: array databases: default: [] items: @@ -204,16 +214,6 @@ options: examples: - 8Gi type: string - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string - ingress-class: - default: traefik - examples: - - traefik - type: string dependencies: - dist: null category: dbo diff --git a/share/dataset-pg/postgrest.tf b/share/dataset-pg/postgrest.tf index 505536b..200eea7 100644 --- a/share/dataset-pg/postgrest.tf +++ b/share/dataset-pg/postgrest.tf @@ -69,12 +69,12 @@ resource "kubectl_manifest" "postgrest_deploy" { valueFrom: secretKeyRef: key: username - name: "${var.instance}-${var.component}-pg-app" + name: "${var.instance}-${var.component}-app" - name: PGPASSWORD valueFrom: secretKeyRef: key: password - name: "${var.instance}-${var.component}-pg-app" + name: "${var.instance}-${var.component}-app" envFrom: - configMapRef: name: "${var.component}-${var.instance}-postgrest"