From 5647b2a31ce6aa31b354980cbfcab3af8fccbca8 Mon Sep 17 00:00:00 2001 From: Jim Minter Date: Fri, 18 Aug 2017 12:14:14 -0500 Subject: [PATCH] add missing template.alpha.openshift.io/wait-for-ready annotations to examples --- openshift/templates/nodejs-mongodb-persistent.json | 3 ++- openshift/templates/nodejs-mongodb.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/openshift/templates/nodejs-mongodb-persistent.json b/openshift/templates/nodejs-mongodb-persistent.json index df3704b..8bc3015 100644 --- a/openshift/templates/nodejs-mongodb-persistent.json +++ b/openshift/templates/nodejs-mongodb-persistent.json @@ -309,7 +309,8 @@ "metadata": { "name": "${DATABASE_SERVICE_NAME}", "annotations": { - "description": "Defines how to deploy the database" + "description": "Defines how to deploy the database", + "template.alpha.openshift.io/wait-for-ready": "true" } }, "spec": { diff --git a/openshift/templates/nodejs-mongodb.json b/openshift/templates/nodejs-mongodb.json index eb6ab33..3df47d6 100644 --- a/openshift/templates/nodejs-mongodb.json +++ b/openshift/templates/nodejs-mongodb.json @@ -292,7 +292,8 @@ "metadata": { "name": "${DATABASE_SERVICE_NAME}", "annotations": { - "description": "Defines how to deploy the database" + "description": "Defines how to deploy the database", + "template.alpha.openshift.io/wait-for-ready": "true" } }, "spec": {