Replace swarm Capabilites API with cap add/drop API#41249
Merged
thaJeztah merged 2 commits intomoby:masterfrom Jul 27, 2020
Merged
Replace swarm Capabilites API with cap add/drop API#41249thaJeztah merged 2 commits intomoby:masterfrom
thaJeztah merged 2 commits intomoby:masterfrom
Conversation
This picks up the API changes for cap add/drop for services. Signed-off-by: Brian Goff <[email protected]>
tonistiigi
approved these changes
Jul 23, 2020
Contributor
|
SGTM |
Member
|
Looks like compile is failing; |
thaJeztah
approved these changes
Jul 27, 2020
Member
thaJeztah
left a comment
There was a problem hiding this comment.
LGTM, thanks!
(spotted one typo, but not a blocker)
After dicussing with maintainers, it was decided putting the burden of providing the full cap list on the client is not a good design. Instead we decided to follow along with the container API and use cap add/drop. This brings in the changes already merged into swarmkit. Signed-off-by: Brian Goff <[email protected]>
Member
|
Sigh |
Member
|
Looks like this one is flaky again |
Member
|
All green now |
thaJeztah
added a commit
to thaJeztah/cli
that referenced
this pull request
Jul 28, 2020
full diff: http://github.com/docker/docker/compare/78e6ffd279b627ebba046b9675ff4849091d9cc3...0f41a77c6993ade605a639fb25994cfe5e1b3fe8 Relevant changes: - moby/moby#41234 vendor: update buildkit to 4d1f260e8 - various updates to swagger files - moby/moby#41249 Replace swarm Capabilites API with cap add/drop API - updates swarmkit to 035d564a3686f5e348d861ec0c074ff26854c498 - moby/moby#41254 Deprecate KernelMemory Signed-off-by: Sebastiaan van Stijn <[email protected]>
docker-jenkins
pushed a commit
to docker-archive/docker-ce
that referenced
this pull request
Jul 29, 2020
full diff: http://github.com/docker/docker/compare/78e6ffd279b627ebba046b9675ff4849091d9cc3...0f41a77c6993ade605a639fb25994cfe5e1b3fe8 Relevant changes: - moby/moby#41234 vendor: update buildkit to 4d1f260e8 - various updates to swagger files - moby/moby#41249 Replace swarm Capabilites API with cap add/drop API - updates swarmkit to 035d564a3686f5e348d861ec0c074ff26854c498 - moby/moby#41254 Deprecate KernelMemory Signed-off-by: Sebastiaan van Stijn <[email protected]> Upstream-commit: 097d57314d12c5b2b8dd267353172e51948a25f1 Component: cli
akerouanton
pushed a commit
to akerouanton/cli
that referenced
this pull request
Jul 29, 2020
full diff: http://github.com/docker/docker/compare/78e6ffd279b627ebba046b9675ff4849091d9cc3...0f41a77c6993ade605a639fb25994cfe5e1b3fe8 Relevant changes: - moby/moby#41234 vendor: update buildkit to 4d1f260e8 - various updates to swagger files - moby/moby#41249 Replace swarm Capabilites API with cap add/drop API - updates swarmkit to 035d564a3686f5e348d861ec0c074ff26854c498 - moby/moby#41254 Deprecate KernelMemory Signed-off-by: Sebastiaan van Stijn <[email protected]>
Contributor
|
Placing a note here for anyone falling into this (like me). |
dmandalidis
added a commit
to dmandalidis/docker-client
that referenced
this pull request
Dec 27, 2020
dmandalidis
added a commit
to dmandalidis/docker-client
that referenced
this pull request
Dec 27, 2020
dmandalidis
added a commit
to dmandalidis/docker-client
that referenced
this pull request
Dec 27, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replace service "Capabilities" w/ add/drop API
After dicussing with maintainers, it was decided putting the burden of
providing the full cap list on the client is not a good design.
Instead we decided to follow along with the container API and use cap
add/drop.
This brings in the changes already merged into swarmkit.