From 9bd87de6aa823dbec1d5785bc24b1ca14aa7081b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Thu, 15 Feb 2024 15:04:09 +0100 Subject: [PATCH] fix --- apps/dolibarr/configmap.tf | 2 +- apps/dolibarr/index.yaml | 244 ++++++++++++++++++------------------- 2 files changed, 123 insertions(+), 123 deletions(-) diff --git a/apps/dolibarr/configmap.tf b/apps/dolibarr/configmap.tf index e5867ed..730624e 100644 --- a/apps/dolibarr/configmap.tf +++ b/apps/dolibarr/configmap.tf @@ -5,7 +5,7 @@ data "kubernetes_ingress_v1" "authentik" { } } locals { - authentik-metadata-url="${data.kubernetes_ingress_v1.authentik.spec[0].rule[0].host}/api/v3/providers/saml/${authentik_provider_saml.dolibarr.id}/metadata/?download" + authentik-metadata-url="https://${data.kubernetes_ingress_v1.authentik.spec[0].rule[0].host}/api/v3/providers/saml/${authentik_provider_saml.dolibarr.id}/metadata/?download" module-list = [ "user", "ldap", diff --git a/apps/dolibarr/index.yaml b/apps/dolibarr/index.yaml index 0f07e3f..a88cc72 100644 --- a/apps/dolibarr/index.yaml +++ b/apps/dolibarr/index.yaml @@ -6,16 +6,6 @@ metadata: name: dolibarr description: null options: - domain_name: - default: your_company.com - examples: - - your_company.com - type: string - domain: - default: your-company - examples: - - your-company - type: string sub_domain: default: erp examples: @@ -26,6 +16,97 @@ options: examples: - 5 type: integer + domain: + default: your-company + examples: + - your-company + type: string + redis: + default: + exporter: + enabled: true + examples: + - exporter: + enabled: true + properties: + exporter: + default: + enabled: true + properties: + enabled: + default: true + type: boolean + type: object + type: object + resources: + default: + limits: + cpu: 200m + memory: 256Mi + requests: + cpu: 50m + memory: 100Mi + examples: + - limits: + cpu: 200m + memory: 256Mi + requests: + cpu: 50m + memory: 100Mi + properties: + limits: + default: + cpu: 200m + memory: 256Mi + properties: + cpu: + default: 200m + type: string + memory: + default: 256Mi + type: string + type: object + requests: + default: + cpu: 50m + memory: 100Mi + properties: + cpu: + default: 50m + type: string + memory: + default: 100Mi + type: string + type: object + type: object + parameters: + default: + MAIN_LANG_DEFAULT: auto + examples: + - MAIN_LANG_DEFAULT: auto + properties: + MAIN_LANG_DEFAULT: + default: auto + type: string + type: object + domain_name: + default: your_company.com + examples: + - your_company.com + type: string + modules: + default: + - societe + examples: + - - societe + items: + type: string + type: array + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string storage: default: postgres: @@ -93,48 +174,21 @@ options: type: string type: object type: object - parameters: + user-groups: default: - MAIN_LANG_DEFAULT: auto + - admin: true + name: dolibarr-admin examples: - - MAIN_LANG_DEFAULT: auto - properties: - MAIN_LANG_DEFAULT: - default: auto - type: string - type: object - app_group: - default: '' - examples: - - '' - type: string - postgres: - default: - replicas: 1 - examples: - - replicas: 1 - properties: - replicas: - default: 1 - type: integer - type: object - redis: - default: - exporter: - enabled: true - examples: - - exporter: - enabled: true - properties: - exporter: - default: - enabled: true - properties: - enabled: - default: true - type: boolean - type: object - type: object + - - admin: true + name: dolibarr-admin + items: + properties: + admin: + type: boolean + name: + type: string + type: object + type: array hpa: default: avg-cpu: 50 @@ -155,6 +209,21 @@ options: default: 1 type: integer type: object + ingress_class: + default: traefik + examples: + - traefik + type: string + postgres: + default: + replicas: 1 + examples: + - replicas: 1 + properties: + replicas: + default: 1 + type: integer + type: object backups: default: enable: false @@ -261,75 +330,6 @@ options: default: false type: boolean type: object - modules: - default: - - societe - examples: - - - societe - items: - type: string - type: array - resources: - default: - limits: - cpu: 200m - memory: 256Mi - requests: - cpu: 50m - memory: 100Mi - examples: - - limits: - cpu: 200m - memory: 256Mi - requests: - cpu: 50m - memory: 100Mi - properties: - limits: - default: - cpu: 200m - memory: 256Mi - properties: - cpu: - default: 200m - type: string - memory: - default: 256Mi - type: string - type: object - requests: - default: - cpu: 50m - memory: 100Mi - properties: - cpu: - default: 50m - type: string - memory: - default: 100Mi - type: string - type: object - type: object - ingress_class: - default: traefik - examples: - - traefik - type: string - user-groups: - default: - - admin: true - name: dolibarr-admin - examples: - - - admin: true - name: dolibarr-admin - items: - properties: - admin: - type: boolean - name: - type: string - type: object - type: array images: default: dolibarr: @@ -479,10 +479,10 @@ options: type: string type: object type: object - issuer: - default: letsencrypt-prod + app_group: + default: '' examples: - - letsencrypt-prod + - '' type: string dependencies: - dist: null