Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1.17 KB

README.md

File metadata and controls

43 lines (27 loc) · 1.17 KB

Cilium Proxy

This project provides the Envoy binary with additional Cilium filters.

Building

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

How it works

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.

Updating Gopkg.toml

  1. Extract the ENVOY_SHA variable from from WORKSPACE

  2. Go to https://raw.githubusercontent.com/envoyproxy/envoy/${ENVOY_SHA}/api/bazel/repository_locations.bzl

  3. Extract GOGOPROTO_RELEASE and PGV_RELEASE variables.

  4. Update the Gopkg.toml where GOGOPROTO_RELEASE is the revision of github.com/gogo/protobuf

  5. Update the Gopkg.toml where PGV_RELEASE is the revision of github.com/lyft/protoc-gen-validate

  6. Execute dep ensure -no-vendor