Skip to content

Commit

Permalink
Add support for passing Config ID as CredentialSpec
Browse files Browse the repository at this point in the history
Adds support for passing a config ID as the CredentialSpec source. Also
lays the groundwork for future uses of secrets and configs in places
other than mounted into the container.

Signed-off-by: Drew Erny <drew.erny@docker.com>
  • Loading branch information
dperny committed Nov 28, 2018
1 parent 72e2559 commit 757a237
Show file tree
Hide file tree
Showing 5 changed files with 696 additions and 350 deletions.
20 changes: 20 additions & 0 deletions api/api.pb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3824,6 +3824,9 @@ file {
json_name: "mode"
}
}
message_type {
name: "RuntimeTarget"
}
message_type {
name: "SecretReference"
field {
Expand Down Expand Up @@ -3878,6 +3881,15 @@ file {
oneof_index: 0
json_name: "file"
}
field {
name: "runtime"
number: 4
label: LABEL_OPTIONAL
type: TYPE_MESSAGE
type_name: ".docker.swarmkit.v1.RuntimeTarget"
oneof_index: 0
json_name: "runtime"
}
oneof_decl {
name: "target"
}
Expand Down Expand Up @@ -4055,6 +4067,14 @@ file {
oneof_index: 0
json_name: "registry"
}
field {
name: "Config"
number: 3
label: LABEL_OPTIONAL
type: TYPE_STRING
oneof_index: 0
json_name: "Config"
}
oneof_decl {
name: "source"
}
Expand Down
1 change: 1 addition & 0 deletions api/ca.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 757a237

Please sign in to comment.