-
Notifications
You must be signed in to change notification settings - Fork 8
Creating a Secure URL for Innerloop Development
Adam Wisniewski edited this page Oct 15, 2020
·
1 revision
The Open Liberty stack activates a default HTTP route on port 9080. This can be used for most development and testing. If, however, a secure route is needed (e.g. accessing MP Metrics), you can create one with the following steps:
-
Create the secure URL
odo url create --secure --port=9443 odo push
-
(Temporary workaround) Manually edit the Route in OCP.
The "odo url create" command does not currently support additional Route configuration options. Additionally, devfiles does not support tls.termination configuration: https://github.com/eclipse/che/issues/14622
In order to properly configure the secure route do the following:
- Navigate to your secure route in OCP (Networking -> Routes -> <route_name>)
- Remove
spec.tls.path: /
from the YAML configuration file - Manually set
spec.tls.termination: passthrough
in the YAML configuration file