Updates template display name, tags, description, message, and service grouping

This commit is contained in:
luciddreamz 2016-10-24 16:34:46 -04:00
parent 9ebc30eb44
commit 572d5d4af1
3 changed files with 13 additions and 7 deletions

View file

@ -4,11 +4,13 @@
"metadata": { "metadata": {
"name": "nodejs-mongo-persistent", "name": "nodejs-mongo-persistent",
"annotations": { "annotations": {
"description": "An example Node.js application with a MongoDB database", "openshift.io/display-name": "Node.js + MongoDB (Persistent)",
"tags": "quickstart,nodejs,mongodb", "description": "An example Node.js application with a MongoDB database. For more information about using this template, including OpenShift considerations, see https://github.com/openshift/nodejs-ex/blob/master/README.md.",
"tags": "quickstart,nodejs",
"iconClass": "icon-nodejs" "iconClass": "icon-nodejs"
} }
}, },
"message": "The following service(s) have been created in your project: ${NAME}, ${DATABASE_SERVICE_NAME}.\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/openshift/nodejs-ex/blob/master/README.md.",
"labels": { "labels": {
"template": "nodejs-mongo-persistent" "template": "nodejs-mongo-persistent"
}, },
@ -20,7 +22,7 @@
"name": "${NAME}", "name": "${NAME}",
"annotations": { "annotations": {
"description": "Exposes and load balances the application pods", "description": "Exposes and load balances the application pods",
"service.alpha.openshift.io/dependencies": "[{\"name\": \"${DATABASE_SERVICE_NAME}\", \"namespace\": \"\", \"kind\": \"Service\"}]" "service.alpha.openshift.io/dependencies": "[{\"name\": \"${DATABASE_SERVICE_NAME}\", \"kind\": \"Service\"}]"
} }
}, },
"spec": { "spec": {

View file

@ -4,11 +4,13 @@
"metadata": { "metadata": {
"name": "nodejs-mongodb-example", "name": "nodejs-mongodb-example",
"annotations": { "annotations": {
"description": "An example Node.js application with a MongoDB database", "openshift.io/display-name": "Node.js + MongoDB (Ephemeral)",
"tags": "quickstart,nodejs,mongodb", "description": "An example Node.js application with a MongoDB database. For more information about using this template, including OpenShift considerations, see https://github.com/openshift/nodejs-ex/blob/master/README.md.\n\nWARNING: Any data stored will be lost upon pod destruction. Only use this template for testing.",
"tags": "quickstart,nodejs",
"iconClass": "icon-nodejs" "iconClass": "icon-nodejs"
} }
}, },
"message": "The following service(s) have been created in your project: ${NAME}, ${DATABASE_SERVICE_NAME}.\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/openshift/nodejs-ex/blob/master/README.md.",
"labels": { "labels": {
"template": "nodejs-mongodb-example" "template": "nodejs-mongodb-example"
}, },
@ -20,7 +22,7 @@
"name": "${NAME}", "name": "${NAME}",
"annotations": { "annotations": {
"description": "Exposes and load balances the application pods", "description": "Exposes and load balances the application pods",
"service.alpha.openshift.io/dependencies": "[{\"name\": \"${DATABASE_SERVICE_NAME}\", \"namespace\": \"\", \"kind\": \"Service\"}]" "service.alpha.openshift.io/dependencies": "[{\"name\": \"${DATABASE_SERVICE_NAME}\", \"kind\": \"Service\"}]"
} }
}, },
"spec": { "spec": {

View file

@ -4,11 +4,13 @@
"metadata": { "metadata": {
"name": "nodejs-example", "name": "nodejs-example",
"annotations": { "annotations": {
"description": "An example Node.js application with no database", "openshift.io/display-name": "Node.js",
"description": "An example Node.js application with no database. For more information about using this template, including OpenShift considerations, see https://github.com/openshift/nodejs-ex/blob/master/README.md.",
"tags": "quickstart,nodejs", "tags": "quickstart,nodejs",
"iconClass": "icon-nodejs" "iconClass": "icon-nodejs"
} }
}, },
"message": "The following service(s) have been created in your project: ${NAME}.\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/openshift/nodejs-ex/blob/master/README.md.",
"labels": { "labels": {
"template": "nodejs-example" "template": "nodejs-example"
}, },