Skip to content

Commit d301266

Browse files
authored
Merge pull request #96 from bparees/annotations
remove template prefix from tsb annotations
2 parents 1fbcd44 + 5a60d80 commit d301266

File tree

2 files changed

+10
-18
lines changed

2 files changed

+10
-18
lines changed

openshift/templates/rails-postgresql-persistent.json

+5-9
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
"description": "An example Rails application with a PostgreSQL database. For more information about using this template, including OpenShift considerations, see https://github.com/openshift/rails-ex/blob/master/README.md.",
99
"tags": "quickstart,ruby,rails",
1010
"iconClass": "icon-ruby",
11-
"template.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.",
12-
"template.openshift.io/provider-display-name": "Red Hat, Inc.",
13-
"template.openshift.io/documentation-url": "https://github.com/openshift/rails-ex",
14-
"template.openshift.io/support-url": "https://access.redhat.com"
11+
"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.",
12+
"openshift.io/provider-display-name": "Red Hat, Inc.",
13+
"openshift.io/documentation-url": "https://github.com/openshift/rails-ex",
14+
"openshift.io/support-url": "https://access.redhat.com"
1515
}
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.",
@@ -23,11 +23,7 @@
2323
"kind": "Secret",
2424
"apiVersion": "v1",
2525
"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-
}
26+
"name": "${NAME}"
3127
},
3228
"stringData" : {
3329
"database-user" : "${DATABASE_USER}",

openshift/templates/rails-postgresql.json

+5-9
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
"description": "An example Rails application with a PostgreSQL database. For more information about using this template, including OpenShift considerations, see https://github.com/openshift/rails-ex/blob/master/README.md.\n\nWARNING: Any data stored will be lost upon pod destruction. Only use this template for testing.",
99
"tags": "quickstart,ruby,rails",
1010
"iconClass": "icon-ruby",
11-
"template.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.",
12-
"template.openshift.io/provider-display-name": "Red Hat, Inc.",
13-
"template.openshift.io/documentation-url": "https://github.com/openshift/rails-ex",
14-
"template.openshift.io/support-url": "https://access.redhat.com"
11+
"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.",
12+
"openshift.io/provider-display-name": "Red Hat, Inc.",
13+
"openshift.io/documentation-url": "https://github.com/openshift/rails-ex",
14+
"openshift.io/support-url": "https://access.redhat.com"
1515
}
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.",
@@ -23,11 +23,7 @@
2323
"kind": "Secret",
2424
"apiVersion": "v1",
2525
"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-
}
26+
"name": "${NAME}"
3127
},
3228
"stringData" : {
3329
"database-user" : "${DATABASE_USER}",

0 commit comments

Comments
 (0)