
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 535 Views
https://rol.redhat.com/rol/app/courses/do288-4.14/pages/ch02s07
The solution for creating application pod experiencing developer password failure uses the variable DB_PASSWORD=test in the solution. From where did this variable name come ?
I tried doing describe on the postgresql pod and it shows variable name POSTGRESQL_PASSWORD and could not find mention of DB_PASSWORD variable.
Also in solution video for the lab exercise is from web console and there is no error shown in solution for developer user password failure for pod. However when I use the DB_PASSWORD solution it did work and the lab grading passed.
TIA.
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 492 Views
I got the answer to my question from where the DB_PASSWORD variable came from. It is from the db.js application code

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 449 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 493 Views
I got the answer to my question from where the DB_PASSWORD variable came from. It is from the db.js application code

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 450 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 207 Views
I encountered the same issue. How can I find the variable named DB_PASSWORD? The error from 'oc logs' doesn't provide the name of this variable.
Also, where can I find the source code for this answer?