Skip to content

Commit 8b2bfc3

Browse files
Merge pull request #17215 from jim-minter/issue16726
Automatic merge from submit-queue. add template.openshift.io/bindable annotation, default is true fixes #16726 will update quickstarts and pull them in after api review (and update docs). @bparees @jorgemoralespou @spadgett
2 parents 88ec83f + 92f42fa commit 8b2bfc3

21 files changed

+149
-212
lines changed

examples/quickstarts/cakephp-mysql-persistent.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"openshift.io/long-description": "This template defines resources needed to develop a CakePHP application, including a build configuration, application deployment configuration, and database deployment configuration.",
1212
"openshift.io/provider-display-name": "Red Hat, Inc.",
1313
"openshift.io/documentation-url": "https://github.com/openshift/cakephp-ex",
14-
"openshift.io/support-url": "https://access.redhat.com"
14+
"openshift.io/support-url": "https://access.redhat.com",
15+
"template.openshift.io/bindable": "false"
1516
}
1617
},
1718
"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.",
@@ -60,10 +61,7 @@
6061
"kind": "Route",
6162
"apiVersion": "v1",
6263
"metadata": {
63-
"name": "${NAME}",
64-
"annotations": {
65-
"template.openshift.io/expose-uri": "http://{.spec.host}{.spec.path}"
66-
}
64+
"name": "${NAME}"
6765
},
6866
"spec": {
6967
"host": "${APPLICATION_DOMAIN}",

examples/quickstarts/cakephp-mysql.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"openshift.io/long-description": "This template defines resources needed to develop a CakePHP 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.",
1212
"openshift.io/provider-display-name": "Red Hat, Inc.",
1313
"openshift.io/documentation-url": "https://github.com/openshift/cakephp-ex",
14-
"openshift.io/support-url": "https://access.redhat.com"
14+
"openshift.io/support-url": "https://access.redhat.com",
15+
"template.openshift.io/bindable": "false"
1516
}
1617
},
1718
"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.",
@@ -60,10 +61,7 @@
6061
"kind": "Route",
6162
"apiVersion": "v1",
6263
"metadata": {
63-
"name": "${NAME}",
64-
"annotations": {
65-
"template.openshift.io/expose-uri": "http://{.spec.host}{.spec.path}"
66-
}
64+
"name": "${NAME}"
6765
},
6866
"spec": {
6967
"host": "${APPLICATION_DOMAIN}",

examples/quickstarts/dancer-mysql-persistent.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"openshift.io/long-description": "This template defines resources needed to develop a Dancer based application, including a build configuration, application deployment configuration, and database deployment configuration.",
1212
"openshift.io/provider-display-name": "Red Hat, Inc.",
1313
"openshift.io/documentation-url": "https://github.com/openshift/dancer-ex",
14-
"openshift.io/support-url": "https://access.redhat.com"
14+
"openshift.io/support-url": "https://access.redhat.com",
15+
"template.openshift.io/bindable": "false"
1516
}
1617
},
1718
"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.",
@@ -58,10 +59,7 @@
5859
"kind": "Route",
5960
"apiVersion": "v1",
6061
"metadata": {
61-
"name": "${NAME}",
62-
"annotations": {
63-
"template.openshift.io/expose-uri": "http://{.spec.host}{.spec.path}"
64-
}
62+
"name": "${NAME}"
6563
},
6664
"spec": {
6765
"host": "${APPLICATION_DOMAIN}",

examples/quickstarts/dancer-mysql.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"openshift.io/long-description": "This template defines resources needed to develop a Dancer 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.",
1212
"openshift.io/provider-display-name": "Red Hat, Inc.",
1313
"openshift.io/documentation-url": "https://github.com/openshift/dancer-ex",
14-
"openshift.io/support-url": "https://access.redhat.com"
14+
"openshift.io/support-url": "https://access.redhat.com",
15+
"template.openshift.io/bindable": "false"
1516
}
1617
},
1718
"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.",
@@ -58,10 +59,7 @@
5859
"kind": "Route",
5960
"apiVersion": "v1",
6061
"metadata": {
61-
"name": "${NAME}",
62-
"annotations": {
63-
"template.openshift.io/expose-uri": "http://{.spec.host}{.spec.path}"
64-
}
62+
"name": "${NAME}"
6563
},
6664
"spec": {
6765
"host": "${APPLICATION_DOMAIN}",

examples/quickstarts/django-postgresql-persistent.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"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.",
1212
"openshift.io/provider-display-name": "Red Hat, Inc.",
1313
"openshift.io/documentation-url": "https://github.com/openshift/django-ex",
14-
"openshift.io/support-url": "https://access.redhat.com"
14+
"openshift.io/support-url": "https://access.redhat.com",
15+
"template.openshift.io/bindable": "false"
1516
}
1617
},
1718
"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.",
@@ -58,10 +59,7 @@
5859
"kind": "Route",
5960
"apiVersion": "v1",
6061
"metadata": {
61-
"name": "${NAME}",
62-
"annotations": {
63-
"template.openshift.io/expose-uri": "http://{.spec.host}{.spec.path}"
64-
}
62+
"name": "${NAME}"
6563
},
6664
"spec": {
6765
"host": "${APPLICATION_DOMAIN}",

examples/quickstarts/django-postgresql.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"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.",
1212
"openshift.io/provider-display-name": "Red Hat, Inc.",
1313
"openshift.io/documentation-url": "https://github.com/openshift/django-ex",
14-
"openshift.io/support-url": "https://access.redhat.com"
14+
"openshift.io/support-url": "https://access.redhat.com",
15+
"template.openshift.io/bindable": "false"
1516
}
1617
},
1718
"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.",
@@ -58,10 +59,7 @@
5859
"kind": "Route",
5960
"apiVersion": "v1",
6061
"metadata": {
61-
"name": "${NAME}",
62-
"annotations": {
63-
"template.openshift.io/expose-uri": "http://{.spec.host}{.spec.path}"
64-
}
62+
"name": "${NAME}"
6563
},
6664
"spec": {
6765
"host": "${APPLICATION_DOMAIN}",

examples/quickstarts/httpd.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"openshift.io/long-description": "This template defines resources needed to develop a static application served by Apache HTTP Server (httpd), including a build configuration and application deployment configuration.",
1212
"openshift.io/provider-display-name": "Red Hat, Inc.",
1313
"openshift.io/documentation-url": "https://github.com/openshift/httpd-ex",
14-
"openshift.io/support-url": "https://access.redhat.com"
14+
"openshift.io/support-url": "https://access.redhat.com",
15+
"template.openshift.io/bindable": "false"
1516
}
1617
},
1718
"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.",
@@ -45,10 +46,7 @@
4546
"kind": "Route",
4647
"apiVersion": "v1",
4748
"metadata": {
48-
"name": "${NAME}",
49-
"annotations": {
50-
"template.openshift.io/expose-uri": "http://{.spec.host}{.spec.path}"
51-
}
49+
"name": "${NAME}"
5250
},
5351
"spec": {
5452
"host": "${APPLICATION_DOMAIN}",

examples/quickstarts/nodejs-mongodb-persistent.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"openshift.io/long-description": "This template defines resources needed to develop a NodeJS application, including a build configuration, application deployment configuration, and database deployment configuration.",
1212
"openshift.io/provider-display-name": "Red Hat, Inc.",
1313
"openshift.io/documentation-url": "https://github.com/openshift/nodejs-ex",
14-
"openshift.io/support-url": "https://access.redhat.com"
14+
"openshift.io/support-url": "https://access.redhat.com",
15+
"template.openshift.io/bindable": "false"
1516
}
1617
},
1718
"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.",
@@ -58,10 +59,7 @@
5859
"kind": "Route",
5960
"apiVersion": "v1",
6061
"metadata": {
61-
"name": "${NAME}",
62-
"annotations": {
63-
"template.openshift.io/expose-uri": "http://{.spec.host}{.spec.path}"
64-
}
62+
"name": "${NAME}"
6563
},
6664
"spec": {
6765
"host": "${APPLICATION_DOMAIN}",

examples/quickstarts/nodejs-mongodb.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"openshift.io/long-description": "This template defines resources needed to develop a NodeJS 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.",
1212
"openshift.io/provider-display-name": "Red Hat, Inc.",
1313
"openshift.io/documentation-url": "https://github.com/openshift/nodejs-ex",
14-
"openshift.io/support-url": "https://access.redhat.com"
14+
"openshift.io/support-url": "https://access.redhat.com",
15+
"template.openshift.io/bindable": "false"
1516
}
1617
},
1718
"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.",
@@ -58,10 +59,7 @@
5859
"kind": "Route",
5960
"apiVersion": "v1",
6061
"metadata": {
61-
"name": "${NAME}",
62-
"annotations": {
63-
"template.openshift.io/expose-uri": "http://{.spec.host}{.spec.path}"
64-
}
62+
"name": "${NAME}"
6563
},
6664
"spec": {
6765
"host": "${APPLICATION_DOMAIN}",

examples/quickstarts/rails-postgresql-persistent.json

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"openshift.io/long-description": "This template defines resources needed to develop a Rails application, including a build configuration, application deployment configuration, and database deployment configuration.",
1212
"openshift.io/provider-display-name": "Red Hat, Inc.",
1313
"openshift.io/documentation-url": "https://github.com/openshift/rails-ex",
14-
"openshift.io/support-url": "https://access.redhat.com"
14+
"openshift.io/support-url": "https://access.redhat.com",
15+
"template.openshift.io/bindable": "false"
1516
}
1617
},
1718
"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.",
@@ -23,11 +24,7 @@
2324
"kind": "Secret",
2425
"apiVersion": "v1",
2526
"metadata": {
26-
"name": "${NAME}",
27-
"annotations": {
28-
"template.openshift.io/expose-username": "{.data['application-user']}",
29-
"template.openshift.io/expose-password": "{.data['application-password']}"
30-
}
27+
"name": "${NAME}"
3128
},
3229
"stringData" : {
3330
"database-user" : "${DATABASE_USER}",
@@ -64,10 +61,7 @@
6461
"kind": "Route",
6562
"apiVersion": "v1",
6663
"metadata": {
67-
"name": "${NAME}",
68-
"annotations": {
69-
"template.openshift.io/expose-uri": "http://{.spec.host}{.spec.path}"
70-
}
64+
"name": "${NAME}"
7165
},
7266
"spec": {
7367
"host": "${APPLICATION_DOMAIN}",

examples/quickstarts/rails-postgresql.json

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"openshift.io/long-description": "This template defines resources needed to develop a Rails 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.",
1212
"openshift.io/provider-display-name": "Red Hat, Inc.",
1313
"openshift.io/documentation-url": "https://github.com/openshift/rails-ex",
14-
"openshift.io/support-url": "https://access.redhat.com"
14+
"openshift.io/support-url": "https://access.redhat.com",
15+
"template.openshift.io/bindable": "false"
1516
}
1617
},
1718
"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.",
@@ -23,11 +24,7 @@
2324
"kind": "Secret",
2425
"apiVersion": "v1",
2526
"metadata": {
26-
"name": "${NAME}",
27-
"annotations": {
28-
"template.openshift.io/expose-username": "{.data['application-user']}",
29-
"template.openshift.io/expose-password": "{.data['application-password']}"
30-
}
27+
"name": "${NAME}"
3128
},
3229
"stringData" : {
3330
"database-user" : "${DATABASE_USER}",
@@ -64,10 +61,7 @@
6461
"kind": "Route",
6562
"apiVersion": "v1",
6663
"metadata": {
67-
"name": "${NAME}",
68-
"annotations": {
69-
"template.openshift.io/expose-uri": "http://{.spec.host}{.spec.path}"
70-
}
64+
"name": "${NAME}"
7165
},
7266
"spec": {
7367
"host": "${APPLICATION_DOMAIN}",

0 commit comments

Comments
 (0)