From 0447808b4a8c3a96c2c28de05055f0f6cb95dde8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Mon, 23 Oct 2023 13:59:39 +0200 Subject: [PATCH] fix --- share/dataset-pg/index.yaml | 60 +++++++++++++++++------------------ share/dataset-pg/postgrest.tf | 5 ++- 2 files changed, 32 insertions(+), 33 deletions(-) diff --git a/share/dataset-pg/index.yaml b/share/dataset-pg/index.yaml index 75d065b..3d8cf0d 100644 --- a/share/dataset-pg/index.yaml +++ b/share/dataset-pg/index.yaml @@ -112,30 +112,25 @@ options: type: object type: object type: object - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string - domain-name: - default: your_company.com - examples: - - your_company.com - type: string - replicas: - default: 1 - examples: - - 1 - type: integer storage: default: 8Gi examples: - 8Gi type: string - sub-domain: - default: dataset-pg + issuer: + default: letsencrypt-prod examples: - - dataset-pg + - letsencrypt-prod + type: string + ingress-class: + default: traefik + examples: + - traefik + type: string + domain-name: + default: your_company.com + examples: + - your_company.com type: string backups: default: @@ -191,15 +186,11 @@ options: default: backup-settings type: string type: object - roles: - default: [] - items: - properties: - name: - default: alt-account - type: string - type: object - type: array + replicas: + default: 1 + examples: + - 1 + type: integer databases: default: [] items: @@ -209,11 +200,20 @@ options: type: string type: object type: array - ingress-class: - default: traefik + sub-domain: + default: dataset-pg examples: - - traefik + - dataset-pg type: string + roles: + default: [] + items: + properties: + name: + default: alt-account + type: string + type: object + type: array dependencies: - dist: null category: dbo diff --git a/share/dataset-pg/postgrest.tf b/share/dataset-pg/postgrest.tf index fb1088f..58d6d08 100644 --- a/share/dataset-pg/postgrest.tf +++ b/share/dataset-pg/postgrest.tf @@ -38,7 +38,7 @@ resource "kubectl_manifest" "postgrest_config" { resource "kubectl_manifest" "postgrest_deploy" { count = var.extentions.postgrest.enable ? 1:0 - yaml_body = join("", concat([<<-EOF + yaml_body = join("", concat([<