Aligned naming

This commit is contained in:
sspeiche 2015-06-08 17:20:45 -04:00
parent a3467b881b
commit 5f5b39faf6

View file

@ -5,7 +5,7 @@
"name": "nodejs-example", "name": "nodejs-example",
"creationTimestamp": null, "creationTimestamp": null,
"annotations": { "annotations": {
"description": "Node.js example that responds with information about server.", "description": "A simple Node.js application that responds with information about the server.",
"iconClass": "icon-nodejs", "iconClass": "icon-nodejs",
"tags": "instant-app,nodejs" "tags": "instant-app,nodejs"
} }
@ -43,11 +43,11 @@
"kind": "Route", "kind": "Route",
"apiVersion": "v1beta3", "apiVersion": "v1beta3",
"metadata": { "metadata": {
"name": "nodejs-route", "name": "frontend-route",
"creationTimestamp": null "creationTimestamp": null
}, },
"spec": { "spec": {
"host" : "${ROUTE}", "host" : "${FRONTEND_ROUTE}",
"to": { "to": {
"kind" : "Service", "kind" : "Service",
"name" : "nodejs-frontend" "name" : "nodejs-frontend"
@ -212,19 +212,13 @@
], ],
"parameters": [ "parameters": [
{ {
"name": "GITHUB_URL", "name": "SOURCE_REPOSITORY_URL",
"description": "The URL with your Node.js application source code.", "description": "The URL with your Node.js application source code.",
"value": "https://github.com/openshift/nodejs-ex.git" "value": "https://github.com/openshift/nodejs-ex.git"
}, },
{ {
"name": "SECRET_KEY_BASE", "name": "FRONTEND_ROUTE",
"description": "Your secret key for verifying the integrity of signed cookies.", "description": "The exposed hostname that will route to the Node.js service.",
"generate": "expression",
"from": "[a-z0-9]{127}"
},
{
"name": "ROUTE",
"description": "The exposed hostname that will route to the Node.js service",
"value": "nodejs.apps" "value": "nodejs.apps"
} }
], ],