From 23583c5e129c809245898a389f5fcfe7f060a77c Mon Sep 17 00:00:00 2001 From: Hypo Date: Tue, 25 Jun 2019 22:10:35 +0800 Subject: [PATCH] add describe about WordPress deploy yml (#15003) * add desc about wp deploy.yml * make corrections * Update mysql-wordpress-persistent-volume.md --- .../mysql-wordpress-persistent-volume.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/content/en/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume.md b/content/en/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume.md index f471de069d..fff92784ea 100644 --- a/content/en/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume.md +++ b/content/en/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume.md @@ -93,6 +93,13 @@ The following manifest describes a single-instance MySQL Deployment. The MySQL c {{< codenew file="application/wordpress/mysql-deployment.yaml" >}} +The following manifest describes a single-instance WordPress Deployment. The WordPress container mounts the +PersistentVolume at `/var/www/html` for website data files. The `WORDPRESS_DB_HOST` environment variable sets +the name of the MySQL Service defined above, and WordPress will access the database by Service. The +`WORDPRESS_DB_PASSWORD` environment variable sets the database password from the Secret kustomize generated. + +{{< codenew file="application/wordpress/wordpress-deployment.yaml" >}} + 1. Download the MySQL deployment configuration file. ```shell