Skip to content

feat: add ClusterLifecycle command and deprecate lifecycle command#433

Merged
tomkennedy513 merged 3 commits intobuildpacks-community:mainfrom
neil-hickey:feat/add-clusterlifecycle-command
Jan 8, 2026
Merged

feat: add ClusterLifecycle command and deprecate lifecycle command#433
tomkennedy513 merged 3 commits intobuildpacks-community:mainfrom
neil-hickey:feat/add-clusterlifecycle-command

Conversation

@neil-hickey
Copy link
Contributor

@neil-hickey neil-hickey commented Jan 6, 2026

Add ClusterLifecycle CRD support with new command group and deprecate the old ConfigMap-based lifecycle command.

New Features

ClusterLifecycle Commands

  • Add 'kp clusterlifecycle create' - Create cluster-scoped lifecycle
  • Add 'kp clusterlifecycle delete' - Delete cluster lifecycle
  • Add 'kp clusterlifecycle list' - List all cluster lifecycles
  • Add 'kp clusterlifecycle patch' - Patch existing lifecycle
  • Add 'kp clusterlifecycle save' - Create or patch lifecycle
  • Add 'kp clusterlifecycle status' - Display lifecycle status

Deprecation

  • Add deprecation warning to 'kp lifecycle patch' command
  • Directs users to use 'kp clusterlifecycle' commands instead

Dependencies

  • Upgrade kpack from v0.12.1 to v0.17.1 (adds ClusterLifecycle CRD)

Documentation

  • Generate complete documentation for all clusterlifecycle commands
  • Updated main kp.md with new command group

- Add 'kp clusterlifecycle create' - Create cluster-scoped lifecycle
- Add 'kp clusterlifecycle delete' - Delete cluster lifecycle
- Add 'kp clusterlifecycle list' - List all cluster lifecycles
- Add 'kp clusterlifecycle patch' - Patch existing lifecycle
- Add 'kp clusterlifecycle save' - Create or patch lifecycle
- Add 'kp clusterlifecycle status' - Display lifecycle status

- Add deprecation warning to 'kp lifecycle patch' command
- Directs users to use 'kp clusterlifecycle' commands instead
- Fix bug in UpdateLifecycle method to use Spec.ImageSource.Image instead of Spec.Image
- Fix typo in patch command documentation ('the the' -> 'the')
- Add comment to compatibility layer explaining ErrV1alpha2Required behavior
@neil-hickey neil-hickey force-pushed the feat/add-clusterlifecycle-command branch from 667e6a6 to f388080 Compare January 7, 2026 21:13
@neil-hickey neil-hickey marked this pull request as ready for review January 7, 2026 21:14
@neil-hickey neil-hickey requested a review from a team as a code owner January 7, 2026 21:14
@tomkennedy513 tomkennedy513 merged commit b3705c1 into buildpacks-community:main Jan 8, 2026
1 check passed
@neil-hickey neil-hickey deleted the feat/add-clusterlifecycle-command branch January 8, 2026 21:43
tomkennedy513 added a commit that referenced this pull request Jan 23, 2026
…mmand

feat: add ClusterLifecycle command and deprecate lifecycle command
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