Skip to content

Commit 1a0b2ab

Browse files
committed
add service catalog metadata to templates
1 parent 856f557 commit 1a0b2ab

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

openshift/templates/django-postgresql-persistent.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
"openshift.io/display-name": "Django + PostgreSQL (Persistent)",
88
"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.",
99
"tags": "quickstart,python,django",
10-
"iconClass": "icon-python"
10+
"iconClass": "icon-python",
11+
"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.",
12+
"template.openshift.io/provider-display-name": "Red Hat, Inc.",
13+
"template.openshift.io/documentation-url": "https://github.com/openshift/django-ex",
14+
"template.openshift.io/support-url": "https://access.redhat.com"
1115
}
1216
},
1317
"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.",

openshift/templates/django-postgresql.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
"openshift.io/display-name": "Django + PostgreSQL (Ephemeral)",
88
"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.",
99
"tags": "quickstart,python,django",
10-
"iconClass": "icon-python"
10+
"iconClass": "icon-python",
11+
"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.",
12+
"template.openshift.io/provider-display-name": "Red Hat, Inc.",
13+
"template.openshift.io/documentation-url": "https://github.com/openshift/django-ex",
14+
"template.openshift.io/support-url": "https://access.redhat.com"
1115
}
1216
},
1317
"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.",

openshift/templates/django.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
"openshift.io/display-name": "Django",
88
"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.",
99
"tags": "quickstart,python,django",
10-
"iconClass": "icon-python"
10+
"iconClass": "icon-python",
11+
"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.",
12+
"template.openshift.io/provider-display-name": "Red Hat, Inc.",
13+
"template.openshift.io/documentation-url": "https://github.com/openshift/django-ex",
14+
"template.openshift.io/support-url": "https://access.redhat.com"
1115
}
1216
},
1317
"labels": {

0 commit comments

Comments
 (0)