runtime: distinct symlink root and subdir in layered runtime. (#7335)

Without a distinction between the root and subdir, we can't watch for
symlink swaps that cover multiple layers.

Risk level: Low
Testing: additional test expects added.

Signed-off-by: Harvey Tuch <htuch@google.com>

Mirrored from https://github.com/envoyproxy/envoy @ 49b5a915324e44b9445e3fc5434e0deffaf3f94f
pull/620/head
data-plane-api(CircleCI) 6 years ago
parent 8e32c3eab6
commit b18f7d02cb
  1. 5
      envoy/config/bootstrap/v2/bootstrap.proto

@ -248,6 +248,11 @@ message RuntimeLayer {
// treated.
string symlink_root = 1;
// Specifies the subdirectory to load within the root directory. This is
// useful if multiple systems share the same delivery mechanism. Envoy
// configuration elements can be contained in a dedicated subdirectory.
string subdirectory = 3;
// :ref:`Append <config_runtime_local_disk_service_cluster_subdirs>` the
// service cluster to the path under symlink root.
bool append_service_cluster = 2;

Loading…
Cancel
Save