From 44fe2e66c3cdbdb11a07ed9676d185a3d0a09308 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Wed, 26 Jul 2023 14:03:03 +0200 Subject: [PATCH] fix --- apps/nextcloud/datas.tf | 1 + apps/nextcloud/index.yaml | 228 +++++++++++++++++++------------------- 2 files changed, 115 insertions(+), 114 deletions(-) diff --git a/apps/nextcloud/datas.tf b/apps/nextcloud/datas.tf index c088b6e..7402095 100644 --- a/apps/nextcloud/datas.tf +++ b/apps/nextcloud/datas.tf @@ -54,6 +54,7 @@ data "kustomization_overlay" "data" { - name: config configMap: name: "${var.component}-${var.instance}-init" + defaultMode: 504 containers: - name: nextcloud image: "${var.images.nextcloud.registry}/${var.images.nextcloud.repository}:${var.images.nextcloud.tag}" diff --git a/apps/nextcloud/index.yaml b/apps/nextcloud/index.yaml index 2d5683b..13828a9 100644 --- a/apps/nextcloud/index.yaml +++ b/apps/nextcloud/index.yaml @@ -6,6 +6,106 @@ metadata: name: nextcloud description: null options: + domain-name: + default: your_company.com + examples: + - your_company.com + type: string + ingress-class: + default: traefik + examples: + - traefik + type: string + domain: + default: your-company + examples: + - your-company + type: string + 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 + apps: + default: + calendar: false + contacts: false + deck: false + groupfolders: true + notes: false + spreed: false + tasks: false + examples: + - calendar: false + contacts: false + deck: false + groupfolders: true + notes: false + spreed: false + tasks: false + properties: + calendar: + default: false + type: boolean + contacts: + default: false + type: boolean + deck: + default: false + type: boolean + groupfolders: + default: true + type: boolean + notes: + default: false + type: boolean + spreed: + default: false + type: boolean + tasks: + default: false + type: boolean + type: object + openid-name: + default: vynil + examples: + - vynil + type: string + postgres: + default: + replicas: 1 + storage: 5Gi + version: '14' + examples: + - replicas: 1 + storage: 5Gi + version: '14' + properties: + replicas: + default: 1 + type: integer + storage: + default: 5Gi + type: string + version: + default: '14' + type: string + type: object storage: default: accessMode: ReadWriteOnce @@ -58,16 +158,11 @@ options: default: 2Gi type: string type: object - admin: - default: - name: nextcloud_admin + sub-domain: + default: cloud examples: - - name: nextcloud_admin - properties: - name: - default: nextcloud_admin - type: string - type: object + - cloud + type: string images: default: exporter: @@ -171,116 +266,21 @@ options: type: string type: object type: object + admin: + default: + name: nextcloud_admin + examples: + - name: nextcloud_admin + properties: + name: + default: nextcloud_admin + type: string + type: object issuer: default: letsencrypt-prod examples: - letsencrypt-prod type: string - sub-domain: - default: cloud - examples: - - cloud - type: string - openid-name: - default: vynil - examples: - - vynil - type: string - domain: - default: your-company - examples: - - your-company - type: string - domain-name: - default: your_company.com - examples: - - your_company.com - type: string - ingress-class: - default: traefik - examples: - - traefik - type: string - apps: - default: - calendar: false - contacts: false - deck: false - groupfolders: true - notes: false - spreed: false - tasks: false - examples: - - calendar: false - contacts: false - deck: false - groupfolders: true - notes: false - spreed: false - tasks: false - properties: - calendar: - default: false - type: boolean - contacts: - default: false - type: boolean - deck: - default: false - type: boolean - groupfolders: - default: true - type: boolean - notes: - default: false - type: boolean - spreed: - default: false - type: boolean - tasks: - default: false - type: boolean - type: object - postgres: - default: - replicas: 1 - storage: 5Gi - version: '14' - examples: - - replicas: 1 - storage: 5Gi - version: '14' - properties: - replicas: - default: 1 - type: integer - storage: - default: 5Gi - type: string - version: - 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 dependencies: [] providers: kubernetes: true