Configuration generator

Envoy configurations can become relatively complicated. The source distribution includes a version of the configuration generator that uses jinja templating to make the configurations easier to create and manage. We have also included three example configuration templates for each of the above three scenarios.

To generate the example configurations run the following from the root of the repo:

mkdir -p generated/configs
bazel build //configs:example_configs
tar xvf $PWD/bazel-out/k8-fastbuild/bin/configs/example_configs.tar -C generated/configs

The previous command will produce three fully expanded configurations using some variables defined inside of configgen.py. See the comments inside of configgen.py for detailed information on how the different expansions work.

A few notes about the example configurations: