Skip to content

Releases: akuity/kargo

v0.3.1

02 Jan 22:33
42f2d38
Compare
Choose a tag to compare

What's Changed

Bug fixes:

  • Fix CLI failures that occur when CLI configuration does not already exist.

Full Changelog: v0.3.0...v0.3.1

v0.3.0

22 Dec 22:29
882617b
Compare
Choose a tag to compare

The Kargo team is pleased to present a feature-packed v0.3.0 release!

⚠️  Be warned that with Kargo still in its early stages, and the team still learning what works and what doesn't, this release is packed with breaking changes. There is no supported upgrade path to v0.3.0 from previous releases.

What's New

PR-Based Promotions

Git-based promotion mechanisms may now, optionally, open a pull request instead of committing directly to a branch. Such promotions remain in a running state until the pull request is merged or closed. This exciting new capability gives teams the option to utilize code review as an implicit approval process.

This feature is currently only supported for GitHub repositories.

Verifications

After a successful promotion, Stage resources now enter a Verifying phase. Once such a Stage has cleared any applicable health checks, an optional, user-defined verification process is executed.

Some users may be familiar with Argo Rollouts AnalysisTemplate resources (and the AnalysisRun resources that are spawned from them). These were intentionally built to be re-usable in contexts other than Argo Rollouts. Kargo's user-defined verification processes, therefore, take the form of one or more references to AnalysisTemplate resources that reside in the same project/namespace as the Stage resource, which grants those processes all the benefits of this rich and battle-tested feature of Argo Rollouts.

SSO Improvements

Kargo is typically configured to support single-sign-on (SSO) using an external identity provider that implements the OpenID Connect protocol.

Kargo also implements authorization of all user actions using pure Kubernetes RBAC. i.e. Permission to perform various actions on various Kargo resources is therefore granted via RoleBinding resources that associate users or ServiceAccount resources with Role resources.

Because Kargo users log into the Kargo CLI or UI via SSO, their identifies are unknown to Kargo's underlying Kubernetes cluster. This represents an impediment to using Kubernetes RBAC to authorize the actions of such users. Kargo now answers this challenge through a scheme that permits users to be mapped to zero or more Kubernetes ServiceAccount resources.

Please, refer to the documentation for more details.

Freight Improvements

Aliases

If you've tried Kargo before, you may have noticed that each Freight resource's ID is a SHA-1 hash of that Freight resource's contents. Deriving the ID deterministically from the contents provides numerous technical benefits, but working with SHA-1 hashes is, to say the least, cumbersome for human users.

To that end, new Freight resources are now labeled with whimsical, system-generated aliases that are each guaranteed to be unique within the project/namespace. Unlike a Freight resource's ID, its alias is mutable, meaning users may optionally confer meaningful aliases on important pieces of Freight, such as a likely release candidate.

Updating Freight aliases is currently available via the Kargo CLI only. i.e. This feature is not yet present in the UI.

Manual Approvals

One bit of feedback we've heard a lot of is that a stringent requirement that a new piece of Freight traverses an entire delivery pipeline to reach production is too restrictive when the need for hotfix occasionally arises. To that end, Freight resources may now be manually approved for promotion to any Stage, thereby enabling that Freight to bypass deployment and verification in any number of intermediate Stages.

Manual Freight approval is currently available via the Kargo UI only. i.e. This feature is not yet present in the CLI.

Miscellaneous Improvements

  • Warehouse resources now perform shallow, single-branch clones of the Git repositories they subscribe to.

  • Freight references to container images now include digests as well as tags and digests can even be used in promotion processes in place of tags for a higher degree of determinism.

  • Much as with kubectl, Kargo CLI users may now configure a default project/namespace.

  • Numerous devx improvements.

  • Too many UI improvements and bug fixes to enumerate here!

New Contributors

Last, but certainly not least, Kargo would be nothing without its community, so we'd like to take a moment to thank community members whose first contributions to the project are included in this release:

Full Changelog: v0.2.1...v0.3.0

v0.3.0-rc.3

22 Dec 00:50
19deade
Compare
Choose a tag to compare
v0.3.0-rc.3 Pre-release
Pre-release
fix(controller): fix stage getting stuck in verifying phase if no ver…

v0.3.0-rc.2

