get names consistent; associated doc updates based on test walkthrough; Ben's comments; minor fixes / frontend rename; fix double colon
This commit is contained in:
parent
c647e25455
commit
1ca4fbfd5a
3 changed files with 38 additions and 31 deletions
|
@ -17,7 +17,7 @@
|
|||
"kind": "Service",
|
||||
"apiVersion": "v1",
|
||||
"metadata": {
|
||||
"name": "nodejs-frontend",
|
||||
"name": "nodejs-mongodb-example",
|
||||
"annotations": {
|
||||
"description": "Exposes and load balances the application pods"
|
||||
}
|
||||
|
@ -31,7 +31,7 @@
|
|||
}
|
||||
],
|
||||
"selector": {
|
||||
"name": "nodejs-frontend"
|
||||
"name": "nodejs-mongodb-example"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -39,13 +39,13 @@
|
|||
"kind": "Route",
|
||||
"apiVersion": "v1",
|
||||
"metadata": {
|
||||
"name": "nodejs-route"
|
||||
"name": "nodejs-mongodb-example"
|
||||
},
|
||||
"spec": {
|
||||
"host": "${APPLICATION_DOMAIN}",
|
||||
"to": {
|
||||
"kind": "Service",
|
||||
"name": "nodejs-frontend"
|
||||
"name": "nodejs-mongodb-example"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -53,7 +53,7 @@
|
|||
"kind": "ImageStream",
|
||||
"apiVersion": "v1",
|
||||
"metadata": {
|
||||
"name": "nodejs-example",
|
||||
"name": "nodejs-mongodb-example",
|
||||
"annotations": {
|
||||
"description": "Keeps track of changes in the application image"
|
||||
}
|
||||
|
@ -63,7 +63,7 @@
|
|||
"kind": "BuildConfig",
|
||||
"apiVersion": "v1",
|
||||
"metadata": {
|
||||
"name": "nodejs-example",
|
||||
"name": "nodejs-mongodb-example",
|
||||
"annotations": {
|
||||
"description": "Defines how to build the application"
|
||||
}
|
||||
|
@ -90,7 +90,7 @@
|
|||
"output": {
|
||||
"to": {
|
||||
"kind": "ImageStreamTag",
|
||||
"name": "nodejs-example:latest"
|
||||
"name": "nodejs-mongodb-example:latest"
|
||||
}
|
||||
},
|
||||
"triggers": [
|
||||
|
@ -110,7 +110,7 @@
|
|||
"kind": "DeploymentConfig",
|
||||
"apiVersion": "v1",
|
||||
"metadata": {
|
||||
"name": "nodejs-frontend",
|
||||
"name": "nodejs-mongodb-example",
|
||||
"annotations": {
|
||||
"description": "Defines how to deploy the application server"
|
||||
}
|
||||
|
@ -125,11 +125,11 @@
|
|||
"imageChangeParams": {
|
||||
"automatic": true,
|
||||
"containerNames": [
|
||||
"nodejs-example"
|
||||
"nodejs-mongodb-example"
|
||||
],
|
||||
"from": {
|
||||
"kind": "ImageStreamTag",
|
||||
"name": "nodejs-example:latest"
|
||||
"name": "nodejs-mongodb-example:latest"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -139,20 +139,20 @@
|
|||
],
|
||||
"replicas": 1,
|
||||
"selector": {
|
||||
"name": "nodejs-frontend"
|
||||
"name": "nodejs-mongodb-example"
|
||||
},
|
||||
"template": {
|
||||
"metadata": {
|
||||
"name": "nodejs-frontend",
|
||||
"name": "nodejs-mongodb-example",
|
||||
"labels": {
|
||||
"name": "nodejs-frontend"
|
||||
"name": "nodejs-mongodb-example"
|
||||
}
|
||||
},
|
||||
"spec": {
|
||||
"containers": [
|
||||
{
|
||||
"name": "nodejs-example",
|
||||
"image": "nodejs-example",
|
||||
"name": "nodejs-mongodb-example",
|
||||
"image": "nodejs-mongodb-example",
|
||||
"ports": [
|
||||
{
|
||||
"containerPort": 8080
|
||||
|
@ -289,7 +289,7 @@
|
|||
{
|
||||
"name": "APPLICATION_DOMAIN",
|
||||
"description": "The exposed hostname that will route to the Node.js service",
|
||||
"value": "nodejs-example.openshiftapps.com"
|
||||
"value": "nodejs-mongodb-example.openshiftapps.com"
|
||||
},
|
||||
{
|
||||
"name": "GITHUB_WEBHOOK_SECRET",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue