This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
containers
release specs to update-manifests
This adds a new release spec format providing update requests on container level. Sample POST request body: ``` { "type": "containers", "spec": { "ContainerSpecs": { "default:deployment/nginx": [ { "Container": "nginx", "Current": "nginx:1.14.0", "Target": "nginx:1.15.0" } ], "default:deployment/helloworld": [ { "Container": "helloworld", "Current": "quay.io/weaveworks/helloworld:master-07a1b6b", "Target": "quay.io/weaveworks/helloworld:master-a000004" }, { "Container": "sidecar", "Current": "quay.io/weaveworks/sidecar:master-a000001", "Target": "quay.io/weaveworks/sidecar:master-a000002" } ] }, "Kind": "plan", "SkipMismatches": false } } ``` The request will fail if any of the Current container image requirements are not met. To have partial updates go through failures, one can pass true for IgnoreMismatches. Note that this still leads to an error if containers cannot be found. Also, `Current` can be left empty to disable any precondition check.
- Loading branch information
Showing
5 changed files
with
364 additions
and
19 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.