Highlights
-
stackctl definition update-chartno longer wipes fields (#108) — The command was sending only 4 of the 8 fields the backend stores, sorepository_url,chart_path,build_pipeline_id, anddeploy_orderwere silently cleared on every call. Subsequent stack deploys would then fail with helm'snon-absolute URLs should be in form of repo_name/path_to_chart. The CLI now seeds the request from the fullGETresponse and lets user flags override individual fields. -
New
--repository-urlflag forstackctl definition update-chart(#108) — explicitly set the chartrepository_url(validated: onlyoci://,http://,https://schemes; empty host rejected). Without this flag there was no path to set the field from the CLI.
Compatibility
Pairs with k8s-stack-manager 0.4.0, which makes the backend PUT merge-safe so partial bodies stop wiping fields. Either side alone closes the bug; both together is belt-and-suspenders. Older backends (≤ 0.3.1) will still accept v0.3.1's full-record PUT correctly.
Install
# macOS / Linux via Homebrew
brew install omattsson/tap/stackctl
brew upgrade omattsson/tap/stackctl
# Manual: pick the archive matching your OS/arch from Assets below
curl -fsSL "https://github.com/omattsson/stackctl/releases/download/v0.3.1/stackctl_0.3.1_linux_amd64.tar.gz" \
| tar -xz -C /tmp && sudo install -m 755 /tmp/stackctl /usr/local/bin/stackctlFull changelog
Fixes
- fix(definition): update-chart preserves all fields + add --repository-url (#108)
Dependencies
- deps(actions): bump actions/checkout from 6 to 7 (#107)
- deps(docker): bump alpine from
a2d49eato28bd5fe(#106)
Full diff: v0.3.0...v0.3.1