diff --git a/nextcloud/manifests/app.yml b/nextcloud/manifests/app.yml index 6428d83c6ebfbb0426f92d004cad1896d8eda2c3..851e52d00628f81e97f17679c1b83c296c4a6b04 100644 --- a/nextcloud/manifests/app.yml +++ b/nextcloud/manifests/app.yml @@ -130,17 +130,13 @@ spec: operator: In values: - app - initContainers: - - name: patch-multioffice - image: libresh/nextcloud:${NC_IMAGE_TAG} - command: - - /runtime/patches/apply.sh - envFrom: - - secretRef: - name: ${FQDN}-app containers: - - command: - - php-fpm + - command: ["/bin/sh"] + args: + - -c + - >- + /runtime/patches/apply.sh && + php-fpm env: #cat ./version.php | grep 'array(' | cut -d\( -f2 | cut -d\) -f1 | sed 's/,/\./g' - name: VERSION