diff --git a/charts/nextcloud/1.6.44/.helmignore b/charts/nextcloud/1.6.45/.helmignore similarity index 100% rename from charts/nextcloud/1.6.44/.helmignore rename to charts/nextcloud/1.6.45/.helmignore diff --git a/charts/nextcloud/1.6.44/Chart.lock b/charts/nextcloud/1.6.45/Chart.lock similarity index 100% rename from charts/nextcloud/1.6.44/Chart.lock rename to charts/nextcloud/1.6.45/Chart.lock diff --git a/charts/nextcloud/1.6.44/Chart.yaml b/charts/nextcloud/1.6.45/Chart.yaml similarity index 98% rename from charts/nextcloud/1.6.44/Chart.yaml rename to charts/nextcloud/1.6.45/Chart.yaml index 4348c59433..1cf80aaaba 100644 --- a/charts/nextcloud/1.6.44/Chart.yaml +++ b/charts/nextcloud/1.6.45/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.44 +version: 1.6.45 apiVersion: v2 appVersion: 27.0.2 kubeVersion: '>=1.16.0-0' diff --git a/charts/nextcloud/1.6.44/README.md b/charts/nextcloud/1.6.45/README.md similarity index 100% rename from charts/nextcloud/1.6.44/README.md rename to charts/nextcloud/1.6.45/README.md diff --git a/charts/nextcloud/1.6.44/app-readme.md b/charts/nextcloud/1.6.45/app-readme.md similarity index 100% rename from charts/nextcloud/1.6.44/app-readme.md rename to charts/nextcloud/1.6.45/app-readme.md diff --git a/charts/nextcloud/1.6.44/charts/common-2304.0.1.tgz b/charts/nextcloud/1.6.45/charts/common-2304.0.1.tgz similarity index 100% rename from charts/nextcloud/1.6.44/charts/common-2304.0.1.tgz rename to charts/nextcloud/1.6.45/charts/common-2304.0.1.tgz diff --git a/charts/nextcloud/1.6.44/ci/test-values.yaml b/charts/nextcloud/1.6.45/ci/test-values.yaml similarity index 100% rename from charts/nextcloud/1.6.44/ci/test-values.yaml rename to charts/nextcloud/1.6.45/ci/test-values.yaml diff --git a/charts/nextcloud/1.6.44/ix_values.yaml b/charts/nextcloud/1.6.45/ix_values.yaml similarity index 100% rename from charts/nextcloud/1.6.44/ix_values.yaml rename to charts/nextcloud/1.6.45/ix_values.yaml diff --git a/charts/nextcloud/1.6.44/metadata.yaml b/charts/nextcloud/1.6.45/metadata.yaml similarity index 100% rename from charts/nextcloud/1.6.44/metadata.yaml rename to charts/nextcloud/1.6.45/metadata.yaml diff --git a/charts/nextcloud/1.6.44/migrations/migrate_from_1.1.0 b/charts/nextcloud/1.6.45/migrations/migrate_from_1.1.0 similarity index 100% rename from charts/nextcloud/1.6.44/migrations/migrate_from_1.1.0 rename to charts/nextcloud/1.6.45/migrations/migrate_from_1.1.0 diff --git a/charts/nextcloud/1.6.44/questions.yaml b/charts/nextcloud/1.6.45/questions.yaml similarity index 100% rename from charts/nextcloud/1.6.44/questions.yaml rename to charts/nextcloud/1.6.45/questions.yaml diff --git a/charts/nextcloud/1.6.44/templates/NOTES.txt b/charts/nextcloud/1.6.45/templates/NOTES.txt similarity index 100% rename from charts/nextcloud/1.6.44/templates/NOTES.txt rename to charts/nextcloud/1.6.45/templates/NOTES.txt diff --git a/charts/nextcloud/1.6.44/templates/_nginx.tpl b/charts/nextcloud/1.6.45/templates/_nginx.tpl similarity index 100% rename from charts/nextcloud/1.6.44/templates/_nginx.tpl rename to charts/nextcloud/1.6.45/templates/_nginx.tpl diff --git a/charts/nextcloud/1.6.44/templates/_postgres.tpl b/charts/nextcloud/1.6.45/templates/_postgres.tpl similarity index 100% rename from charts/nextcloud/1.6.44/templates/_postgres.tpl rename to charts/nextcloud/1.6.45/templates/_postgres.tpl diff --git a/charts/nextcloud/1.6.44/templates/backup-postgres-config.yaml b/charts/nextcloud/1.6.45/templates/backup-postgres-config.yaml similarity index 100% rename from charts/nextcloud/1.6.44/templates/backup-postgres-config.yaml rename to charts/nextcloud/1.6.45/templates/backup-postgres-config.yaml diff --git a/charts/nextcloud/1.6.44/templates/backup-postgres-hook.yaml b/charts/nextcloud/1.6.45/templates/backup-postgres-hook.yaml similarity index 100% rename from charts/nextcloud/1.6.44/templates/backup-postgres-hook.yaml rename to charts/nextcloud/1.6.45/templates/backup-postgres-hook.yaml diff --git a/charts/nextcloud/1.6.44/templates/cronjob.yaml b/charts/nextcloud/1.6.45/templates/cronjob.yaml similarity index 55% rename from charts/nextcloud/1.6.44/templates/cronjob.yaml rename to charts/nextcloud/1.6.45/templates/cronjob.yaml index 2d3b650700..f509518b7c 100644 --- a/charts/nextcloud/1.6.44/templates/cronjob.yaml +++ b/charts/nextcloud/1.6.45/templates/cronjob.yaml @@ -37,13 +37,42 @@ spec: {{- include "common.labels.selectorLabels" $cronjob_values | nindent 12 }} spec: restartPolicy: Never + securityContext: + runAsUser: 33 + runAsGroup: 0 + fsGroup: 33 containers: - name: {{ .Chart.Name }}-cronjob image: "{{.Values.image.repository }}:{{.Values.image.tag }}" imagePullPolicy: {{ .Values.image.pullPolicy }} - {{- if .Values.certificate }} - command: [ "curl" ,"-k" , "https://{{ $hostName }}:{{.Values.service.nodePort}}/cron.php"] - {{- else }} - command: [ "curl" , "http://{{ $hostName }}:{{.Values.service.nodePort}}/cron.php"] - {{- end }} + command: + - php + - -f + - /var/www/html/cron.php + volumeMounts: + - name: nextcloud-data + mountPath: /var/www/ + subPath: "root" + - name: nextcloud-data + mountPath: /var/www/html + subPath: "html" + - name: nextcloud-data + mountPath: {{ .Values.nextcloud.datadir }} + subPath: "data" + - name: nextcloud-data + mountPath: /var/www/html/config + subPath: "config" + - name: nextcloud-data + mountPath: /var/www/html/custom_apps + subPath: "custom_apps" + - name: nextcloud-data + mountPath: /var/www/tmp + subPath: "tmp" + - name: nextcloud-data + mountPath: /var/www/html/themes + subPath: "themes" + volumes: + {{ if .Values.appVolumeMounts }} + {{- include "common.storage.configureAppVolumes" .Values | nindent 12 }} + {{ end }} {{ end }} diff --git a/charts/nextcloud/1.6.44/templates/deployment.yaml b/charts/nextcloud/1.6.45/templates/deployment.yaml similarity index 100% rename from charts/nextcloud/1.6.44/templates/deployment.yaml rename to charts/nextcloud/1.6.45/templates/deployment.yaml diff --git a/charts/nextcloud/1.6.44/templates/nextcloud-configmap.yaml b/charts/nextcloud/1.6.45/templates/nextcloud-configmap.yaml similarity index 100% rename from charts/nextcloud/1.6.44/templates/nextcloud-configmap.yaml rename to charts/nextcloud/1.6.45/templates/nextcloud-configmap.yaml diff --git a/charts/nextcloud/1.6.44/templates/nginx-configmap.yaml b/charts/nextcloud/1.6.45/templates/nginx-configmap.yaml similarity index 100% rename from charts/nextcloud/1.6.44/templates/nginx-configmap.yaml rename to charts/nextcloud/1.6.45/templates/nginx-configmap.yaml diff --git a/charts/nextcloud/1.6.44/templates/nginx-secret.yaml b/charts/nextcloud/1.6.45/templates/nginx-secret.yaml similarity index 100% rename from charts/nextcloud/1.6.44/templates/nginx-secret.yaml rename to charts/nextcloud/1.6.45/templates/nginx-secret.yaml diff --git a/charts/nextcloud/1.6.44/templates/nuke-deployments-hook.yaml b/charts/nextcloud/1.6.45/templates/nuke-deployments-hook.yaml similarity index 100% rename from charts/nextcloud/1.6.44/templates/nuke-deployments-hook.yaml rename to charts/nextcloud/1.6.45/templates/nuke-deployments-hook.yaml diff --git a/charts/nextcloud/1.6.44/templates/postgres-deployment.yaml b/charts/nextcloud/1.6.45/templates/postgres-deployment.yaml similarity index 100% rename from charts/nextcloud/1.6.44/templates/postgres-deployment.yaml rename to charts/nextcloud/1.6.45/templates/postgres-deployment.yaml diff --git a/charts/nextcloud/1.6.44/templates/postgres-secret.yaml b/charts/nextcloud/1.6.45/templates/postgres-secret.yaml similarity index 100% rename from charts/nextcloud/1.6.44/templates/postgres-secret.yaml rename to charts/nextcloud/1.6.45/templates/postgres-secret.yaml diff --git a/charts/nextcloud/1.6.44/templates/postgres-service.yaml b/charts/nextcloud/1.6.45/templates/postgres-service.yaml similarity index 100% rename from charts/nextcloud/1.6.44/templates/postgres-service.yaml rename to charts/nextcloud/1.6.45/templates/postgres-service.yaml diff --git a/charts/nextcloud/1.6.44/templates/secrets.yaml b/charts/nextcloud/1.6.45/templates/secrets.yaml similarity index 100% rename from charts/nextcloud/1.6.44/templates/secrets.yaml rename to charts/nextcloud/1.6.45/templates/secrets.yaml diff --git a/charts/nextcloud/1.6.44/templates/service.yaml b/charts/nextcloud/1.6.45/templates/service.yaml similarity index 100% rename from charts/nextcloud/1.6.44/templates/service.yaml rename to charts/nextcloud/1.6.45/templates/service.yaml diff --git a/charts/nextcloud/1.6.44/templates/serviceaccount.yaml b/charts/nextcloud/1.6.45/templates/serviceaccount.yaml similarity index 100% rename from charts/nextcloud/1.6.44/templates/serviceaccount.yaml rename to charts/nextcloud/1.6.45/templates/serviceaccount.yaml