oc new-app openshift/postgresql-ephemeral -p DATABASE_SERVICE_NAME=postgresql -e POSTGRESQL_USER=postgres -e POSTGRESQL_PASSWORD=postgres --labels=app.kubernetes.io/part-of=foods,systemname=foods,tier=database,database=postgresql,foods=database
oc create configmap db-config --from-file=./configmap --dry-run=client -o yaml > db-configmap.yaml
oc create -f db-configmap.yaml
oc create -f .\mydeploy.yaml
Run curl
against the route, with the "/foods" path.