Files
kubevela/docs/en/developers/references/traits/route.md
Lei Zhang (Harry) d8eb7d687c Add user docs (#1472)
2021-04-13 15:20:39 +08:00

39 lines
822 B
Markdown

---
title: Route
---
## Description
Configures external access to your service.
## Specification
List of all configuration options for a `Route` trait.
```yaml
...
domain: example.com
issuer: tls
rules:
- path: /testapp
rewriteTarget: /
```
## Properties
Name | Description | Type | Required | Default
------------ | ------------- | ------------- | ------------- | -------------
domain | Domain name | string | true | empty
issuer | | string | true | empty
rules | | [[]rules](#rules) | false |
provider | | string | false |
ingressClass | | string | false |
### rules
Name | Description | Type | Required | Default
------------ | ------------- | ------------- | ------------- | -------------
path | | string | true |
rewriteTarget | | string | true | empty