Skip to content

Commit

Permalink
add app label to example templates
Browse files Browse the repository at this point in the history
  • Loading branch information
gabemontero committed Nov 7, 2017
1 parent 88ec83f commit e94b76e
Show file tree
Hide file tree
Showing 25 changed files with 146 additions and 64 deletions.
3 changes: 2 additions & 1 deletion examples/db-templates/mariadb-ephemeral-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
},
"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.",
"labels": {
"template": "mariadb-persistent-template"
"template": "mariadb-persistent-template",
"app": "mariadb-persistent-template"
},
"objects": [
{
Expand Down
3 changes: 2 additions & 1 deletion examples/db-templates/mariadb-persistent-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
},
"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.",
"labels": {
"template": "mariadb-persistent-template"
"template": "mariadb-persistent-template",
"app": "mariadb-persistent-template"
},
"objects": [
{
Expand Down
3 changes: 2 additions & 1 deletion examples/db-templates/mongodb-ephemeral-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
},
"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.",
"labels": {
"template": "mongodb-ephemeral-template"
"template": "mongodb-ephemeral-template",
"app": "mongodb-ephemeral-template"
},
"objects": [
{
Expand Down
3 changes: 2 additions & 1 deletion examples/db-templates/mongodb-persistent-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
},
"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.",
"labels": {
"template": "mongodb-persistent-template"
"template": "mongodb-persistent-template",
"app": "mongodb-persistent-template"
},
"objects": [
{
Expand Down
3 changes: 2 additions & 1 deletion examples/db-templates/mysql-ephemeral-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
},
"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.",
"labels": {
"template": "mysql-ephemeral-template"
"template": "mysql-ephemeral-template",
"app": "mysql-ephemeral-template"
},
"objects": [
{
Expand Down
3 changes: 2 additions & 1 deletion examples/db-templates/mysql-persistent-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
},
"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.",
"labels": {
"template": "mysql-persistent-template"
"template": "mysql-persistent-template",
"app": "mysql-persistent-template"
},
"objects": [
{
Expand Down
3 changes: 2 additions & 1 deletion examples/db-templates/postgresql-ephemeral-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
},
"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.",
"labels": {
"template": "postgresql-ephemeral-template"
"template": "postgresql-ephemeral-template",
"app": "postgresql-ephemeral-template"
},
"objects": [
{
Expand Down
3 changes: 2 additions & 1 deletion examples/db-templates/postgresql-persistent-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
},
"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.",
"labels": {
"template": "postgresql-persistent-template"
"template": "postgresql-persistent-template",
"app": "postgresql-persistent-template"
},
"objects": [
{
Expand Down
3 changes: 2 additions & 1 deletion examples/db-templates/redis-ephemeral-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
},
"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.",
"labels": {
"template": "redis-ephemeral-template"
"template": "redis-ephemeral-template",
"app": "redis-ephemeral-template"
},
"objects": [
{
Expand Down
3 changes: 2 additions & 1 deletion examples/db-templates/redis-persistent-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
},
"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.",
"labels": {
"template": "redis-persistent-template"
"template": "redis-persistent-template",
"app": "redis-persistent-template"
},
"objects": [
{
Expand Down
3 changes: 3 additions & 0 deletions examples/jenkins/jenkins-ephemeral-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
}
},
"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.",
"labels": {
"app": "jenkins-ephemeral"
},
"objects": [
{
"kind": "Route",
Expand Down
3 changes: 3 additions & 0 deletions examples/jenkins/jenkins-persistent-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
}
},
"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.",
"labels": {
"app": "jenkins-persistent"
},
"objects": [
{
"kind": "Route",
Expand Down
3 changes: 2 additions & 1 deletion examples/quickstarts/cakephp-mysql-persistent.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,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/cake-ex/blob/master/README.md.",
"labels": {
"template": "cakephp-mysql-persistent"
"template": "cakephp-mysql-persistent",
"app": "cakephp-mysql-persistent"
},
"objects": [
{
Expand Down
3 changes: 2 additions & 1 deletion examples/quickstarts/cakephp-mysql.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,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/cake-ex/blob/master/README.md.",
"labels": {
"template": "cakephp-mysql-example"
"template": "cakephp-mysql-example",
"app": "cakephp-mysql-example"
},
"objects": [
{
Expand Down
3 changes: 2 additions & 1 deletion examples/quickstarts/dancer-mysql-persistent.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,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/dancer-ex/blob/master/README.md.",
"labels": {
"template": "dancer-mysql-persistent"
"template": "dancer-mysql-persistent",
"app": "dancer-mysql-persistent"
},
"objects": [
{
Expand Down
3 changes: 2 additions & 1 deletion examples/quickstarts/dancer-mysql.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,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/dancer-ex/blob/master/README.md.",
"labels": {
"template": "dancer-mysql-example"
"template": "dancer-mysql-example",
"app": "dancer-mysql-example"
},
"objects": [
{
Expand Down
3 changes: 2 additions & 1 deletion examples/quickstarts/django-postgresql-persistent.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,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.",
"labels": {
"template": "django-psql-persistent"
"template": "django-psql-persistent",
"app": "django-psql-persistent"
},
"objects": [
{
Expand Down
3 changes: 2 additions & 1 deletion examples/quickstarts/django-postgresql.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,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.",
"labels": {
"template": "django-psql-example"
"template": "django-psql-example",
"app": "django-psql-example"
},
"objects": [
{
Expand Down
3 changes: 2 additions & 1 deletion examples/quickstarts/httpd.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
},
"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.",
"labels": {
"template": "httpd-example"
"template": "httpd-example",
"app": "httpd-example"
},
"objects": [
{
Expand Down
3 changes: 2 additions & 1 deletion examples/quickstarts/nodejs-mongodb-persistent.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,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/nodejs-ex/blob/master/README.md.",
"labels": {
"template": "nodejs-mongo-persistent"
"template": "nodejs-mongo-persistent",
"app": "nodejs-mongo-persistent"
},
"objects": [
{
Expand Down
3 changes: 2 additions & 1 deletion examples/quickstarts/nodejs-mongodb.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,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/nodejs-ex/blob/master/README.md.",
"labels": {
"template": "nodejs-mongodb-example"
"template": "nodejs-mongodb-example",
"app": "nodejs-mongodb-example"
},
"objects": [
{
Expand Down
3 changes: 2 additions & 1 deletion examples/quickstarts/rails-postgresql-persistent.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,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/rails-ex/blob/master/README.md.",
"labels": {
"template": "rails-pgsql-persistent"
"template": "rails-pgsql-persistent",
"app": "rails-pgsql-persistent"
},
"objects": [
{
Expand Down
3 changes: 2 additions & 1 deletion examples/quickstarts/rails-postgresql.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,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/rails-ex/blob/master/README.md.",
"labels": {
"template": "rails-postgresql-example"
"template": "rails-postgresql-example",
"app": "rails-postgresql-example"
},
"objects": [
{
Expand Down
Loading

0 comments on commit e94b76e

Please sign in to comment.