21 Dec 23:41
601a437
Compare
Choose a tag to compare
v0.3.0-rc.2 Pre-release
Pre-release
fix(cli): project flag not recognized for several CLI commands (#1320)

v0.3.0-rc.1

21 Dec 22:24
5570d77
Compare
Choose a tag to compare
v0.3.0-rc.1 Pre-release
Pre-release
fix: sort promotions with running and pending first (#1314)

Signed-off-by: Remington Breeze <[email protected]>

v0.3.0-alpha.1

22 Nov 16:51
72b21f7
Compare
Choose a tag to compare
v0.3.0-alpha.1 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v0.2.0...v0.3.0-alpha.1

v0.2.1

17 Nov 00:56
ebe8018
Compare
Choose a tag to compare

What's Changed

Bug fixes:

  • Fixed auto-promotions
  • Prevented Kargo Render failures from bleeding git repo credentials into logs
  • Gave controller permission to patch warehouses
  • Fixed broken "promote to subscribers" button (the "truck button") in UI

Full Changelog: v0.2.0...v0.2.1

v0.2.1-rc.2

16 Nov 21:41
d11cd1a
Compare
Choose a tag to compare
v0.2.1-rc.2 Pre-release
Pre-release
make ci work for semver-ish branch names (#1131)

Signed-off-by: Kent <[email protected]>

v0.2.1-rc.1

16 Nov 17:42
d59e2d6
Compare
Choose a tag to compare
v0.2.1-rc.1 Pre-release
Pre-release
Merge branch 'main' into v0.2.x

v0.2.0

14 Nov 20:03
047ff02
Compare
Choose a tag to compare

What's Changed

First-Class Freight

Anyone who has been following what we've been doing already knows that "freight" -- a set of references to one or more versioned artifacts -- is an important concept in Kargo. Important as it is, it was nevertheless not represented as its own top-level resource type in Kargo v0.1.0. Freight existed only within the status of various Stage resources. This made it onerous and inefficient for Stage resources, when reconciled, to locate available freight (i.e. other states to which they could be transitioned).

In v0.2.0, we've promoted (pardon the pun) freight to a first-class concept represented by a new custom resource type -- Freight. This small architectural pivot makes it much easier to get a piece of freight, list freight, or query for freight available to a given stage (i.e. freight that has qualified in an upstream stage). The CLI has, of course, evolved along with this change, and it is now possible to get and list Freight.

Warehouses

In Kargo v0.1.0, with freight being the more nebulous concept that it was, production of new freight was tightly-coupled to stages with direct subscriptions to Git, container image, and/or Helm chart repositories.

With freight now having becoming a first-class concept with its own resource type, Kargo v0.2.0 has decoupled the production of new freight from the stages by introducing a warehouse concept, which is also represented by its own custom resource type -- Warehouse.

Warehouse resources now encapsulate subscriptions to one or more Git, container image, and/or Helm chart repositories. Those repositories are polled each time a Warehouse resource is reconciled, at times resulting in the production of new Freight resources. Stages that may previously have subscribed directly to various repositories subscribe indirectly now by subscribing to a warehouse instead.

The CLI and UI have, of course, evolved around this new concept as well. It is possible to use either to "refresh" a warehouse, thereby forcing the repositories to which it subscribes to be polled on-demand.

Most importantly, we believe the warehouse concept introduces a logical place to introduce more fine-grained control over repository subscriptions and the conditions under which new freight is produced as we begin work on v0.3.0.

Bookkeeper Rebranded as Kargo Render

Many Kargo users may not have known about Bookkeeper. Bookkeeper is Kargo's little brother and integrates very well with Kargo. In short, Bookkeeper makes short work of rendering stage-specific configuration in a GitOps repository into plain YAML manifests that it stores in stage-specific branches. Under the hood, it uses your choice of Kustomize or Helm and configuration that lives in the GitOps repository, right alongside the Kustomize overlays or Helm charts on which it operates.

We feel so strongly that Kargo works best when used with Bookkeeper that we've now rebranded Bookkeeper as Kargo Render.

Visit https://kargo-render.akuity.io to learn more!

Other Notable Changes

  • Admin tokens now have a longer default TTL.
  • Promotions are reconciled faster.
  • Reduced (go mod) dependency on Argo CD and GitOps Engine -- part of an overall effort to eliminate those dependencies entirely so we can upgrade Kubernetes freely as needed.
  • Numerous:
    • Small enhancements
    • Documentation improvements
    • Process improvements

New Contributors

We would also like to thank the following first-time community contributors! Their interest in the project and their efforts demonstrate that what we're aspiring to is bigger than Akuity, and that Kargo is out to solve real pain points that are felt throughout the entire GitOps community!

Full Changelog: v0.1.0...v0.2.0