Browse Source

add service catalog metadata to templates

pull/80/head
Ben Parees 8 years ago
parent
commit
1a0b2abcf8
3 changed files with 15 additions and 3 deletions
  1. +5
    -1
      openshift/templates/django-postgresql-persistent.json
  2. +5
    -1
      openshift/templates/django-postgresql.json
  3. +5
    -1
      openshift/templates/django.json

+ 5
- 1
openshift/templates/django-postgresql-persistent.json View File

@ -7,7 +7,11 @@
"openshift.io/display-name": "Django + PostgreSQL (Persistent)", "openshift.io/display-name": "Django + PostgreSQL (Persistent)",
"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",
"template.openshift.io/long-description": "This template defines resources needed to develop a Django based application, including a build configuration, application deployment configuration, and database deployment configuration.",
"template.openshift.io/provider-display-name": "Red Hat, Inc.",
"template.openshift.io/documentation-url": "https://github.com/openshift/django-ex",
"template.openshift.io/support-url": "https://access.redhat.com"
} }
}, },
"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.",


+ 5
- 1
openshift/templates/django-postgresql.json View File

@ -7,7 +7,11 @@
"openshift.io/display-name": "Django + PostgreSQL (Ephemeral)", "openshift.io/display-name": "Django + PostgreSQL (Ephemeral)",
"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.\n\nWARNING: Any data stored will be lost upon pod destruction. Only use this template for testing.", "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.\n\nWARNING: Any data stored will be lost upon pod destruction. Only use this template for testing.",
"tags": "quickstart,python,django", "tags": "quickstart,python,django",
"iconClass": "icon-python"
"iconClass": "icon-python",
"template.openshift.io/long-description": "This template defines resources needed to develop a Django based application, including a build configuration, application deployment configuration, and database deployment configuration. The database is stored in non-persistent storage, so this configuration should be used for experimental purposes only.",
"template.openshift.io/provider-display-name": "Red Hat, Inc.",
"template.openshift.io/documentation-url": "https://github.com/openshift/django-ex",
"template.openshift.io/support-url": "https://access.redhat.com"
} }
}, },
"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.",


+ 5
- 1
openshift/templates/django.json View File

@ -7,7 +7,11 @@
"openshift.io/display-name": "Django", "openshift.io/display-name": "Django",
"description": "An example Django application with no 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 no 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",
"template.openshift.io/long-description": "This template defines resources needed to develop a Django based application, including a build configuration and application deployment configuration. It does not include a database.",
"template.openshift.io/provider-display-name": "Red Hat, Inc.",
"template.openshift.io/documentation-url": "https://github.com/openshift/django-ex",
"template.openshift.io/support-url": "https://access.redhat.com"
} }
}, },
"labels": { "labels": {


Loading…
Cancel
Save