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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 2 additions & 1 deletion
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
{

0 commit comments

Comments
 (0)