Skip to content

Commit 5f5b39f

Browse files
committed
Aligned naming
1 parent a3467b8 commit 5f5b39f

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

openshift/nodejs-template.json

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"name": "nodejs-example",
66
"creationTimestamp": null,
77
"annotations": {
8-
"description": "Node.js example that responds with information about server.",
8+
"description": "A simple Node.js application that responds with information about the server.",
99
"iconClass": "icon-nodejs",
1010
"tags": "instant-app,nodejs"
1111
}
@@ -43,11 +43,11 @@
4343
"kind": "Route",
4444
"apiVersion": "v1beta3",
4545
"metadata": {
46-
"name": "nodejs-route",
46+
"name": "frontend-route",
4747
"creationTimestamp": null
4848
},
4949
"spec": {
50-
"host" : "${ROUTE}",
50+
"host" : "${FRONTEND_ROUTE}",
5151
"to": {
5252
"kind" : "Service",
5353
"name" : "nodejs-frontend"
@@ -212,19 +212,13 @@
212212
],
213213
"parameters": [
214214
{
215-
"name": "GITHUB_URL",
215+
"name": "SOURCE_REPOSITORY_URL",
216216
"description": "The URL with your Node.js application source code.",
217217
"value": "https://github.com/openshift/nodejs-ex.git"
218218
},
219219
{
220-
"name": "SECRET_KEY_BASE",
221-
"description": "Your secret key for verifying the integrity of signed cookies.",
222-
"generate": "expression",
223-
"from": "[a-z0-9]{127}"
224-
},
225-
{
226-
"name": "ROUTE",
227-
"description": "The exposed hostname that will route to the Node.js service",
220+
"name": "FRONTEND_ROUTE",
221+
"description": "The exposed hostname that will route to the Node.js service.",
228222
"value": "nodejs.apps"
229223
}
230224
],

0 commit comments

Comments
 (0)