github.com/oam-dev/kubevela@v1.9.11/references/docgen/def-doc/trait/ingress.eg.md (about)

     1  ```yaml
     2  kind: Application
     3  metadata:
     4    name: first-vela-app
     5  spec:
     6    components:
     7      - name: express-server
     8        type: webservice
     9        properties:
    10          image: crccheck/hello-world
    11          port: 8000
    12        traits:
    13          - type: ingress
    14            properties:
    15              domain: testsvc.example.com
    16              http:
    17                "/": 8000
    18  ```