From 77129ecd70cbe9c7c1c074fdbff901eda4933e31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Bono?= Date: Mon, 13 May 2024 15:52:33 +0200 Subject: [PATCH] [bitnami/dokuwiki] Fix php session mgmt (#25697) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andrés Bono --- bitnami/dokuwiki/Chart.yaml | 2 +- bitnami/dokuwiki/templates/deployment.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bitnami/dokuwiki/Chart.yaml b/bitnami/dokuwiki/Chart.yaml index bf79be1522..88202a6dcc 100644 --- a/bitnami/dokuwiki/Chart.yaml +++ b/bitnami/dokuwiki/Chart.yaml @@ -35,4 +35,4 @@ maintainers: name: dokuwiki sources: - https://github.com/bitnami/charts/tree/main/bitnami/dokuwiki -version: 16.0.4 +version: 16.0.5 diff --git a/bitnami/dokuwiki/templates/deployment.yaml b/bitnami/dokuwiki/templates/deployment.yaml index d0b7c1f455..44d649870e 100644 --- a/bitnami/dokuwiki/templates/deployment.yaml +++ b/bitnami/dokuwiki/templates/deployment.yaml @@ -99,6 +99,10 @@ spec: if ! is_dir_empty /opt/bitnami/apache/logs; then cp -r /opt/bitnami/apache/logs /emptydir/apache-logs-dir fi + info "Copying php var directory" + if ! is_dir_empty /opt/bitnami/php/var; then + cp -r /opt/bitnami/php/var /emptydir/php-var-dir + fi info "Copy operation completed" volumeMounts: - name: empty-dir