[stable/wordpress] Use subPath mounts to comply with docker image (#1053)

* Use subPath mounts to comply with docker image volumes

* bump chart version
This commit is contained in:
Bruno
2017-05-10 11:11:49 -07:00
committed by Vic Iglesias
parent 5fbbdebd03
commit f8102d476d
2 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -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:
+10 -3
View File
@@ -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 }}
{{ end }}