Skip to content

Commit

Permalink
Update configmaps-secrets.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sofusalbertsen authored Jan 17, 2024
1 parent 077f058 commit 6ea8e2c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions configmaps-secrets.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ data:
DB_NAME: quotes
```


:bulb: If you are unsure how to do this, look at the [configmap section](#configmaps) above.

<details>
Expand Down Expand Up @@ -225,6 +226,9 @@ data:

</details>


- apply the configmap with `kubectl apply -f postgres-config.yaml`

- In the `backend-deployment.yaml`, change the environment variables to use the configmap instead of the hardcoded values.

Change this:
Expand Down

0 comments on commit 6ea8e2c

Please sign in to comment.