Signed-off-by: Ziqi Zhao <zhaoziqi@qiniu.com> (#5366)
Fix the not-working test case yaml for /doc/concepts/storage/volumes.md
This commit is contained in:
@@ -834,12 +834,15 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: mysql
|
- name: mysql
|
||||||
image: mysql
|
image: mysql
|
||||||
|
env:
|
||||||
|
- name: MYSQL_ROOT_PASSWORD
|
||||||
|
value: "rootpasswd"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /var/lib/mysql
|
- mountPath: /var/lib/mysql
|
||||||
name: site-data
|
name: site-data
|
||||||
subPath: mysql
|
subPath: mysql
|
||||||
- name: php
|
- name: php
|
||||||
image: php
|
image: php:7.0-apache
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /var/www/html
|
- mountPath: /var/www/html
|
||||||
name: site-data
|
name: site-data
|
||||||
|
|||||||
Reference in New Issue
Block a user