Fixed secret 02-02 challenge
This commit is contained in:
Родитель
a9e5947545
Коммит
9209ddd66e
|
@ -81,7 +81,7 @@ In the previous step, you installed MongoDB using Helm, with a specified usernam
|
|||
{% collapsible %}
|
||||
|
||||
```sh
|
||||
kubectl create secret generic mongodbsecret --from-literal=mongoHost="orders-mongo-mongodb.default.svc.cluster.local" --from-literal=mongoUser="orders-user" --from-literal=mongoPassword="orders-password"
|
||||
kubectl create secret generic mongodb --from-literal=mongoHost="orders-mongo-mongodb.default.svc.cluster.local" --from-literal=mongoUser="orders-user" --from-literal=mongoPassword="orders-password"
|
||||
```
|
||||
|
||||
> **Hint** By default, the service load balancing the MongoDB cluster would be accessible at ``orders-mongo-mongodb.default.svc.cluster.local``
|
||||
|
|
Загрузка…
Ссылка в новой задаче