From 241a5294185bd5eeb08648e26ca91969abbc3644 Mon Sep 17 00:00:00 2001 From: sonicaj Date: Mon, 7 Aug 2023 12:59:02 +0000 Subject: [PATCH] Publish new changes in catalog --- charts/nextcloud/{1.6.37 => 1.6.38}/.helmignore | 0 charts/nextcloud/{1.6.37 => 1.6.38}/Chart.lock | 0 charts/nextcloud/{1.6.37 => 1.6.38}/Chart.yaml | 2 +- charts/nextcloud/{1.6.37 => 1.6.38}/README.md | 0 charts/nextcloud/{1.6.37 => 1.6.38}/app-readme.md | 0 .../{1.6.37 => 1.6.38}/charts/common-2304.0.1.tgz | Bin .../{1.6.37 => 1.6.38}/ci/test-values.yaml | 1 + charts/nextcloud/{1.6.37 => 1.6.38}/ix_values.yaml | 0 charts/nextcloud/{1.6.37 => 1.6.38}/metadata.yaml | 0 .../migrations/migrate_from_1.1.0 | 0 charts/nextcloud/{1.6.37 => 1.6.38}/questions.yaml | 9 +++++++++ .../{1.6.37 => 1.6.38}/templates/NOTES.txt | 0 .../{1.6.37 => 1.6.38}/templates/_nginx.tpl | 0 .../{1.6.37 => 1.6.38}/templates/_postgres.tpl | 0 .../templates/backup-postgres-config.yaml | 0 .../templates/backup-postgres-hook.yaml | 0 .../{1.6.37 => 1.6.38}/templates/cronjob.yaml | 0 .../{1.6.37 => 1.6.38}/templates/deployment.yaml | 9 +++++++++ .../1.6.38/templates/nextcloud-configmap.yaml | 7 +++++++ .../templates/nginx-configmap.yaml | 0 .../{1.6.37 => 1.6.38}/templates/nginx-secret.yaml | 0 .../templates/nuke-deployments-hook.yaml | 0 .../templates/postgres-deployment.yaml | 0 .../templates/postgres-secret.yaml | 0 .../templates/postgres-service.yaml | 0 .../{1.6.37 => 1.6.38}/templates/secrets.yaml | 0 .../{1.6.37 => 1.6.38}/templates/service.yaml | 0 .../templates/serviceaccount.yaml | 0 28 files changed, 27 insertions(+), 1 deletion(-) rename charts/nextcloud/{1.6.37 => 1.6.38}/.helmignore (100%) rename charts/nextcloud/{1.6.37 => 1.6.38}/Chart.lock (100%) rename charts/nextcloud/{1.6.37 => 1.6.38}/Chart.yaml (98%) rename charts/nextcloud/{1.6.37 => 1.6.38}/README.md (100%) rename charts/nextcloud/{1.6.37 => 1.6.38}/app-readme.md (100%) rename charts/nextcloud/{1.6.37 => 1.6.38}/charts/common-2304.0.1.tgz (100%) rename charts/nextcloud/{1.6.37 => 1.6.38}/ci/test-values.yaml (96%) rename charts/nextcloud/{1.6.37 => 1.6.38}/ix_values.yaml (100%) rename charts/nextcloud/{1.6.37 => 1.6.38}/metadata.yaml (100%) rename charts/nextcloud/{1.6.37 => 1.6.38}/migrations/migrate_from_1.1.0 (100%) rename charts/nextcloud/{1.6.37 => 1.6.38}/questions.yaml (97%) rename charts/nextcloud/{1.6.37 => 1.6.38}/templates/NOTES.txt (100%) rename charts/nextcloud/{1.6.37 => 1.6.38}/templates/_nginx.tpl (100%) rename charts/nextcloud/{1.6.37 => 1.6.38}/templates/_postgres.tpl (100%) rename charts/nextcloud/{1.6.37 => 1.6.38}/templates/backup-postgres-config.yaml (100%) rename charts/nextcloud/{1.6.37 => 1.6.38}/templates/backup-postgres-hook.yaml (100%) rename charts/nextcloud/{1.6.37 => 1.6.38}/templates/cronjob.yaml (100%) rename charts/nextcloud/{1.6.37 => 1.6.38}/templates/deployment.yaml (95%) create mode 100644 charts/nextcloud/1.6.38/templates/nextcloud-configmap.yaml rename charts/nextcloud/{1.6.37 => 1.6.38}/templates/nginx-configmap.yaml (100%) rename charts/nextcloud/{1.6.37 => 1.6.38}/templates/nginx-secret.yaml (100%) rename charts/nextcloud/{1.6.37 => 1.6.38}/templates/nuke-deployments-hook.yaml (100%) rename charts/nextcloud/{1.6.37 => 1.6.38}/templates/postgres-deployment.yaml (100%) rename charts/nextcloud/{1.6.37 => 1.6.38}/templates/postgres-secret.yaml (100%) rename charts/nextcloud/{1.6.37 => 1.6.38}/templates/postgres-service.yaml (100%) rename charts/nextcloud/{1.6.37 => 1.6.38}/templates/secrets.yaml (100%) rename charts/nextcloud/{1.6.37 => 1.6.38}/templates/service.yaml (100%) rename charts/nextcloud/{1.6.37 => 1.6.38}/templates/serviceaccount.yaml (100%) diff --git a/charts/nextcloud/1.6.37/.helmignore b/charts/nextcloud/1.6.38/.helmignore similarity index 100% rename from charts/nextcloud/1.6.37/.helmignore rename to charts/nextcloud/1.6.38/.helmignore diff --git a/charts/nextcloud/1.6.37/Chart.lock b/charts/nextcloud/1.6.38/Chart.lock similarity index 100% rename from charts/nextcloud/1.6.37/Chart.lock rename to charts/nextcloud/1.6.38/Chart.lock diff --git a/charts/nextcloud/1.6.37/Chart.yaml b/charts/nextcloud/1.6.38/Chart.yaml similarity index 98% rename from charts/nextcloud/1.6.37/Chart.yaml rename to charts/nextcloud/1.6.38/Chart.yaml index c3292b7ddc..b735c9d441 100644 --- a/charts/nextcloud/1.6.37/Chart.yaml +++ b/charts/nextcloud/1.6.38/Chart.yaml @@ -4,7 +4,7 @@ description: A file sharing server that puts the control and security of your ow annotations: title: Nextcloud type: application -version: 1.6.37 +version: 1.6.38 apiVersion: v2 appVersion: 27.0.1 kubeVersion: '>=1.16.0-0' diff --git a/charts/nextcloud/1.6.37/README.md b/charts/nextcloud/1.6.38/README.md similarity index 100% rename from charts/nextcloud/1.6.37/README.md rename to charts/nextcloud/1.6.38/README.md diff --git a/charts/nextcloud/1.6.37/app-readme.md b/charts/nextcloud/1.6.38/app-readme.md similarity index 100% rename from charts/nextcloud/1.6.37/app-readme.md rename to charts/nextcloud/1.6.38/app-readme.md diff --git a/charts/nextcloud/1.6.37/charts/common-2304.0.1.tgz b/charts/nextcloud/1.6.38/charts/common-2304.0.1.tgz similarity index 100% rename from charts/nextcloud/1.6.37/charts/common-2304.0.1.tgz rename to charts/nextcloud/1.6.38/charts/common-2304.0.1.tgz diff --git a/charts/nextcloud/1.6.37/ci/test-values.yaml b/charts/nextcloud/1.6.38/ci/test-values.yaml similarity index 96% rename from charts/nextcloud/1.6.37/ci/test-values.yaml rename to charts/nextcloud/1.6.38/ci/test-values.yaml index 5f72e6884d..89921092fa 100644 --- a/charts/nextcloud/1.6.37/ci/test-values.yaml +++ b/charts/nextcloud/1.6.38/ci/test-values.yaml @@ -18,6 +18,7 @@ nextcloud: install_ffmpeg: true install_smbclient: true max_upload_size: 5 + opcache_memory_consumption: 128 password: changeme username: admin postgresAppVolumeMounts: diff --git a/charts/nextcloud/1.6.37/ix_values.yaml b/charts/nextcloud/1.6.38/ix_values.yaml similarity index 100% rename from charts/nextcloud/1.6.37/ix_values.yaml rename to charts/nextcloud/1.6.38/ix_values.yaml diff --git a/charts/nextcloud/1.6.37/metadata.yaml b/charts/nextcloud/1.6.38/metadata.yaml similarity index 100% rename from charts/nextcloud/1.6.37/metadata.yaml rename to charts/nextcloud/1.6.38/metadata.yaml diff --git a/charts/nextcloud/1.6.37/migrations/migrate_from_1.1.0 b/charts/nextcloud/1.6.38/migrations/migrate_from_1.1.0 similarity index 100% rename from charts/nextcloud/1.6.37/migrations/migrate_from_1.1.0 rename to charts/nextcloud/1.6.38/migrations/migrate_from_1.1.0 diff --git a/charts/nextcloud/1.6.37/questions.yaml b/charts/nextcloud/1.6.38/questions.yaml similarity index 97% rename from charts/nextcloud/1.6.37/questions.yaml rename to charts/nextcloud/1.6.38/questions.yaml index 7e34009277..7ce469b48b 100644 --- a/charts/nextcloud/1.6.37/questions.yaml +++ b/charts/nextcloud/1.6.38/questions.yaml @@ -148,6 +148,15 @@ questions: default: 3 min: 1 required: true + - variable: opcache_memory_consumption + label: "Opcache Memory Consumption (Mega Bytes)" + description: "Configures the memory consumption of the opcache" + schema: + type: int + min: 128 + max: 1024 + default: 128 + required: true - variable: cronjob description: "Setup cronjob for nextcloud" diff --git a/charts/nextcloud/1.6.37/templates/NOTES.txt b/charts/nextcloud/1.6.38/templates/NOTES.txt similarity index 100% rename from charts/nextcloud/1.6.37/templates/NOTES.txt rename to charts/nextcloud/1.6.38/templates/NOTES.txt diff --git a/charts/nextcloud/1.6.37/templates/_nginx.tpl b/charts/nextcloud/1.6.38/templates/_nginx.tpl similarity index 100% rename from charts/nextcloud/1.6.37/templates/_nginx.tpl rename to charts/nextcloud/1.6.38/templates/_nginx.tpl diff --git a/charts/nextcloud/1.6.37/templates/_postgres.tpl b/charts/nextcloud/1.6.38/templates/_postgres.tpl similarity index 100% rename from charts/nextcloud/1.6.37/templates/_postgres.tpl rename to charts/nextcloud/1.6.38/templates/_postgres.tpl diff --git a/charts/nextcloud/1.6.37/templates/backup-postgres-config.yaml b/charts/nextcloud/1.6.38/templates/backup-postgres-config.yaml similarity index 100% rename from charts/nextcloud/1.6.37/templates/backup-postgres-config.yaml rename to charts/nextcloud/1.6.38/templates/backup-postgres-config.yaml diff --git a/charts/nextcloud/1.6.37/templates/backup-postgres-hook.yaml b/charts/nextcloud/1.6.38/templates/backup-postgres-hook.yaml similarity index 100% rename from charts/nextcloud/1.6.37/templates/backup-postgres-hook.yaml rename to charts/nextcloud/1.6.38/templates/backup-postgres-hook.yaml diff --git a/charts/nextcloud/1.6.37/templates/cronjob.yaml b/charts/nextcloud/1.6.38/templates/cronjob.yaml similarity index 100% rename from charts/nextcloud/1.6.37/templates/cronjob.yaml rename to charts/nextcloud/1.6.38/templates/cronjob.yaml diff --git a/charts/nextcloud/1.6.37/templates/deployment.yaml b/charts/nextcloud/1.6.38/templates/deployment.yaml similarity index 95% rename from charts/nextcloud/1.6.37/templates/deployment.yaml rename to charts/nextcloud/1.6.38/templates/deployment.yaml index 1f73b03050..522d295abe 100644 --- a/charts/nextcloud/1.6.37/templates/deployment.yaml +++ b/charts/nextcloud/1.6.38/templates/deployment.yaml @@ -178,6 +178,11 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }} - name: nextcloud-data mountPath: /var/www/html/themes subPath: "themes" + - name: nextcloud-configuration + # We use -z-99 to ensure that this file is loaded + # after the default opcache file nextcloud provides. + mountPath: /usr/local/etc/php/conf.d/opcache-z-99.ini + subPath: opcache.ini {{ range $index, $hostPathConfiguration := .Values.extraAppVolumeMounts }} - name: extrappvolume-{{ $index }} mountPath: {{ $hostPathConfiguration.mountPath }} @@ -198,6 +203,10 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }} {{ end }} {{ include "common.networking.dnsConfiguration" .Values | nindent 6 }} volumes: + - name: nextcloud-configuration + configMap: + defaultMode: 0755 + name: "nextcloud-configuration" - name: nginx-configuration configMap: defaultMode: 0700 diff --git a/charts/nextcloud/1.6.38/templates/nextcloud-configmap.yaml b/charts/nextcloud/1.6.38/templates/nextcloud-configmap.yaml new file mode 100644 index 0000000000..414e8986c5 --- /dev/null +++ b/charts/nextcloud/1.6.38/templates/nextcloud-configmap.yaml @@ -0,0 +1,7 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: "nextcloud-configuration" +data: + opcache.ini: | + opcache.memory_consumption={{ .Values.nextcloud.opcache_memory_consumption }} diff --git a/charts/nextcloud/1.6.37/templates/nginx-configmap.yaml b/charts/nextcloud/1.6.38/templates/nginx-configmap.yaml similarity index 100% rename from charts/nextcloud/1.6.37/templates/nginx-configmap.yaml rename to charts/nextcloud/1.6.38/templates/nginx-configmap.yaml diff --git a/charts/nextcloud/1.6.37/templates/nginx-secret.yaml b/charts/nextcloud/1.6.38/templates/nginx-secret.yaml similarity index 100% rename from charts/nextcloud/1.6.37/templates/nginx-secret.yaml rename to charts/nextcloud/1.6.38/templates/nginx-secret.yaml diff --git a/charts/nextcloud/1.6.37/templates/nuke-deployments-hook.yaml b/charts/nextcloud/1.6.38/templates/nuke-deployments-hook.yaml similarity index 100% rename from charts/nextcloud/1.6.37/templates/nuke-deployments-hook.yaml rename to charts/nextcloud/1.6.38/templates/nuke-deployments-hook.yaml diff --git a/charts/nextcloud/1.6.37/templates/postgres-deployment.yaml b/charts/nextcloud/1.6.38/templates/postgres-deployment.yaml similarity index 100% rename from charts/nextcloud/1.6.37/templates/postgres-deployment.yaml rename to charts/nextcloud/1.6.38/templates/postgres-deployment.yaml diff --git a/charts/nextcloud/1.6.37/templates/postgres-secret.yaml b/charts/nextcloud/1.6.38/templates/postgres-secret.yaml similarity index 100% rename from charts/nextcloud/1.6.37/templates/postgres-secret.yaml rename to charts/nextcloud/1.6.38/templates/postgres-secret.yaml diff --git a/charts/nextcloud/1.6.37/templates/postgres-service.yaml b/charts/nextcloud/1.6.38/templates/postgres-service.yaml similarity index 100% rename from charts/nextcloud/1.6.37/templates/postgres-service.yaml rename to charts/nextcloud/1.6.38/templates/postgres-service.yaml diff --git a/charts/nextcloud/1.6.37/templates/secrets.yaml b/charts/nextcloud/1.6.38/templates/secrets.yaml similarity index 100% rename from charts/nextcloud/1.6.37/templates/secrets.yaml rename to charts/nextcloud/1.6.38/templates/secrets.yaml diff --git a/charts/nextcloud/1.6.37/templates/service.yaml b/charts/nextcloud/1.6.38/templates/service.yaml similarity index 100% rename from charts/nextcloud/1.6.37/templates/service.yaml rename to charts/nextcloud/1.6.38/templates/service.yaml diff --git a/charts/nextcloud/1.6.37/templates/serviceaccount.yaml b/charts/nextcloud/1.6.38/templates/serviceaccount.yaml similarity index 100% rename from charts/nextcloud/1.6.37/templates/serviceaccount.yaml rename to charts/nextcloud/1.6.38/templates/serviceaccount.yaml