From e29415f205ca996919b1b8806cb69761f17d77f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Sun, 8 Oct 2023 16:02:38 +0200 Subject: [PATCH] fix --- meta/domain-devspaces/index.yaml | 298 +++++++++++++++--------------- meta/domain-devspaces/stations.tf | 2 +- 2 files changed, 150 insertions(+), 150 deletions(-) diff --git a/meta/domain-devspaces/index.yaml b/meta/domain-devspaces/index.yaml index d9afec2..6780611 100644 --- a/meta/domain-devspaces/index.yaml +++ b/meta/domain-devspaces/index.yaml @@ -6,21 +6,11 @@ metadata: name: domain-devspaces description: null options: - distributions: - default: - domain: domain - core: core + app-group: + default: dev examples: - - domain: domain - core: core - type: object - properties: - core: - type: string - default: core - domain: - type: string - default: domain + - dev + type: string images: default: codeserver: @@ -60,141 +50,6 @@ options: tag: 4.15 pullPolicy: IfNotPresent type: object - domain-name: - default: your_company.com - examples: - - your_company.com - type: string - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string - domain: - default: your-company - examples: - - your-company - type: string - app-group: - default: dev - examples: - - dev - type: string - stations-sub-domain: - default: code - examples: - - code - type: string - ingress-class: - default: traefik - examples: - - traefik - type: string - storage-classes: - default: - FilesystemReadWriteMany: '' - FilesystemReadWriteOnce: '' - BlockReadWriteMany: '' - BlockReadWriteOnce: '' - examples: - - FilesystemReadWriteMany: '' - FilesystemReadWriteOnce: '' - BlockReadWriteMany: '' - BlockReadWriteOnce: '' - type: object - properties: - BlockReadWriteMany: - type: string - default: '' - BlockReadWriteOnce: - type: string - default: '' - FilesystemReadWriteMany: - type: string - default: '' - FilesystemReadWriteOnce: - type: string - default: '' - organisations: - default: [] - items: - type: object - properties: - name: - type: string - default: '' - datasets: - default: [] - type: array - items: - type: object - properties: - name: - default: '' - type: string - engine: - default: pg - type: string - examples: - - [] - type: array - stations: - default: [] - items: - type: object - properties: - name: - type: string - default: '' - organisations: - default: [] - type: array - items: - type: string - examples: - - [] - type: array - apps: - default: - dbgate: - enable: false - superset: - enable: false - yaade: - enable: false - examples: - - dbgate: - enable: false - superset: - enable: false - yaade: - enable: false - type: object - properties: - dbgate: - type: object - properties: - enable: - type: boolean - default: false - default: - enable: false - superset: - type: object - properties: - enable: - type: boolean - default: false - default: - enable: false - yaade: - type: object - properties: - enable: - type: boolean - default: false - default: - enable: false external-databases: default: [] items: @@ -268,6 +123,151 @@ options: secret-name: type: string default: backup-settings + apps: + default: + dbgate: + enable: false + superset: + enable: false + yaade: + enable: false + examples: + - dbgate: + enable: false + superset: + enable: false + yaade: + enable: false + type: object + properties: + dbgate: + type: object + properties: + enable: + type: boolean + default: false + default: + enable: false + superset: + type: object + properties: + enable: + type: boolean + default: false + default: + enable: false + yaade: + type: object + properties: + enable: + type: boolean + default: false + default: + enable: false + stations-sub-domain: + default: code + examples: + - code + type: string + stations: + default: [] + items: + type: object + properties: + name: + type: string + default: '' + organisations: + default: [] + type: array + items: + type: string + examples: + - [] + type: array + storage-classes: + default: + FilesystemReadWriteMany: '' + FilesystemReadWriteOnce: '' + BlockReadWriteMany: '' + BlockReadWriteOnce: '' + examples: + - FilesystemReadWriteMany: '' + FilesystemReadWriteOnce: '' + BlockReadWriteMany: '' + BlockReadWriteOnce: '' + type: object + properties: + BlockReadWriteMany: + type: string + default: '' + BlockReadWriteOnce: + type: string + default: '' + FilesystemReadWriteMany: + type: string + default: '' + FilesystemReadWriteOnce: + type: string + default: '' + domain-name: + default: your_company.com + examples: + - your_company.com + type: string + domain: + default: your-company + examples: + - your-company + type: string + ingress-class: + default: traefik + examples: + - traefik + type: string + organisations: + default: [] + items: + type: object + properties: + name: + type: string + default: '' + datasets: + default: [] + type: array + items: + type: object + properties: + name: + default: '' + type: string + engine: + default: pg + type: string + examples: + - [] + type: array + distributions: + default: + domain: domain + core: core + examples: + - domain: domain + core: core + type: object + properties: + core: + type: string + default: core + domain: + type: string + default: domain + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string dependencies: [] providers: kubernetes: true diff --git a/meta/domain-devspaces/stations.tf b/meta/domain-devspaces/stations.tf index 1bc4bff..b6c9c8d 100644 --- a/meta/domain-devspaces/stations.tf +++ b/meta/domain-devspaces/stations.tf @@ -21,7 +21,7 @@ locals { "organisation" = organisation "usage" = "station" "station" = station - }) if ds.name = dsname + }) if ds.name == dsname ] ]) if org.name == name ]