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
|
||||
selector:
|
||||
app: wordpress
|
||||
type: ClusterIP
|
||||
type: LoadBalancer
|
||||
|
||||
# vim: set ts=2 sw=2 et:
|
||||
|
|
|
@ -20,11 +20,10 @@ spec:
|
|||
- containerPort: 3306
|
||||
env:
|
||||
- name: MYSQL_ROOT_PASSWORD
|
||||
value: securepassword
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: mysql-creds
|
||||
key: mysql_password
|
||||
key: mysql_password
|
||||
- name: MYSQL_DATABASE
|
||||
value: wordpress
|
||||
|
||||
|
|
Loading…
Reference in a new issue