The overall structure of sample web application should be like this:
For postgresql database credentials, it is important to create secrets with kubernetes:
kubectl create secret generic db-user --from-literal=user=<your-username>
kubectl create secret generic db-password --from-literal=password=<your-password>