Kargo v1.9.19
Kargo v1.9.19 tightens path and repository validation in promotion steps. Paths that escape the promotion workspace, symlinks pointing outside it or to absolute targets, and non-HTTP(S)/SSH RepoURLs now cause the step to fail. Working trees must come from a git-clone step, and .git entries are now always skipped unless ignore is adjusted.
What changes for platform teams
Pipelines that relied on out-of-workspace paths, symlinks, git:// or file:// repo URLs, checkouts into the workspace root, or archives containing .git directories will now fail and need changes. The release notes say these cases are expected to be rare.
Changes
- A path that climbs out of the promotion workspace, such as ../out, now fails the step. Previously, it was silently redirected into the workspace, so it never referred to the location it appeared to.other
- A path that passes through a symlink leading outside the workspace now fails the step. So does a path that passes through a symlink whose target is an absolute path, even when that target is inside the workspace. helm-template and helm-update-chart check every entry beneath the chart directory, and copy checks every entry beneath outPath, so such a symlink there fails the step even if the step does not use it. This affects only repositories and archives that contain such symlinks, which we expect to be rare.other
- RepoURL must be an HTTP(S) or SSH URL. Other transports, such as git:// and file://, and local paths are refused. Warehouse Git subscriptions have always required HTTP(S) or SSH URLs, so we expect this to affect very few users.other
- Checkout[].path must be a subdirectory of the workspace, not the workspace itself. Kargo's documentation has never shown a checkout into the workspace itself.other
- The working tree must have been created by a git-clone step. The step fails if the working tree contains any .git file or directory that git-clone did not create, such as one extracted from an archive. This affects only Promotions that place another repository's .git inside a working tree, which we expect to be rare.other
- .git entries are now skipped even when ignore is set. To extract them, add !.git/ to ignore. They were already skipped when ignore was not set, and archives seldom contain them.other
15 maintenance lines (dependency bumps, CI, tests, docs)
- Each generators entry must be inline or name a local file. Directories and remote URLs are refused. We expect kustomizations that list either under generators to be uncommon.maintenance
- For Helm chart inflation, the first three changes below affect only kustomizations that set nameTemplate, helmGlobals.configHome or helmGlobals.chartHome, none of which appear in Kargo's documentation.maintenance
- NameTemplate is no longer supported. Use releaseName instead.maintenance
- Helm runs with an empty configuration. Plugins, registry credentials and any other Helm settings stored in helmGlobals.configHome are no longer used.maintenance
- HelmGlobals.chartHome and helmGlobals.configHome must be relative paths that stay inside the workspace, or inside a remote kustomization's own directory.maintenance
- Chart names and versions must not contain /. Helm chart names and versions cannot contain / themselves, so this affects only kustomizations that put part of an OCI repository's path in name. Move that part to repo instead.maintenance
- Bump step-security/harden-runner from 2.22.4 to 2.23.0maintenance
- Bump amannn/action-semantic-pull-request from 6.1.2 to 6.1.3maintenance
- Bump golang.org/x/tools from 0.52.0 to 0.53.0 in /hack/tools in the go-minor groupmaintenance
- Bump the go-patch group with 5 updatesmaintenance
- Bump the go-minor group across 1 directory with 3 updatesmaintenance
- Bump sigstore/cosign-installer from 4.1.3 to 4.1.4maintenance
- Bump amannn/action-semantic-pull-request from 6.1.3 to 6.1.4maintenance
- Bump anchore/sbom-action from 0.24.3 to 0.24.4maintenance
- Bump the go-patch group with 7 updatesmaintenance
Full release notes ↗ · all Kargo releases
written by claude-haiku-5-5, prompt 7cbe154, checked by publish rules