From e373df63cd725df28c22e24d2fd1f9f19c3da614 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 28 Jul 2021 23:58:05 +0200 Subject: [PATCH] [nextcloud] Need to run /entrypoint before to generate data --- apps/nextcloud/templates/deployment.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/apps/nextcloud/templates/deployment.yaml b/apps/nextcloud/templates/deployment.yaml index fc3069d..7f5dabb 100644 --- a/apps/nextcloud/templates/deployment.yaml +++ b/apps/nextcloud/templates/deployment.yaml @@ -71,12 +71,10 @@ spec: mountPath: "/etc/letsencrypt" - name: copy-php image: nextcloud:20-fpm - command: - - rsync - - -a - - -v - - /var/www/html/ - - /var/www/nextcloud + command: [ "/bin/sh" ] + args: + - -c + - "/entrypoint.sh; rsync -a -v /var/www/html/ /var/www/nextcloud" volumeMounts: - name: nextcloud-php mountPath: "/var/www/nextcloud"