diff options
author | Fabricio Voznika <fvoznika@google.com> | 2020-09-01 11:10:15 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-09-01 11:12:19 -0700 |
commit | 71589b7f7e69b85820c9deb75fc6d0b6c5f00eb1 (patch) | |
tree | 89811036609d6d6c1ad0da6c32f02024aa15c8b4 /runsc/specutils/BUILD | |
parent | 0eae08bc9e77d54c415c9d59ac3e1fa1f35f0a18 (diff) |
Let flags be overriden from OCI annotations
This allows runsc flags to be set per sandbox instance. For
example, K8s pod annotations can be used to enable
--debug for a single pod, making troubleshoot much easier.
Similarly, features like --vfs2 can be enabled for
experimentation without affecting other pods in the node.
Closes #3494
PiperOrigin-RevId: 329542815
Diffstat (limited to 'runsc/specutils/BUILD')
-rw-r--r-- | runsc/specutils/BUILD | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runsc/specutils/BUILD b/runsc/specutils/BUILD index 43851a22f..679d8bc8e 100644 --- a/runsc/specutils/BUILD +++ b/runsc/specutils/BUILD @@ -16,6 +16,7 @@ go_library( "//pkg/bits", "//pkg/log", "//pkg/sentry/kernel/auth", + "//runsc/config", "@com_github_cenkalti_backoff//:go_default_library", "@com_github_mohae_deepcopy//:go_default_library", "@com_github_opencontainers_runtime_spec//specs-go:go_default_library", |