File tree Expand file tree Collapse file tree 3 files changed +14
-3
lines changed
docs/tutorials/stateful-application
examples/application/wordpress Expand file tree Collapse file tree 3 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ earlier versions of this tutorial.
50
50
51
51
{{< include "task-tutorial-prereqs.md" >}} {{< version-check >}}
52
52
53
- The example shown on this page works with ` kubectl ` 1.14 and above.
53
+ The example shown on this page works with ` kubectl ` 1.27 and above.
54
54
55
55
Download the following configuration files:
56
56
Original file line number Diff line number Diff line change @@ -45,14 +45,23 @@ spec:
45
45
tier : mysql
46
46
spec :
47
47
containers :
48
- - image : mysql:5.6
48
+ - image : mysql:8.0
49
49
name : mysql
50
50
env :
51
51
- name : MYSQL_ROOT_PASSWORD
52
52
valueFrom :
53
53
secretKeyRef :
54
54
name : mysql-pass
55
55
key : password
56
+ - name : MYSQL_DATABASE
57
+ value : wordpress
58
+ - name : MYSQL_USER
59
+ value : wordpress
60
+ - name : MYSQL_PASSWORD
61
+ valueFrom :
62
+ secretKeyRef :
63
+ name : mysql-pass
64
+ key : password
56
65
ports :
57
66
- containerPort : 3306
58
67
name : mysql
Original file line number Diff line number Diff line change 45
45
tier : frontend
46
46
spec :
47
47
containers :
48
- - image : wordpress:4.8 -apache
48
+ - image : wordpress:6.2.1 -apache
49
49
name : wordpress
50
50
env :
51
51
- name : WORDPRESS_DB_HOST
55
55
secretKeyRef :
56
56
name : mysql-pass
57
57
key : password
58
+ - name : WORDPRESS_DB_USER
59
+ value : wordpress
58
60
ports :
59
61
- containerPort : 80
60
62
name : wordpress
You can’t perform that action at this time.
0 commit comments