diff --git a/Chapter_Three/Lecture_6_Lab/mysql-demo/mysql-deployment.yaml b/Chapter_Three/Lecture_6_Lab/mysql-demo/mysql-deployment.yaml index ffe4c40..3f6973c 100644 --- a/Chapter_Three/Lecture_6_Lab/mysql-demo/mysql-deployment.yaml +++ b/Chapter_Three/Lecture_6_Lab/mysql-demo/mysql-deployment.yaml @@ -18,6 +18,8 @@ spec: - image: mysql:5.6 name: mysql env: + - name: MYSQL_DATABASE + value: wordpress - name: MYSQL_ROOT_PASSWORD valueFrom: secretKeyRef: diff --git a/Chapter_Three/Lecture_6_Lab/mysql-demo/wordpress-deployment.yaml b/Chapter_Three/Lecture_6_Lab/mysql-demo/wordpress-deployment.yaml index 5a6c82c..19a0e36 100644 --- a/Chapter_Three/Lecture_6_Lab/mysql-demo/wordpress-deployment.yaml +++ b/Chapter_Three/Lecture_6_Lab/mysql-demo/wordpress-deployment.yaml @@ -20,6 +20,10 @@ spec: env: - name: WORDPRESS_DB_HOST value: mysql:3306 + - name: WORDPRESS_DB_NAME + value: wordpress + - name: WORDPRESS_DB_USER + value: root - name: WORDPRESS_DB_PASSWORD valueFrom: secretKeyRef: