summaryrefslogtreecommitdiffstats
path: root/extras/hs-test/topo-containers/ns.yaml
blob: bdba5605e8785181ef7a8a7d5eab4933997f01f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
volumes:
  - volume: &shared-vol
      host-dir: shared-vol

# $HST_DIR will be replaced during runtime by path to hs-test directory
containers:
  - name: "vpp"
    volumes:
      - <<: *shared-vol
        container-dir: "/tmp/vpp"
        is-default-work-dir: true
  - name: "envoy"
    volumes:
      - host-dir: "$HST_DIR/envoy/proxy.yaml"
        container-dir: "/etc/envoy/envoy.yaml"
      - <<: *shared-vol
        container-dir: "/tmp/vpp-envoy"
        is-default-work-dir: true
      - host-dir: "$HST_DIR/envoy"
        container-dir: "/tmp"
    vars:
      - name: "ENVOY_UID"
        value: "0"
      - name: "VCL_CONFIG"
        value: "/tmp/vcl.conf"
    image: "envoyproxy/envoy-contrib:v1.21-latest"
    is-optional: true