From 32e0587df542c353c66731e66cecbed1fc16d3c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Wed, 26 Jul 2023 17:02:34 +0200 Subject: [PATCH] fix --- apps/nextcloud/datas.tf | 2 +- apps/nextcloud/index.yaml | 116 +++++++++++++++++++------------------- 2 files changed, 59 insertions(+), 59 deletions(-) diff --git a/apps/nextcloud/datas.tf b/apps/nextcloud/datas.tf index 926d965..26adae3 100644 --- a/apps/nextcloud/datas.tf +++ b/apps/nextcloud/datas.tf @@ -61,7 +61,7 @@ data "kustomization_overlay" "data" { image: "${var.images.nextcloud.registry}/${var.images.nextcloud.repository}:${var.images.nextcloud.tag}" imagePullPolicy: "${var.images.nextcloud.pullPolicy}" command: ["/usr/local/bin/wrapper"] - args: ["%%CMD%%"] + args: ["php-fpm"] env: - name: POSTGRES_HOST value: "${var.instance}-${var.component}" diff --git a/apps/nextcloud/index.yaml b/apps/nextcloud/index.yaml index 3f783a6..190d829 100644 --- a/apps/nextcloud/index.yaml +++ b/apps/nextcloud/index.yaml @@ -6,26 +6,6 @@ metadata: name: nextcloud description: null options: - domain-name: - default: your_company.com - examples: - - your_company.com - type: string - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string - ingress-class: - default: traefik - examples: - - traefik - type: string - domain: - default: your-company - examples: - - your-company - type: string apps: default: calendar: false @@ -66,6 +46,26 @@ options: default: false type: boolean type: object + hpa: + default: + avg-cpu: 50 + max-replicas: 5 + min-replicas: 1 + examples: + - avg-cpu: 50 + max-replicas: 5 + min-replicas: 1 + properties: + avg-cpu: + default: 50 + type: integer + max-replicas: + default: 5 + type: integer + min-replicas: + default: 1 + type: integer + type: object images: default: exporter: @@ -169,10 +169,10 @@ options: type: string type: object type: object - openid-name: - default: vynil + domain-name: + default: your_company.com examples: - - vynil + - your_company.com type: string redis: default: @@ -226,6 +226,41 @@ options: default: 10Gi type: string type: object + sub-domain: + default: cloud + examples: + - cloud + type: string + domain: + default: your-company + examples: + - your-company + type: string + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string + openid-name: + default: vynil + examples: + - vynil + type: string + ingress-class: + default: traefik + examples: + - traefik + type: string + admin: + default: + name: nextcloud_admin + examples: + - name: nextcloud_admin + properties: + name: + default: nextcloud_admin + type: string + type: object postgres: default: replicas: 1 @@ -246,41 +281,6 @@ options: default: '14' type: string type: object - hpa: - default: - avg-cpu: 50 - max-replicas: 5 - min-replicas: 1 - examples: - - avg-cpu: 50 - max-replicas: 5 - min-replicas: 1 - properties: - avg-cpu: - default: 50 - type: integer - max-replicas: - default: 5 - type: integer - min-replicas: - default: 1 - type: integer - type: object - sub-domain: - default: cloud - examples: - - cloud - type: string - admin: - default: - name: nextcloud_admin - examples: - - name: nextcloud_admin - properties: - name: - default: nextcloud_admin - type: string - type: object dependencies: [] providers: kubernetes: true