Skip to content

Commit e94b76e

Browse files
committed
add app label to example templates
fixes bug https://bugzilla.redhat.com/show_bug.cgi?id=1503260
1 parent 88ec83f commit e94b76e

25 files changed

+146
-64
lines changed

examples/db-templates/mariadb-ephemeral-template.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
},
1717
"message": "The following service(s) have been created in your project: ${DATABASE_SERVICE_NAME}.\n\n Username: ${MYSQL_USER}\n Password: ${MYSQL_PASSWORD}\n Database Name: ${MYSQL_DATABASE}\n Connection URL: mysql://${DATABASE_SERVICE_NAME}:3306/\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/sclorg/mariadb-container/blob/master/10.1/README.md.",
1818
"labels": {
19-
"template": "mariadb-persistent-template"
19+
"template": "mariadb-persistent-template",
20+
"app": "mariadb-persistent-template"
2021
},
2122
"objects": [
2223
{

examples/db-templates/mariadb-persistent-template.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
},
1717
"message": "The following service(s) have been created in your project: ${DATABASE_SERVICE_NAME}.\n\n Username: ${MYSQL_USER}\n Password: ${MYSQL_PASSWORD}\n Database Name: ${MYSQL_DATABASE}\n Connection URL: mysql://${DATABASE_SERVICE_NAME}:3306/\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/sclorg/mariadb-container/blob/master/10.1/README.md.",
1818
"labels": {
19-
"template": "mariadb-persistent-template"
19+
"template": "mariadb-persistent-template",
20+
"app": "mariadb-persistent-template"
2021
},
2122
"objects": [
2223
{

examples/db-templates/mongodb-ephemeral-template.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
},
1717
"message": "The following service(s) have been created in your project: ${DATABASE_SERVICE_NAME}.\n\n Username: ${MONGODB_USER}\n Password: ${MONGODB_PASSWORD}\n Database Name: ${MONGODB_DATABASE}\n Connection URL: mongodb://${MONGODB_USER}:${MONGODB_PASSWORD}@${DATABASE_SERVICE_NAME}/${MONGODB_DATABASE}\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/sclorg/mongodb-container/blob/master/3.2/README.md.",
1818
"labels": {
19-
"template": "mongodb-ephemeral-template"
19+
"template": "mongodb-ephemeral-template",
20+
"app": "mongodb-ephemeral-template"
2021
},
2122
"objects": [
2223
{

examples/db-templates/mongodb-persistent-template.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
},
1717
"message": "The following service(s) have been created in your project: ${DATABASE_SERVICE_NAME}.\n\n Username: ${MONGODB_USER}\n Password: ${MONGODB_PASSWORD}\n Database Name: ${MONGODB_DATABASE}\n Connection URL: mongodb://${MONGODB_USER}:${MONGODB_PASSWORD}@${DATABASE_SERVICE_NAME}/${MONGODB_DATABASE}\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/sclorg/mongodb-container/blob/master/3.2/README.md.",
1818
"labels": {
19-
"template": "mongodb-persistent-template"
19+
"template": "mongodb-persistent-template",
20+
"app": "mongodb-persistent-template"
2021
},
2122
"objects": [
2223
{

examples/db-templates/mysql-ephemeral-template.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
},
1717
"message": "The following service(s) have been created in your project: ${DATABASE_SERVICE_NAME}.\n\n Username: ${MYSQL_USER}\n Password: ${MYSQL_PASSWORD}\n Database Name: ${MYSQL_DATABASE}\n Connection URL: mysql://${DATABASE_SERVICE_NAME}:3306/\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/sclorg/mysql-container/blob/master/5.7/README.md.",
1818
"labels": {
19-
"template": "mysql-ephemeral-template"
19+
"template": "mysql-ephemeral-template",
20+
"app": "mysql-ephemeral-template"
2021
},
2122
"objects": [
2223
{

examples/db-templates/mysql-persistent-template.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
},
1717
"message": "The following service(s) have been created in your project: ${DATABASE_SERVICE_NAME}.\n\n Username: ${MYSQL_USER}\n Password: ${MYSQL_PASSWORD}\n Database Name: ${MYSQL_DATABASE}\n Connection URL: mysql://${DATABASE_SERVICE_NAME}:3306/\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/sclorg/mysql-container/blob/master/5.7/README.md.",
1818
"labels": {
19-
"template": "mysql-persistent-template"
19+
"template": "mysql-persistent-template",
20+
"app": "mysql-persistent-template"
2021
},
2122
"objects": [
2223
{

examples/db-templates/postgresql-ephemeral-template.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
},
1717
"message": "The following service(s) have been created in your project: ${DATABASE_SERVICE_NAME}.\n\n Username: ${POSTGRESQL_USER}\n Password: ${POSTGRESQL_PASSWORD}\n Database Name: ${POSTGRESQL_DATABASE}\n Connection URL: postgresql://${DATABASE_SERVICE_NAME}:5432/\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/sclorg/postgresql-container/blob/master/9.5.",
1818
"labels": {
19-
"template": "postgresql-ephemeral-template"
19+
"template": "postgresql-ephemeral-template",
20+
"app": "postgresql-ephemeral-template"
2021
},
2122
"objects": [
2223
{

examples/db-templates/postgresql-persistent-template.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
},
1717
"message": "The following service(s) have been created in your project: ${DATABASE_SERVICE_NAME}.\n\n Username: ${POSTGRESQL_USER}\n Password: ${POSTGRESQL_PASSWORD}\n Database Name: ${POSTGRESQL_DATABASE}\n Connection URL: postgresql://${DATABASE_SERVICE_NAME}:5432/\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/sclorg/postgresql-container/blob/master/9.5.",
1818
"labels": {
19-
"template": "postgresql-persistent-template"
19+
"template": "postgresql-persistent-template",
20+
"app": "postgresql-persistent-template"
2021
},
2122
"objects": [
2223
{

examples/db-templates/redis-ephemeral-template.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
},
1717
"message": "The following service(s) have been created in your project: ${DATABASE_SERVICE_NAME}.\n\n Password: ${REDIS_PASSWORD}\n Connection URL: redis://${DATABASE_SERVICE_NAME}:6379/\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/sclorg/redis-container/blob/master/3.2.",
1818
"labels": {
19-
"template": "redis-ephemeral-template"
19+
"template": "redis-ephemeral-template",
20+
"app": "redis-ephemeral-template"
2021
},
2122
"objects": [
2223
{

examples/db-templates/redis-persistent-template.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
},
1717
"message": "The following service(s) have been created in your project: ${DATABASE_SERVICE_NAME}.\n\n Password: ${REDIS_PASSWORD}\n Connection URL: redis://${DATABASE_SERVICE_NAME}:6379/\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/sclorg/redis-container/blob/master/3.2.",
1818
"labels": {
19-
"template": "redis-persistent-template"
19+
"template": "redis-persistent-template",
20+
"app": "redis-persistent-template"
2021
},
2122
"objects": [
2223
{

examples/jenkins/jenkins-ephemeral-template.json

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
}
1616
},
1717
"message": "A Jenkins service has been created in your project. Log into Jenkins with your OpenShift account. The tutorial at https://github.com/openshift/origin/blob/master/examples/jenkins/README.md contains more information about using this template.",
18+
"labels": {
19+
"app": "jenkins-ephemeral"
20+
},
1821
"objects": [
1922
{
2023
"kind": "Route",

examples/jenkins/jenkins-persistent-template.json

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
}
1616
},
1717
"message": "A Jenkins service has been created in your project. Log into Jenkins with your OpenShift account. The tutorial at https://github.com/openshift/origin/blob/master/examples/jenkins/README.md contains more information about using this template.",
18+
"labels": {
19+
"app": "jenkins-persistent"
20+
},
1821
"objects": [
1922
{
2023
"kind": "Route",

examples/quickstarts/cakephp-mysql-persistent.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
},
1717
"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/cake-ex/blob/master/README.md.",
1818
"labels": {
19-
"template": "cakephp-mysql-persistent"
19+
"template": "cakephp-mysql-persistent",
20+
"app": "cakephp-mysql-persistent"
2021
},
2122
"objects": [
2223
{

examples/quickstarts/cakephp-mysql.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
},
1717
"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/cake-ex/blob/master/README.md.",
1818
"labels": {
19-
"template": "cakephp-mysql-example"
19+
"template": "cakephp-mysql-example",
20+
"app": "cakephp-mysql-example"
2021
},
2122
"objects": [
2223
{

examples/quickstarts/dancer-mysql-persistent.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
},
1717
"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/dancer-ex/blob/master/README.md.",
1818
"labels": {
19-
"template": "dancer-mysql-persistent"
19+
"template": "dancer-mysql-persistent",
20+
"app": "dancer-mysql-persistent"
2021
},
2122
"objects": [
2223
{

examples/quickstarts/dancer-mysql.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
},
1717
"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/dancer-ex/blob/master/README.md.",
1818
"labels": {
19-
"template": "dancer-mysql-example"
19+
"template": "dancer-mysql-example",
20+
"app": "dancer-mysql-example"
2021
},
2122
"objects": [
2223
{

examples/quickstarts/django-postgresql-persistent.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
},
1717
"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.",
1818
"labels": {
19-
"template": "django-psql-persistent"
19+
"template": "django-psql-persistent",
20+
"app": "django-psql-persistent"
2021
},
2122
"objects": [
2223
{

examples/quickstarts/django-postgresql.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
},
1717
"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.",
1818
"labels": {
19-
"template": "django-psql-example"
19+
"template": "django-psql-example",
20+
"app": "django-psql-example"
2021
},
2122
"objects": [
2223
{

examples/quickstarts/httpd.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
},
1717
"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/httpd-ex/blob/master/README.md.",
1818
"labels": {
19-
"template": "httpd-example"
19+
"template": "httpd-example",
20+
"app": "httpd-example"
2021
},
2122
"objects": [
2223
{

examples/quickstarts/nodejs-mongodb-persistent.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
},
1717
"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.",
1818
"labels": {
19-
"template": "nodejs-mongo-persistent"
19+
"template": "nodejs-mongo-persistent",
20+
"app": "nodejs-mongo-persistent"
2021
},
2122
"objects": [
2223
{

examples/quickstarts/nodejs-mongodb.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
},
1717
"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.",
1818
"labels": {
19-
"template": "nodejs-mongodb-example"
19+
"template": "nodejs-mongodb-example",
20+
"app": "nodejs-mongodb-example"
2021
},
2122
"objects": [
2223
{

examples/quickstarts/rails-postgresql-persistent.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
},
1717
"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/rails-ex/blob/master/README.md.",
1818
"labels": {
19-
"template": "rails-pgsql-persistent"
19+
"template": "rails-pgsql-persistent",
20+
"app": "rails-pgsql-persistent"
2021
},
2122
"objects": [
2223
{

examples/quickstarts/rails-postgresql.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
},
1717
"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/rails-ex/blob/master/README.md.",
1818
"labels": {
19-
"template": "rails-postgresql-example"
19+
"template": "rails-postgresql-example",
20+
"app": "rails-postgresql-example"
2021
},
2122
"objects": [
2223
{

0 commit comments

Comments
 (0)