Skip to content

Commit

Permalink
chore: This makes some minor updates to the node.js postgresql example
Browse files Browse the repository at this point in the history
* updates the branches to main
* Removes References to Node 10
* This also fixes nodeshift-starters/nodejs-rest-http-crud#228
  • Loading branch information
lholmquist committed Jul 12, 2021
1 parent 59216e5 commit 2b902a7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions official.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,17 +114,17 @@ data:
docs: https://github.com/sclorg/nodejs-ex/blob/master/README.md
- location: https://raw.githubusercontent.com/sclorg/nodejs-ex/master/openshift/templates/nodejs-mongodb.json
docs: https://github.com/sclorg/nodejs-ex/blob/master/README.md
- location: https://raw.githubusercontent.com/nodeshift-starters/nodejs-rest-http-crud/master/.openshift/postgresql-template.json
docs: https://github.com/nodeshift-starters/nodejs-rest-http-crud/blob/master/README.md
- location: https://raw.githubusercontent.com/nodeshift-starters/nodejs-rest-http-crud/main/.openshift/postgresql-template.json
docs: https://github.com/nodeshift-starters/nodejs-rest-http-crud/blob/main/README.md
tags:
- okd
- ocp
- arch_aarch64
- arch_ppc64le
- arch_s390x
- arch_x86_64
- location: https://raw.githubusercontent.com/nodeshift-starters/nodejs-rest-http-crud/master/.openshift/postgresql-template-persistent.json
docs: https://github.com/nodeshift-starters/nodejs-rest-http-crud/blob/master/README.md
- location: https://raw.githubusercontent.com/nodeshift-starters/nodejs-rest-http-crud/main/.openshift/postgresql-template-persistent.json
docs: https://github.com/nodeshift-starters/nodejs-rest-http-crud/blob/main/README.md
tags:
- okd
- ocp
Expand Down
4 changes: 2 additions & 2 deletions official/nodejs/templates/nodejs-postgresql-example.json
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,8 @@
{
"name": "NODEJS_VERSION",
"displayName": "Version of NodeJS Image",
"description": "Version of NodeJS image to be used (10-ubi8, 12-ubi8, or latest).",
"value": "12-ubi8",
"description": "Version of NodeJS image to be used (12-ubi8, 14-ubi8, or latest).",
"value": "14-ubi8",
"required": true
},
{
Expand Down
6 changes: 3 additions & 3 deletions official/nodejs/templates/nodejs-postgresql-persistent.json
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@
},
"volumeMounts": [
{
"mountPath": "/var/lib/postgresql/data",
"mountPath": "/var/lib/pgsql/data",
"name": "${DATABASE_SERVICE_NAME}-data"
}
]
Expand Down Expand Up @@ -439,8 +439,8 @@
{
"name": "NODEJS_VERSION",
"displayName": "Version of NodeJS Image",
"description": "Version of NodeJS image to be used (10-ubi8, 12-ubi8, or latest).",
"value": "12-ubi8",
"description": "Version of NodeJS image to be used (12-ubi8, 14-ubi8, or latest).",
"value": "14-ubi8",
"required": true
},
{
Expand Down

0 comments on commit 2b902a7

Please sign in to comment.