jboss-openshift / application-templates

OpenShift application templates supporting JBoss Middleware based applications.
Apache License 2.0
153 stars 301 forks source link

[CLOUD-2216] Drop definition of HTTP route and service for RH-SSO x509 templates #458

Closed iankko closed 6 years ago

iankko commented 6 years ago

which are primarily dedicated to be deployed on OpenShift Online environment

Since without workaround (setting sslRequired to false) on particular realm definition these templates don't work OOTB on OpenShift Online for the case of HTTP route by default (We're sorry, HTTPS required. error message is displayed in the RH-SSO Administrator Console instead)

Also update the name of the HTTPS service and route to ${APPLICATION_NAME}

Signed-off-by: Jan Lieskovsky jlieskov@redhat.com

Note: The exposure of http port in the container has been intentionally left out of this change. If that part, IOW these lines:

77                                     {
278                                         "name": "http",
279                                         "containerPort": 8080,
280                                         "protocol": "TCP"
281                                     },

should be removed from the templates within this change too, let me know.

iankko commented 6 years ago

@rcernich @Crumby PTAL (once got a chance)

Thank you, Jan