runtime: add proto constraint to require a layer specifier (#7886)

Signed-off-by: Asra Ali <asraa@google.com>

Mirrored from https://github.com/envoyproxy/envoy @ 3380a14ec15bae10c9e240cc507a63cc19d40453
pull/620/head
data-plane-api(CircleCI) 6 years ago
parent 48d873c019
commit b75017977b
  1. 2
      envoy/config/bootstrap/v2/bootstrap.proto

@ -295,6 +295,8 @@ message RuntimeLayer {
// This follows the :ref:`runtime protobuf JSON representation encoding
// <config_runtime_proto_json>`. Unlike static xDS resources, this static
// layer is overridable by later layers in the runtime virtual filesystem.
option (validate.required) = true;
google.protobuf.Struct static_layer = 2;
DiskLayer disk_layer = 3;
AdminLayer admin_layer = 4;

Loading…
Cancel
Save