Skip to content

Commit

Permalink
attempt to make init-glassfish happy, wants env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Sep 19, 2017
1 parent 3ab921c commit c0ba516
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions conf/openshift/openshift.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,28 @@
"protocol": "TCP"
}
],
"env": [
{
"name": "POSTGRES_HOST",
"value": "postgresHost"
},
{
"name": "POSTGRES_PORT",
"value": "5432"
},
{
"name": "POSTGRES_DB",
"value": "postgresDb"
},
{
"name": "POSTGRES_USER",
"value": "postgresUser"
},
{
"name": "POSTGRES_PASSWORD",
"value": "postgresPassword"
}
],
"imagePullPolicy": "IfNotPresent",
"securityContext": {
"capabilities": {},
Expand Down

0 comments on commit c0ba516

Please sign in to comment.