Skip to content

Commit 7c814b0

Browse files
authored
Merge pull request sclorg#131 from jim-minter/trello135-completion-detection
add template completion detection
2 parents 863b14e + 5ffcf0a commit 7c814b0

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

openshift/templates/nodejs-mongodb-persistent.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@
8787
"metadata": {
8888
"name": "${NAME}",
8989
"annotations": {
90-
"description": "Defines how to build the application"
90+
"description": "Defines how to build the application",
91+
"template.alpha.openshift.io/wait-for-ready": "true"
9192
}
9293
},
9394
"spec": {
@@ -152,7 +153,8 @@
152153
"metadata": {
153154
"name": "${NAME}",
154155
"annotations": {
155-
"description": "Defines how to deploy the application server"
156+
"description": "Defines how to deploy the application server",
157+
"template.alpha.openshift.io/wait-for-ready": "true"
156158
}
157159
},
158160
"spec": {

openshift/templates/nodejs-mongodb.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@
8787
"metadata": {
8888
"name": "${NAME}",
8989
"annotations": {
90-
"description": "Defines how to build the application"
90+
"description": "Defines how to build the application",
91+
"template.alpha.openshift.io/wait-for-ready": "true"
9192
}
9293
},
9394
"spec": {
@@ -152,7 +153,8 @@
152153
"metadata": {
153154
"name": "${NAME}",
154155
"annotations": {
155-
"description": "Defines how to deploy the application server"
156+
"description": "Defines how to deploy the application server",
157+
"template.alpha.openshift.io/wait-for-ready": "true"
156158
}
157159
},
158160
"spec": {

openshift/templates/nodejs.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@
7474
"metadata": {
7575
"name": "${NAME}",
7676
"annotations": {
77-
"description": "Defines how to build the application"
77+
"description": "Defines how to build the application",
78+
"template.alpha.openshift.io/wait-for-ready": "true"
7879
}
7980
},
8081
"spec": {
@@ -139,7 +140,8 @@
139140
"metadata": {
140141
"name": "${NAME}",
141142
"annotations": {
142-
"description": "Defines how to deploy the application server"
143+
"description": "Defines how to deploy the application server",
144+
"template.alpha.openshift.io/wait-for-ready": "true"
143145
}
144146
},
145147
"spec": {

0 commit comments

Comments
 (0)