lab2: correct errors
This commit is contained in:
parent
c8e6812e49
commit
cccd79c48f
2 changed files with 2 additions and 3 deletions
|
@ -10,6 +10,6 @@ spec:
|
||||||
targetPort: 80
|
targetPort: 80
|
||||||
selector:
|
selector:
|
||||||
app: wordpress
|
app: wordpress
|
||||||
type: ClusterIP
|
type: LoadBalancer
|
||||||
|
|
||||||
# vim: set ts=2 sw=2 et:
|
# vim: set ts=2 sw=2 et:
|
||||||
|
|
|
@ -20,11 +20,10 @@ spec:
|
||||||
- containerPort: 3306
|
- containerPort: 3306
|
||||||
env:
|
env:
|
||||||
- name: MYSQL_ROOT_PASSWORD
|
- name: MYSQL_ROOT_PASSWORD
|
||||||
value: securepassword
|
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: mysql-creds
|
name: mysql-creds
|
||||||
key: mysql_password
|
key: mysql_password
|
||||||
- name: MYSQL_DATABASE
|
- name: MYSQL_DATABASE
|
||||||
value: wordpress
|
value: wordpress
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue