Files
kubevela/docs/en/developers/references/traits/route.md
2020-11-11 19:19:42 -08:00

909 B

Route

Description

Route is used to configure external access to your service.

Specification

List of all available properties for a Route trait.

name: my-app-name

services:
  my-service-name:
    ...
    route:
      domain: example.com
      issuer: tls
      rules:
        - path: /testapp
          rewriteTarget: /

Properties

Name Type Description Notes
Domain string specify your host url for this app [ default to (empty) ]
Issuer string specify your certificate issue [default to no tls]
Rules []RouteRules [optional]

RouteRules

Name Type Description Notes
Path string [ default to (empty) ]
RewriteTarget string [ default to (empty) ]