create_route
Create an OpenShift Route by exposing a Service, with optional TLS termination and path settings.
Instructions
Create an OpenShift Route by exposing a Service.
Uses 'oc expose' to create a basic route and then patches TLS termination and path if required.
Args: name: Route name. namespace: Namespace. service: Name of the Service to expose. host: Hostname for the route (empty = let the router assign one). path: URL path prefix (default "/"). tls_termination: TLS termination type: "edge", "passthrough", "reencrypt", or "" (no TLS). port: Target port name or number (empty = first port from Service). cluster: Named cluster to target (empty = default).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | ||
| name | Yes | ||
| path | No | / | |
| port | No | ||
| cluster | No | ||
| service | Yes | ||
| namespace | Yes | ||
| tls_termination | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |