Repository: mesos Updated Branches: refs/heads/master eecd2870c -> b28e4a92d
Added secret to Volume protobuf. The volume/secret isolator will use a secret-fetcher module (third-party or internal) to download the secret and makes it available at container_path. Review: https://reviews.apache.org/r/58758 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/b28e4a92 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/b28e4a92 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/b28e4a92 Branch: refs/heads/master Commit: b28e4a92d6e5f87a568f6e34a5d8fce5a0759b00 Parents: eecd287 Author: Kapil Arya <[email protected]> Authored: Thu Apr 20 14:47:15 2017 -0400 Committer: Kapil Arya <[email protected]> Committed: Fri Apr 28 18:12:03 2017 -0400 ---------------------------------------------------------------------- include/mesos/mesos.proto | 5 +++++ include/mesos/v1/mesos.proto | 5 +++++ 2 files changed, 10 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/b28e4a92/include/mesos/mesos.proto ---------------------------------------------------------------------- diff --git a/include/mesos/mesos.proto b/include/mesos/mesos.proto index 46bb781..8efedb5 100644 --- a/include/mesos/mesos.proto +++ b/include/mesos/mesos.proto @@ -2206,6 +2206,7 @@ message Volume { // TODO(gyliu513): Add HOST_PATH and IMAGE as volume source type. DOCKER_VOLUME = 1; SANDBOX_PATH = 2; + SECRET = 3; } message DockerVolume { @@ -2248,6 +2249,10 @@ message Volume { optional DockerVolume docker_volume = 2; optional SandboxPath sandbox_path = 3; + + // The volume/secret isolator uses the secret-fetcher module (third-party or + // internal) downloads the secret and makes it available at container_path. + optional Secret secret = 4; } optional Source source = 5; http://git-wip-us.apache.org/repos/asf/mesos/blob/b28e4a92/include/mesos/v1/mesos.proto ---------------------------------------------------------------------- diff --git a/include/mesos/v1/mesos.proto b/include/mesos/v1/mesos.proto index f7c05a8..6d0bd8c 100644 --- a/include/mesos/v1/mesos.proto +++ b/include/mesos/v1/mesos.proto @@ -2189,6 +2189,7 @@ message Volume { // TODO(gyliu513): Add HOST_PATH and IMAGE as volume source type. DOCKER_VOLUME = 1; SANDBOX_PATH = 2; + SECRET = 3; } message DockerVolume { @@ -2231,6 +2232,10 @@ message Volume { optional DockerVolume docker_volume = 2; optional SandboxPath sandbox_path = 3; + + // The volume/secret isolator uses the secret-fetcher module (third-party or + // internal) downloads the secret and makes it available at container_path. + optional Secret secret = 4; } optional Source source = 5;
