Skip to content

[deckhouse-cli] Fetch plugin contracts from manifest annotation#388

Draft
Glitchy-Sheep wants to merge 1 commit into
feat/multiplatform-rpp-requestfrom
feat/update-using-manifests-contract
Draft

[deckhouse-cli] Fetch plugin contracts from manifest annotation#388
Glitchy-Sheep wants to merge 1 commit into
feat/multiplatform-rpp-requestfrom
feat/update-using-manifests-contract

Conversation

@Glitchy-Sheep

@Glitchy-Sheep Glitchy-Sheep commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

No description provided.

- `Client.GetManifest` fetches the raw image manifest over
  `/<image>/manifests/<ref>` - one manifest fetch, no layer pull. The binary is
  pulled only on install.
- The CLI reads the base64 `contract` annotation itself; the proxy stays generic
  and returns the manifest verbatim.
- Multi-platform images: when the index carries no contract, the first child
  manifest is followed by digest, so the contract is found wherever it lives.
- A missing annotation yields name+version (contract-less plugin); a malformed one
  is an error. `selectCompatible` hard-stops on any contract error and never
  silently demotes to an older installed version.

Signed-off-by: Roman Berezkin <roman.berezkin@flant.com>
@Glitchy-Sheep Glitchy-Sheep force-pushed the feat/multiplatform-rpp-request branch from fc4d5dd to 7b84a8a Compare June 23, 2026 11:11
@Glitchy-Sheep Glitchy-Sheep force-pushed the feat/update-using-manifests-contract branch from 4dec67e to aaae09f Compare June 23, 2026 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant