From 3c2629779e2d7cbe9652db9223f5fb8bfc060e8c Mon Sep 17 00:00:00 2001 From: Jim Minter Date: Tue, 7 Nov 2017 13:03:41 -0600 Subject: [PATCH] remove expose annotations from quickstarts and add bindable: false --- openshift/templates/httpd.json | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/openshift/templates/httpd.json b/openshift/templates/httpd.json index ebba9ee6..3771280b 100644 --- a/openshift/templates/httpd.json +++ b/openshift/templates/httpd.json @@ -11,7 +11,8 @@ "openshift.io/long-description": "This template defines resources needed to develop a static application served by Apache HTTP Server (httpd), including a build configuration and application deployment configuration.", "openshift.io/provider-display-name": "Red Hat, Inc.", "openshift.io/documentation-url": "https://github.com/openshift/httpd-ex", - "openshift.io/support-url": "https://access.redhat.com" + "openshift.io/support-url": "https://access.redhat.com", + "template.openshift.io/bindable": "false" } }, "message": "The following service(s) have been created in your project: ${NAME}.\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/openshift/httpd-ex/blob/master/README.md.", @@ -45,10 +46,7 @@ "kind": "Route", "apiVersion": "v1", "metadata": { - "name": "${NAME}", - "annotations": { - "template.openshift.io/expose-uri": "http://{.spec.host}{.spec.path}" - } + "name": "${NAME}" }, "spec": { "host": "${APPLICATION_DOMAIN}",