diff --git a/share/dataset-pg/directus.tf b/share/dataset-pg/directus.tf index 6db1645..2e7c84c 100644 --- a/share/dataset-pg/directus.tf +++ b/share/dataset-pg/directus.tf @@ -224,7 +224,7 @@ module "directus-application" { app-group = var.app-group dns-name = local.directus-dns-name icon = local.directus-icon - protocol_provider = module.directus-oauth2.provider-id + protocol_provider = module.directus-oauth2[0].provider-id providers = { authentik = authentik } diff --git a/share/dataset-pg/index.yaml b/share/dataset-pg/index.yaml index 61005aa..827cbe7 100644 --- a/share/dataset-pg/index.yaml +++ b/share/dataset-pg/index.yaml @@ -6,54 +6,6 @@ metadata: name: dataset-pg description: null options: - storage: - default: 8Gi - examples: - - 8Gi - type: string - domain: - default: your-company - examples: - - your-company - type: string - domain-name: - default: your_company.com - examples: - - your_company.com - type: string - databases: - default: [] - items: - properties: - name: - default: db - type: string - type: object - type: array - roles: - default: [] - items: - properties: - name: - default: alt-account - type: string - type: object - type: array - replicas: - default: 1 - examples: - - 1 - type: integer - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string - sub-domain: - default: dataset-pg - examples: - - dataset-pg - type: string extentions: default: directus: @@ -235,11 +187,6 @@ options: type: object type: object type: object - app-group: - default: api - examples: - - api - type: string backups: default: enable: false @@ -294,11 +241,64 @@ options: default: backup-settings type: string type: object + roles: + default: [] + items: + properties: + name: + default: alt-account + type: string + type: object + type: array + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string + storage: + default: 8Gi + examples: + - 8Gi + type: string + sub-domain: + default: dataset-pg + examples: + - dataset-pg + type: string ingress-class: default: traefik examples: - traefik type: string + app-group: + default: api + examples: + - api + type: string + databases: + default: [] + items: + properties: + name: + default: db + type: string + type: object + type: array + domain: + default: your-company + examples: + - your-company + type: string + replicas: + default: 1 + examples: + - 1 + type: integer + domain-name: + default: your_company.com + examples: + - your_company.com + type: string dependencies: - dist: null category: dbo