Release versioning & artifacts
kube-agents follows Semantic Versioning 2.0.0 (MAJOR.MINOR.PATCH) without a v prefix across container images, OCI Helm charts, and Terraform modules. The one exception is the Go module tag below, which Go requires to carry a v.
Every release is cut from one commit: the installer scripts (install.sh, uninstall.sh, upgrade.sh), the Helm chart and the container images of a release all come from it, and the release has passed an install and end-to-end run on a live GKE cluster before its tag is published. An emergency release can skip that live run, never the build checks: its images must already exist for the commit, and a version tag that already points elsewhere aborts it. The maintainers’ procedure is scripts/release/README.md.
Moving an install back to the previous GA release is its own page,
Rolling back a release: the two upgrade.sh commands run from the
older release’s checkout, and what they leave as it is.
What a version number means
Section titled “What a version number means”The next version is calculated from the Conventional Commits merged since the previous release:
- A release from
mainbumpsMINOR. Almost every range carries afeat:, and once the previous minor has its release line (release/X.Y), a fix-only range bumpsMINORtoo, because the patch numbers belong to the line. So the minor number advances with each release rather than with how much changed; the release notes say what changed between two versions. - A
PATCHrelease,X.Y.Z+1, is cut from the release linerelease/X.Y: fixes are cherry-picked onto the line. Afeat:or a breaking change is refused on a line. - A breaking change (
feat!:,fix!:,BREAKING CHANGE:) bumpsMINORwhile the version is0.y.z, per SemVer 2.0 Clause 4, andMAJORfrom1.0.0on. - Nothing promotes
0.y.zto1.0.0on its own. Declaring API stability is a decision the maintainers make and publish with an explicit version.
The releases page lists every release; count
the releases between two versions there, not by date.
The latest release is the numerically
highest version, which may be a patch cut on the newest release line; a patch below the newest
minor is published without the latest mark.
What the next release contains
Section titled “What the next release contains”Generated release notes are the tracking mechanism. GitHub milestones are unused.
GitHub writes each release’s notes from the pull requests merged between the previous release tag
and the new one, grouped by label: features, bug fixes, security, documentation, infrastructure,
and a catch-all for anything else. The grouping is the label-to-category map in
.github/release.yml,
so a pull request’s labels decide the heading it appears under. Dependabot’s pull requests, and any
labelled duplicate, invalid or wontfix, are left out.
No workflow applies these labels, so today every pull request appears under “Other Changes”. The
titles follow Conventional Commits, and a ! before the colon marks a breaking change. The Upgrade
page lists the breaking changes in recent releases.
Before it exists, the next release from main is whatever has merged since the most recent
release cut from main:
https://github.com/gke-labs/kube-agents/compare/<MAIN_GA_TAG>...main, with the newest GA tag
cut from main, lists every pull request it will contain if it is cut from the tip of main.
What a release publishes
Section titled “What a release publishes”- The container images built for the release’s commit are retagged to
X.Y.Zin GHCR without being rebuilt, and signed with keyless Cosign through GitHub Actions OIDC. - The Helm chart is packaged at version
X.Y.Z(matchingappVersion), pushed as an OCI package tooci://ghcr.io/gke-labs/kube-agents/charts/kube-agents:X.Y.Z, and its OCI manifest signed with Cosign. - The tag sits on a stamped release commit:
BAKED_RELEASE_VERSION="X.Y.Z"is written into the root scripts (install.sh,uninstall.sh,upgrade.sh), the chart version (charts/kube-agents/Chart.yaml) and the Terraform default image tags (terraform/examples/full-install/variables.tf,terraform.tfvars.example). Bothinstall.shandupgrade.shcheck that a Git checkout matches the tag’s commit and that a tree outside Git carries a matching stamp or bundle marker;upgrade.shalso refuses a tree whose stamp names another release. Provenance attribution has the steps. - The offline bundle is staged from the tagged commit with
git archive, carries the.release-bundleprovenance marker, and is packaged as.tar.gzand.zip. - Software Bills of Materials are generated with Syft, SPDX 2.3 JSON and CycloneDX 1.5 JSON for the bundle and SPDX 2.3 JSON for each container image, and published with
checksums.txt, which carries SHA256 checksums for every release asset. - The
k8s-api-proxyGo module is taggedk8s-api-proxy/vX.Y.Zat the release commit, sogo get github.com/gke-labs/kube-agents/k8s-api-proxy@vX.Y.Zbuilds the proxy library that release ships. The module is v0 and its API may change in any release; a release at1.0.0or later tags no module until its own versioning is decided. See the module README. - The
k8s-api-proxybinary is attached for Linux and macOS on amd64 and arm64, ask8s-api-proxy_X.Y.Z_<os>_<arch>.tar.gzwith its license and README, built from the release commit and covered bychecksums.txt. Releases published before this step existed, and patches on lines older than 0.24, carry none. No SBOM is generated for these archives; thek8s-api-proxyimage is built from the same source and has one, in each release that ships that image. - The
kube-agents-mcpworkstation MCP bridge is attached for macOS and Linux on amd64 and arm64, askube-agents-mcp_X.Y.Z_<os>_<arch>.tar.gz; there is no Windows build yet. Each archive carries the license and the repository README, is built from the release commit, and is covered bychecksums.txt.kube-agents-mcp --versionprints the release. A release whose bridge build fails on any platform is published without anykube-agents-mcparchive, and releases published before this step existed carry none. No SBOM is generated for these archives.
Offline distribution bundles and SBOMs
Section titled “Offline distribution bundles and SBOMs”For air-gapped or restricted network environments where cloning the repository or pulling directly from GitHub is disallowed, official releases provide pre-packaged distribution bundles and Software Bill of Materials (SBOM).
Distribution bundle assets
Section titled “Distribution bundle assets”Each GA release attaches the following distribution artifacts to the GitHub Release:
kube-agents-<VERSION>.tar.gzandkube-agents-<VERSION>.zip: Complete, self-contained offline distribution bundles containing Terraform provisioning modules (terraform/), Kubernetes operator manifests (k8s-operator/), deployment configs (deploy/), Helm charts (charts/), utility scripts (scripts/), examples (examples/), installer scripts (install.sh,upgrade.sh,uninstall.sh), and the mirrored image catalog (images.json). Tracked example files (terraform.tfvars.example) are preserved, while sensitive tokens and local caches are sanitized.kube-agents-<VERSION>.tgz: Packaged Helm chart with matchingversionandappVersion.kube-agents-<VERSION>.spdx.jsonandkube-agents-<VERSION>.cdx.json: Software Bill of Materials (SBOM) for the filesystem bundle in SPDX 2.3 and CycloneDX 1.5 JSON formats.<image>-<VERSION>.spdx.jsonfor each container image the release ships, theREQUIRED_RELEASE_IMAGESlist inscripts/release/common.shat the release’s own commit (a patch cut from an older release line ships the images that line has): Container image SBOMs in SPDX 2.3 JSON format generated by Syft.k8s-api-proxy_<VERSION>_<os>_<arch>.tar.gzforlinuxanddarwinonamd64andarm64: the standalonek8s-api-proxybinary built from the release commit (statically linked on Linux), with its license and README. Older releases have none.kube-agents-mcp_<VERSION>_<os>_<arch>.tar.gzfordarwinandlinuxonamd64andarm64(Windows: not yet): thekube-agents-mcpMCP bridge built from the release commit, with its license and the repository README. Older releases, and a release whose bridge build failed, have none.checksums.txt: SHA256 cryptographic checksums covering all distribution tarballs, zips, charts, binary archives, and SBOM JSON files.checksums.txt.bundle: Keyless Cosign signature bundle attesting to the provenance and authenticity ofchecksums.txtsigned via GitHub Actions OIDC.
Provenance attribution and .release-bundle marker
Section titled “Provenance attribution and .release-bundle marker”Every packaged release bundle contains a .release-bundle metadata file at its root, attesting to the release provenance:
name=kube-agentsversion=<VERSION>tag=<VERSION>commit=<STAMPED_RELEASE_COMMIT_SHA>build_date=YYYY-MM-DDTHH:MM:SSZThe commit field records the SHA of the tagged release commit (the single-parent stamped commit created on detached HEAD parented by the candidate commit).
When install.sh or upgrade.sh executes from an unversioned directory outside Git, verify_local_source_ref verifies source integrity in two steps:
- If
.release-bundleis present with matchingversionortag, and theBAKED_RELEASE_VERSIONstamped into the running script matches the requested release, it attributes the source directory to the official release bundle and logs:
✓ Verified install sources match official release bundle <VERSION>.(or ✓ Verified upgrade sources match official release bundle <VERSION>. during upgrades). If the marker, or the version stamped into the tree’s own root scripts, names a different release, upgrade.sh refuses; install.sh does not yet make that check.
- If
.release-bundleis absent, both scripts accept a matchingBAKED_RELEASE_VERSIONstamped into the script and report matching the baked release. With no stamp,install.shrefuses unless--allow-unverified-sourceis passed andupgrade.shrefuses; under--dry-runboth warn and continue.
Verifying release bundle integrity and provenance
Section titled “Verifying release bundle integrity and provenance”Consumers can verify both the cryptographic provenance and integrity of downloaded release assets. First, verify the authenticity of checksums.txt using Keyless Cosign:
cosign verify-blob \ --bundle checksums.txt.bundle \ --certificate-identity-regexp "^https://github\.com/gke-labs/kube-agents/" \ --certificate-oidc-issuer "https://token.actions.githubusercontent.com" \ checksums.txtOnce checksums.txt is verified against GitHub Actions OIDC provenance, verify downloaded files against the checksums:
sha256sum -c checksums.txt --ignore-missingInspecting Software Bill of Materials (SBOM)
Section titled “Inspecting Software Bill of Materials (SBOM)”SBOMs are generated using Syft and can be inspected using standard security and compliance tooling:
# Inspect filesystem package inventory from SPDX SBOM using jq:jq '.packages[] | {name: .name, version: .versionInfo, license: .licenseConcluded}' kube-agents-<VERSION>.spdx.json
# Inspect filesystem components in CycloneDX format:jq '.components[] | {name: .name, version: .version, type: .type}' kube-agents-<VERSION>.cdx.json
# Inspect container image packages (e.g. operator runtime dependencies):jq '.packages[] | {name: .name, version: .versionInfo}' k8s-operator-<VERSION>.spdx.jsonTerraform providers on a restricted network
Section titled “Terraform providers on a restricted network”The bundle carries the Terraform modules and the kube-agents chart, which terraform/examples/full-install reads from local paths. Three things still come from the internet during terraform init and terraform apply: the providers, from registry.terraform.io; the cert-manager chart, from https://charts.jetstack.io; and the container images. Point the images at your registry as Private / custom registry describes. For cert-manager, either allow that one host or set enable_cert_manager = false and install cert-manager from your mirror before the apply, since the operator’s webhooks need it serving; the full-install README has the details.
For the providers, build a mirror on a connected machine, from the same release’s terraform/examples/full-install, with the same Terraform you will run the install with:
cd terraform/examples/full-installterraform init -backend=falseterraform providers mirror -platform=linux_amd64 /path/to/provider-mirrorThe init registers the composition’s local modules, which providers mirror reads to find the providers only they declare; without it the command stops with Module not installed. Add a -platform for each OS and architecture the install will run on (darwin_arm64 for an Apple-silicon laptop). No lock file is committed, so the mirror’s contents decide which provider versions the install uses. Copy the directory to the restricted machine, or serve it over HTTPS, and point the Terraform CLI at it in ~/.terraformrc (or the file TF_CLI_CONFIG_FILE names):
provider_installation { filesystem_mirror { path = "/path/to/provider-mirror" include = ["registry.terraform.io/*/*"] } direct { exclude = ["registry.terraform.io/*/*"] }}To serve the mirror over HTTPS, use network_mirror { url = "https://mirror.example.com/providers/" } in place of filesystem_mirror. HashiCorp’s provider installation reference has both forms. The Terraform version the configurations need is on Prerequisites.
Helm chart versioning
Section titled “Helm chart versioning”The chart version tracks the application appVersion: the release workflow packages the
chart with both version and appVersion set to the exact SemVer release tag X.Y.Z, so every
chart release corresponds to exactly one application release. There is no chart-only release
train — a chart-template fix ships with the next X.Y.Z tag.
Pinning Terraform module versions in GitOps
Section titled “Pinning Terraform module versions in GitOps”When configuring GitOps repositories, pin companion Terraform modules using the exact SemVer Git tag:
module "gke_cluster" { source = "git::https://github.com/gke-labs/kube-agents.git//terraform/modules/gke-cluster?ref=0.19.0" project_id = var.project_id cluster_name = "production-host-01" location = "us-central1"}