Skip to content

Support for ICC managed deployment#89

Merged
marcopiraccini merged 2 commits into
mainfrom
icc-deploy
Jul 2, 2026
Merged

Support for ICC managed deployment#89
marcopiraccini merged 2 commits into
mainfrom
icc-deploy

Conversation

@marcopiraccini

@marcopiraccini marcopiraccini commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Adds a --via-icc deploy path so desk drives deploys through ICC's deploy API letting you exercise the skew-protection actuation modes.

Changes

  • desk deploy --via-icc --app-id <id> --deploy-token <plt_deploy_...> --image <ref> --version <v>:
    • manage → ICC creates the Deployment + Service
    • advise → ICC returns manifests; desk applies them (--dry-run to only print)
    • observe → ICC rejects (default direct path, without --via-icc, is unchanged)
  • lib/icc.js: deployViaIcc (Bearer deploy-token auth) + apply-the-plan helper.
  • profiles/skew-protection.yaml: sets manage_mode: true so manage works out of
    the box — this needs the RBAC from Support for ICC managed deployment helm#61.
  • README documents --via-icc.

Backward compatible: default desk deploy behavior is unchanged. Refs PRD-1862.

Signed-off-by: marcopiraccini <marco.piraccini@gmail.com>
Signed-off-by: marcopiraccini <marco.piraccini@gmail.com>
@marcopiraccini
marcopiraccini marked this pull request as ready for review July 1, 2026 13:33

@leorossi leorossi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@marcopiraccini
marcopiraccini merged commit 3d883d1 into main Jul 2, 2026
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.

2 participants