github.com/ferryproxy/api@v0.4.2/config/samples/traffic_v1alpha2_hub.yaml (about)

     1  apiVersion: traffic.ferryproxy.io/v1alpha2
     2  kind: Hub
     3  metadata:
     4    name: hub-0
     5    namespace: ferry-system
     6  spec:
     7  
     8    gateway:
     9      # This hub is reachable from the gateway.
    10      reachable: true
    11  
    12      # Addresses of the gateway.
    13      address: hub-host:31087
    14  
    15      # Other hubs need pass through to navigation
    16      navigation:
    17        - hubName: hub-1
    18  
    19      # This hub need pass through to reception
    20      reception:
    21        - hubName: hub-1
    22  
    23    #  Override will replace the peer default gateway, key is the peer TrafficHub.
    24    override:
    25      hub-2:
    26        reachable: false