|
5 | 5 | "name": "nodejs-example", |
6 | 6 | "creationTimestamp": null, |
7 | 7 | "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.", |
9 | 9 | "iconClass": "icon-nodejs", |
10 | 10 | "tags": "instant-app,nodejs" |
11 | 11 | } |
|
43 | 43 | "kind": "Route", |
44 | 44 | "apiVersion": "v1beta3", |
45 | 45 | "metadata": { |
46 | | - "name": "nodejs-route", |
| 46 | + "name": "frontend-route", |
47 | 47 | "creationTimestamp": null |
48 | 48 | }, |
49 | 49 | "spec": { |
50 | | - "host" : "${ROUTE}", |
| 50 | + "host" : "${FRONTEND_ROUTE}", |
51 | 51 | "to": { |
52 | 52 | "kind" : "Service", |
53 | 53 | "name" : "nodejs-frontend" |
|
212 | 212 | ], |
213 | 213 | "parameters": [ |
214 | 214 | { |
215 | | - "name": "GITHUB_URL", |
| 215 | + "name": "SOURCE_REPOSITORY_URL", |
216 | 216 | "description": "The URL with your Node.js application source code.", |
217 | 217 | "value": "https://github.com/openshift/nodejs-ex.git" |
218 | 218 | }, |
219 | 219 | { |
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.", |
228 | 222 | "value": "nodejs.apps" |
229 | 223 | } |
230 | 224 | ], |
|
0 commit comments