lab2: correct errors

This commit is contained in:
Cedric Girard 2020-01-13 08:38:06 +01:00
parent c8e6812e49
commit cccd79c48f
2 changed files with 2 additions and 3 deletions

View file

@ -10,6 +10,6 @@ spec:
targetPort: 80
selector:
app: wordpress
type: ClusterIP
type: LoadBalancer
# vim: set ts=2 sw=2 et:

View file

@ -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