-
Notifications
You must be signed in to change notification settings - Fork 775
Expand file tree
/
Copy pathtilt-settings.yaml
More file actions
61 lines (54 loc) · 2.07 KB
/
Copy pathtilt-settings.yaml
File metadata and controls
61 lines (54 loc) · 2.07 KB
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
55
56
57
58
59
60
61
helm_installation_name: kgateway
# Add your custom helm value files here
helm_values_files:
- ./test/e2e/tests/manifests/common-recommendations.yaml
helm_installation_namespace: kgateway-system
# Inline Helm --set flags (key: value format)
helm_flags: {}
# Example: controller.extraEnv.KGW_VALIDATION_MODE: "strict"
enabled_providers:
- kgateway
metal_lb: false
providers:
# Service name
kgateway:
# The output dir of the binary
context: _output/pkg/kgateway
# Image name of the container in the deployment
image: ghcr.io/kgateway-dev/kgateway
# Files / folders to watch. Changes here will trigger a rebuild and reload
live_reload_deps:
- pkg
- internal
# The service name
label: kgateway
# Command to build the binary
# NOTE: If you want to build the binary with debugging enabled, uncomment the following line and comment out the next line.
#build_binary: make -B kgateway GCFLAGS="all=-N -l" LDFLAGS=""
build_binary: make -B kgateway
# Name of the binary file when built
binary_name: kgateway-linux-$ARCH
# Custom Dockerfile with Envoy binary for strict validation mode.
# NOTE: Do NOT include ENTRYPOINT here - the Tiltfile will append the correct
# entrypoint (standard or debug) based on whether debug_port is set.
dockerfile_contents: |
FROM envoyproxy/envoy:v1.38.3 as envoy-bin
FROM golang:latest as tilt
WORKDIR /app
COPY --from=tilt-helper /go/bin/dlv /go/bin/dlv
COPY --from=tilt-helper /process.txt .
COPY --from=tilt-helper /start.sh .
COPY --from=tilt-helper /restart.sh .
# Copy envoy binary for strict validation
COPY --from=envoy-bin /usr/local/bin/envoy /usr/local/bin/envoy
COPY $binary_name .
RUN chmod 777 ./$binary_name
# To enable debugging with strict validation, uncomment both debug_port and port 50100
#debug_port: 50100
links:
- http://localhost:9092/metrics
# Custom port forwarding. This can include non debug ports such as the envoy admin port
port_forwards:
- 9092
- 9095
#- 50100