From b3c0fca31f2982ad6a2aa8b95c8bea03ae82ab9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Mon, 23 Oct 2023 12:46:47 +0200 Subject: [PATCH] fix --- share/dataset-pg/databases.tf | 2 +- share/dataset-pg/index.yaml | 176 +++++++++++++++++----------------- 2 files changed, 89 insertions(+), 89 deletions(-) diff --git a/share/dataset-pg/databases.tf b/share/dataset-pg/databases.tf index 659e0c3..ccaf4d3 100644 --- a/share/dataset-pg/databases.tf +++ b/share/dataset-pg/databases.tf @@ -6,7 +6,7 @@ resource "time_sleep" "wait_pg_ready" { } data "kubernetes_secret_v1" "postgresql_password" { - depends_on = [ time_sleep.wait_pg_ready ] + depends_on = [ kubectl_manifest.prj_pg ] metadata { name = "${var.instance}-${var.component}-superuser" namespace = "${var.namespace}" diff --git a/share/dataset-pg/index.yaml b/share/dataset-pg/index.yaml index 5d4ea2a..525981a 100644 --- a/share/dataset-pg/index.yaml +++ b/share/dataset-pg/index.yaml @@ -6,16 +6,99 @@ metadata: name: dataset-pg description: null options: - storage: - default: 8Gi - examples: - - 8Gi - type: string sub-domain: default: dataset-pg examples: - dataset-pg type: string + storage: + default: 8Gi + examples: + - 8Gi + type: string + ingress-class: + default: traefik + examples: + - traefik + type: string + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string + roles: + default: [] + items: + properties: + name: + default: alt-account + type: string + type: object + type: array + 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 + domain-name: + default: your_company.com + examples: + - your_company.com + type: string + replicas: + default: 1 + examples: + - 1 + type: integer extentions: default: pool: @@ -131,89 +214,6 @@ options: type: string type: object type: array - replicas: - default: 1 - examples: - - 1 - type: integer - ingress-class: - default: traefik - examples: - - traefik - 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 - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - 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 dependencies: - dist: null category: dbo