diff --git a/apps/nextcloud/datas.tf b/apps/nextcloud/datas.tf index fe847d9..efb12ed 100644 --- a/apps/nextcloud/datas.tf +++ b/apps/nextcloud/datas.tf @@ -33,16 +33,10 @@ data "kustomization_overlay" "data" { spec: template: spec: - securityContext: - runAsGroup: 33 - runAsUser: 33 - fsGroup: 33 containers: - name: nextcloud image: "${var.images.nextcloud.registry}/${var.images.nextcloud.repository}:${var.images.nextcloud.tag}" imagePullPolicy: "${var.images.nextcloud.pullPolicy}" - securityContext: - runAsNonRoot: true env: - name: POSTGRES_HOST value: "${var.instance}-${var.component}" diff --git a/apps/nextcloud/index.yaml b/apps/nextcloud/index.yaml index 05a968f..33e42aa 100644 --- a/apps/nextcloud/index.yaml +++ b/apps/nextcloud/index.yaml @@ -6,39 +6,6 @@ metadata: name: nextcloud description: null options: - redis: - default: - exporter: - enabled: true - image: quay.io/opstree/redis-exporter:v1.44.0 - image: quay.io/opstree/redis:v7.0.5 - storage: 2Gi - examples: - - exporter: - enabled: true - image: quay.io/opstree/redis-exporter:v1.44.0 - image: quay.io/opstree/redis:v7.0.5 - storage: 2Gi - properties: - exporter: - default: - enabled: true - image: quay.io/opstree/redis-exporter:v1.44.0 - properties: - enabled: - default: true - type: boolean - image: - default: quay.io/opstree/redis-exporter:v1.44.0 - type: string - type: object - image: - default: quay.io/opstree/redis:v7.0.5 - type: string - storage: - default: 2Gi - type: string - type: object images: default: exporter: @@ -142,66 +109,39 @@ options: type: string type: object type: object - postgres: + redis: default: - replicas: 1 - storage: 5Gi - version: '14' + exporter: + enabled: true + image: quay.io/opstree/redis-exporter:v1.44.0 + image: quay.io/opstree/redis:v7.0.5 + storage: 2Gi examples: - - replicas: 1 - storage: 5Gi - version: '14' + - exporter: + enabled: true + image: quay.io/opstree/redis-exporter:v1.44.0 + image: quay.io/opstree/redis:v7.0.5 + storage: 2Gi properties: - replicas: - default: 1 - type: integer + exporter: + default: + enabled: true + image: quay.io/opstree/redis-exporter:v1.44.0 + properties: + enabled: + default: true + type: boolean + image: + default: quay.io/opstree/redis-exporter:v1.44.0 + type: string + type: object + image: + default: quay.io/opstree/redis:v7.0.5 + type: string storage: - default: 5Gi - type: string - version: - default: '14' + default: 2Gi type: string type: object - sub-domain: - default: cloud - examples: - - cloud - type: string - domain-name: - default: your_company.com - examples: - - your_company.com - 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 - domain: - default: your-company - examples: - - your-company - type: string - ingress-class: - default: traefik - examples: - - traefik - type: string admin: default: name: nextcloud_admin @@ -212,6 +152,16 @@ options: default: nextcloud_admin type: string type: object + domain-name: + default: your_company.com + examples: + - your_company.com + type: string + sub-domain: + default: cloud + examples: + - cloud + type: string issuer: default: letsencrypt-prod examples: @@ -236,6 +186,56 @@ options: default: 10Gi type: string type: object + ingress-class: + default: traefik + examples: + - traefik + type: string + domain: + default: your-company + examples: + - your-company + 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 + 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