From 0e0c8d85a59eac6c41ec59fa44c4beec87abfeb2 Mon Sep 17 00:00:00 2001 From: Gl4di4torRr Date: Fri, 1 Feb 2019 11:19:02 -0500 Subject: [PATCH] fix readiness probe --- basic-nginx/.openshift/deployment/template.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/basic-nginx/.openshift/deployment/template.yml b/basic-nginx/.openshift/deployment/template.yml index 9396bd27..626b9db4 100644 --- a/basic-nginx/.openshift/deployment/template.yml +++ b/basic-nginx/.openshift/deployment/template.yml @@ -41,7 +41,8 @@ objects: command: - /bin/bash - -c - - curl -s -u 'http://localhost:8080' + - curl -s 'localhost:8080' + | grep "Welcome to your static nginx application on OpenShift" terminationGracePeriodSeconds: 60 triggers: - imageChangeParams: