add template 'app' label

This commit is contained in:
gabemontero 2017-11-09 11:06:49 -05:00
parent d588e14490
commit d8c79199e4
3 changed files with 7 additions and 4 deletions

View file

@ -4,7 +4,7 @@
"metadata": { "metadata": {
"name": "django-psql-persistent", "name": "django-psql-persistent",
"annotations": { "annotations": {
"openshift.io/display-name": "Django + PostgreSQL (Persistent)", "openshift.io/display-name": "Django + PostgreSQL",
"description": "An example Django application with a PostgreSQL database. For more information about using this template, including OpenShift considerations, see https://github.com/openshift/django-ex/blob/master/README.md.", "description": "An example Django application with a PostgreSQL database. For more information about using this template, including OpenShift considerations, see https://github.com/openshift/django-ex/blob/master/README.md.",
"tags": "quickstart,python,django", "tags": "quickstart,python,django",
"iconClass": "icon-python", "iconClass": "icon-python",
@ -17,7 +17,8 @@
}, },
"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/django-ex/blob/master/README.md.", "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/django-ex/blob/master/README.md.",
"labels": { "labels": {
"template": "django-psql-persistent" "template": "django-psql-persistent",
"app": "django-psql-persistent"
}, },
"objects": [ "objects": [
{ {

View file

@ -17,7 +17,8 @@
}, },
"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/django-ex/blob/master/README.md.", "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/django-ex/blob/master/README.md.",
"labels": { "labels": {
"template": "django-psql-example" "template": "django-psql-example",
"app": "django-psql-example"
}, },
"objects": [ "objects": [
{ {

View file

@ -16,7 +16,8 @@
} }
}, },
"labels": { "labels": {
"template": "django-example" "template": "django-example",
"app": "django-example"
}, },
"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/django-ex/blob/master/README.md.", "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/django-ex/blob/master/README.md.",
"objects": [ "objects": [