Files
goma-gateway/docs/operator-manual/route.md
2024-12-02 07:50:42 +01:00

712 B

title, layout, parent, nav_order
title layout parent nav_order
Route default Operator Manual 4

Route

A simple example of route

apiVersion: gomaproj.github.io/v1beta1
kind: Route
metadata:
  labels: {}
  name: route-sample
spec:
  gateway: gateway-sample
  path: /
  hosts: []
  rewrite: /
  methods:
    - GET
    - POST
    - PUT
  destination: https://example.com
  backends: []
  insecureSkipVerify: false
  healthCheck:
    path: /
    interval: 10s
    timeout: 10s
    healthyStatuses:
      - 200
      - 404
  cors:
    origins: []
    headers: {}
  rateLimit: 15
  disableHostFording: true
  interceptErrors: []
  blockCommonExploits: false
  ## Middleware names
  middlewares:
    - basic-middleware-sample