From f8102d476d18d520ed0be599d0b6fd3f1b603481 Mon Sep 17 00:00:00 2001 From: Bruno Date: Wed, 10 May 2017 20:11:49 +0200 Subject: [PATCH] [stable/wordpress] Use subPath mounts to comply with docker image (#1053) * Use subPath mounts to comply with docker image volumes * bump chart version --- stable/wordpress/Chart.yaml | 2 +- stable/wordpress/templates/deployment.yaml | 13 ++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/stable/wordpress/Chart.yaml b/stable/wordpress/Chart.yaml index dfaea17ff6..361350bdd8 100644 --- a/stable/wordpress/Chart.yaml +++ b/stable/wordpress/Chart.yaml @@ -1,5 +1,5 @@ name: wordpress -version: 0.6.0 +version: 0.6.1 description: Web publishing platform for building blogs and websites. icon: https://bitnami.com/assets/stacks/wordpress/img/wordpress-stack-220x234.png keywords: diff --git a/stable/wordpress/templates/deployment.yaml b/stable/wordpress/templates/deployment.yaml index 1f16a49332..22ff8b91e4 100644 --- a/stable/wordpress/templates/deployment.yaml +++ b/stable/wordpress/templates/deployment.yaml @@ -91,8 +91,15 @@ spec: initialDelaySeconds: 5 timeoutSeconds: 1 volumeMounts: - - name: wordpress-data - mountPath: /bitnami + - mountPath: /bitnami/apache + name: wordpress-data + subPath: apache + - mountPath: /bitnami/wordpress + name: wordpress-data + subPath: wordpress + - mountPath: /bitnami/php + name: wordpress-data + subPath: php resources: {{ toYaml .Values.resources | indent 10 }} volumes: @@ -102,4 +109,4 @@ spec: claimName: {{ template "fullname" . }} {{- else }} emptyDir: {} - {{ end }} \ No newline at end of file + {{ end }}