-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add app label to example templates #17224
add app label to example templates #17224
Conversation
@gabemontero: GitHub didn't allow me to assign the following users: bparess. Note that only openshift members can be assigned. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/assign @bparees |
@gabemontero you'll need to follow this up with commits to the upstream quickstart templates (really you're supposed to change them there first and then import the changes here). |
@@ -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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't want "-template" in these labels. compare what "oc new-app" produces for the label when run w/ the template.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app
label should be parameterized so that when a DB template is used with another application and we want to associate it with that app we can. For example, if we want to spin up SonarQube, it needs an associated PostgreSQL DB instance and we want both the SonarQube instance and the PostgreSQL instance to have the same app
label.
also i think the app label value needs to be a parameter. |
(ok so the fruit wasn't that low hanging) |
@@ -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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app label should be parameterized so that when a DB template is used with another application and we want to associate it with that app we can.
@@ -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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app label should be parameterized so that when a DB template is used with another application and we want to associate it with that app we can.
@@ -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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app label should be parameterized so that when a DB template is used with another application and we want to associate it with that app we can.
@@ -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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app label should be parameterized so that when a DB template is used with another application and we want to associate it with that app we can.
@@ -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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app label should be parameterized so that when a DB template is used with another application and we want to associate it with that app we can.
@@ -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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app label should be parameterized so that when a DB template is used with another application and we want to associate it with that app we can.
@@ -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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app label should be parameterized so that when a DB template is used with another application and we want to associate it with that app we can.
@@ -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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app label should be parameterized so that when a DB template is used with another application and we want to associate it with that app we can.
@@ -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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app label should be parameterized so that when a DB template is used with another application and we want to associate it with that app we can.
@@ -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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app label should be parameterized so that when a DB template is used with another application and we want to associate it with that app we can.
@@ -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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app label should be parameterized so that when a DB template is used with another application and we want to associate it with that app we can.
@@ -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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
@@ -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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
@@ -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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
@@ -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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
@@ -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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
@@ -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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
@@ -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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
@@ -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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
@@ -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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
test/extended/testdata/bindata.go
Outdated
@@ -12149,7 +12151,8 @@ var _examplesDbTemplatesMongodbEphemeralTemplateJson = []byte(`{ | |||
}, | |||
"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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app
label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
On Tue, Nov 7, 2017 at 2:01 PM, Ben Parees ***@***.***> wrote:
(ok so the fruit wasn't that low hanging)
So do you want this in 3.7, or post 3.7 @bparees ?
… —
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#17224 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADbadE1cOunnmddeV2cmV1V8tHejY9HYks5s0Kj0gaJpZM4QVQy_>
.
|
test/extended/testdata/bindata.go
Outdated
@@ -12438,7 +12441,8 @@ var _examplesDbTemplatesMongodbPersistentTemplateJson = []byte(`{ | |||
}, | |||
"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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app
label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
test/extended/testdata/bindata.go
Outdated
@@ -12751,7 +12755,8 @@ var _examplesDbTemplatesMysqlEphemeralTemplateJson = []byte(`{ | |||
}, | |||
"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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app
label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
test/extended/testdata/bindata.go
Outdated
@@ -13041,7 +13046,8 @@ var _examplesDbTemplatesMysqlPersistentTemplateJson = []byte(`{ | |||
}, | |||
"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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app
label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
test/extended/testdata/bindata.go
Outdated
@@ -13336,7 +13342,8 @@ var _examplesDbTemplatesPostgresqlEphemeralTemplateJson = []byte(`{ | |||
}, | |||
"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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app
label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
test/extended/testdata/bindata.go
Outdated
@@ -13606,7 +13613,8 @@ var _examplesDbTemplatesPostgresqlPersistentTemplateJson = []byte(`{ | |||
}, | |||
"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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app
label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
test/extended/testdata/bindata.go
Outdated
@@ -13900,7 +13908,8 @@ var _examplesDbTemplatesRedisEphemeralTemplateJson = []byte(`{ | |||
}, | |||
"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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app
label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
test/extended/testdata/bindata.go
Outdated
@@ -14133,7 +14142,8 @@ var _examplesDbTemplatesRedisPersistentTemplateJson = []byte(`{ | |||
}, | |||
"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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app
label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
@@ -18403,7 +18413,8 @@ var _examplesQuickstartsCakephpMysqlPersistentJson = []byte(`{ | |||
}, | |||
"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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app
label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
@@ -19008,7 +19019,8 @@ var _examplesQuickstartsCakephpMysqlJson = []byte(`{ | |||
}, | |||
"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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app
label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
@@ -19587,7 +19599,8 @@ var _examplesQuickstartsDancerMysqlPersistentJson = []byte(`{ | |||
}, | |||
"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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app
label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
@@ -20136,7 +20149,8 @@ var _examplesQuickstartsDancerMysqlJson = []byte(`{ | |||
}, | |||
"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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app
label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please ensure that the app
label is parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
@@ -20659,7 +20673,8 @@ var _examplesQuickstartsDjangoPostgresqlPersistentJson = []byte(`{ | |||
}, | |||
"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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app
label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
@@ -21218,7 +21233,8 @@ var _examplesQuickstartsDjangoPostgresqlJson = []byte(`{ | |||
}, | |||
"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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app
label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
@@ -21751,7 +21767,8 @@ var _examplesQuickstartsHttpdJson = []byte(`{ | |||
}, | |||
"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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app
label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
@@ -22044,7 +22061,8 @@ var _examplesQuickstartsNodejsMongodbPersistentJson = []byte(`{ | |||
}, | |||
"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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app
label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
@@ -22612,7 +22630,8 @@ var _examplesQuickstartsNodejsMongodbJson = []byte(`{ | |||
}, | |||
"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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app
label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
@@ -23156,7 +23175,8 @@ var _examplesQuickstartsRailsPostgresqlPersistentJson = []byte(`{ | |||
}, | |||
"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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app
label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
@@ -23785,7 +23805,8 @@ var _examplesQuickstartsRailsPostgresqlJson = []byte(`{ | |||
}, | |||
"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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app
label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
@@ -25477,6 +25498,9 @@ var _examplesJenkinsJenkinsEphemeralTemplateJson = []byte(`{ | |||
} | |||
}, | |||
"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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app
label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
@@ -25778,6 +25802,9 @@ var _examplesJenkinsJenkinsPersistentTemplateJson = []byte(`{ | |||
} | |||
}, | |||
"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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app
label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
@@ -27472,7 +27499,8 @@ var _examplesQuickstartsCakephpMysqlJsonCakephpMysqlJson = []byte(`{ | |||
}, | |||
"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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app
label should be parameterized so that when templates are used in conjunction to form a single application we can make the app
labels match.
OK after a pow-wow with @bparees (who similarly had a pow-wow with @smarterclayton ), the net is
|
Another update ... turns out, we cannot parameterize the template labels yet ... @jim-minter has #16605 which will allow this, but that is prioritized for 3.8. @bparees has directed me to ditch the parameters for now with this pull. We'll see about updating the templates to use parameters in 3.8 once #16605 has merged. |
And of course you can override the |
e94b76e
to
ffab00e
Compare
OK, I've pushed updates per recent discussion, as well as did some display name clean up per a side request from @jwforres |
/lgtm @gabemontero please follow this up w/ changes to the upstream quickstart templates in the various example repos. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bparees, gabemontero The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/retest Please review the full test history for this PR and help us cut down flakes. |
Automatic merge from submit-queue. |
fixes bug https://bugzilla.redhat.com/show_bug.cgi?id=1503260
@openshift/sig-developer-experience fyi
/assign bparess