forked from k8sgateway/k8sgateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tilt-settings.yaml
54 lines (50 loc) · 1.54 KB
/
tilt-settings.yaml
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
helm_installation_name: gloo-oss
helm_values_files:
- ./test/kubernetes/e2e/tests/manifests/common-recommendations.yaml
# - ./test/kubernetes/e2e/tests/manifests/profiles/kubernetes-gateway.yaml
helm_installation_namespace: gloo-system
enabled_providers:
- gloo
- gateway-proxy
metal_lb: false
providers:
gloo:
context: _output/projects/gloo
image: quay.io/solo-io/gloo
live_reload_deps:
- projects/gloo
label: gloo
build_binary: GCFLAGS='all="-N -l"' make -B gloo
binary_name: gloo-linux-$ARCH
# debug_port: 50100
port_forwards:
- 9091
# - 50100
gateway-proxy:
context: _output/gateway-proxy
image: quay.io/solo-io/gloo-envoy-wrapper
# Ensure your binary exists. If not and would still like the logs and port forwarding in Tilt, keep this commented
# live_reload_deps:
# - _output/gateway-proxy
label: gateway-proxy
binary_name: envoy
binary_path: "/app/envoy"
port_forwards:
- 19000
- 8080
links:
- http://localhost:19000/config_dump
dockerfile_contents: |
FROM quay.io/solo-io/gloo-envoy-wrapper:1.15.1 as tilt
WORKDIR /app
COPY --from=tilt-helper /process.txt .
COPY --from=tilt-helper /start.sh .
COPY --from=tilt-helper /restart.sh .
COPY --from=tilt-helper /go/bin/dlv .
USER root
COPY $binary_name /app/envoy
RUN rm -rf /usr/local/bin/envoy
RUN chmod -R 777 /app
RUN ln -s /app/envoy /usr/local/bin/envoy
USER 10101
ENTRYPOINT /app/start.sh /docker-entrypoint.sh