Skip to content

Commit 0ff8fb3

Browse files
authored
Merge pull request #97 from pvalena/sync-templates
Sync templates from openshift/origin.
2 parents d301266 + cbf27c4 commit 0ff8fb3

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

openshift/templates/rails-postgresql-persistent.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@
2323
"kind": "Secret",
2424
"apiVersion": "v1",
2525
"metadata": {
26-
"name": "${NAME}"
26+
"name": "${NAME}",
27+
"annotations": {
28+
"template.openshift.io/expose-username": "{.data['application-user']}",
29+
"template.openshift.io/expose-password": "{.data['application-password']}"
30+
}
2731
},
2832
"stringData" : {
2933
"database-user" : "${DATABASE_USER}",

openshift/templates/rails-postgresql.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@
2323
"kind": "Secret",
2424
"apiVersion": "v1",
2525
"metadata": {
26-
"name": "${NAME}"
26+
"name": "${NAME}",
27+
"annotations": {
28+
"template.openshift.io/expose-username": "{.data['application-user']}",
29+
"template.openshift.io/expose-password": "{.data['application-password']}"
30+
}
2731
},
2832
"stringData" : {
2933
"database-user" : "${DATABASE_USER}",

0 commit comments

Comments
 (0)