This project provides the Envoy binary with additional Cilium filters.
To build the Cilium Proxy, Bazel 0.19.0 or later is required.
To build the binary:
make
To build Docker images with Envoy and Istio:
make docker-image-envoy
make docker-istio-proxy
Envoy and
Istio Proxy are provided as Bazel
repositories and build dependencies. This repository provides a new
Envoy binary target which links together Cilium filters, Istio filters
and Envoy's main library (@envoy//source/exe:envoy_main_lib
). Cilium
filters use Envoy API and Envoy libraries as dependencies.
-
Extract the
ENVOY_SHA
variable from from WORKSPACE -
Go to
https://raw.githubusercontent.com/envoyproxy/envoy/${ENVOY_SHA}/api/bazel/repository_locations.bzl
-
Extract
GOGOPROTO_RELEASE
andPGV_RELEASE
variables. -
Update the
Gopkg.toml
whereGOGOPROTO_RELEASE
is the revision ofgithub.com/gogo/protobuf
-
Update the
Gopkg.toml
wherePGV_RELEASE
is the revision ofgithub.com/lyft/protoc-gen-validate
-
Execute
dep ensure -no-vendor