github Kong/kongctl v1.26.0

3 hours ago

Kong logo Kong logo kongctl Release Highlights

✨ What's New

Environment-derived namespaces in declarative config — Namespace values in declarative manifests now support !env resolution, letting you drive multi-environment workflows from environment variables instead of duplicating files. Both scalar and mapping forms are supported at file defaults and per-resource metadata. Namespaces are resolved early during loading, before validation and planning, and remain concrete in saved plans so a reviewed plan always applies the namespace it was approved with.

# Set the target namespace via environment variable
export KONNECT_NAMESPACE=team-payments

# Apply with the namespace resolved from the environment
kongctl apply -f manifests/

See the [declarative environment management docs]((developer.konghq.com/redacted) for multi-environment examples. (#2705)

🐛 Fixes & Improvements

  • Portal apply plans no longer blocked by unrelated child endpoints — Parent-only apply plans previously read all children of managed portals, so a 403 from an unrelated child API could prevent planning entirely. Apply mode now reads only declared children, matching the existing traversal policy for external parents. (#2708)

  • AI Gateway semantic models converge after create and update — Models referencing a vectordb datastore previously showed spurious diffs because the SDK injected inline connection defaults and Konnect expanded the referenced datastore's connection settings in responses. Inherited connection fields are now normalized during comparison, and write-only passwords are excluded. Dumps also omit API-expanded datastore connections, preserving inheritance after subsequent datastore changes. (#2713)

  • Internal dependency updated — github.com/kong/kongctl module updated to v1.25.0. (#2714)

🔗 Commit References

Features

  • bcd17a7 feat(declarative): support environment-derived namespaces (#2705)

Fixes

  • 400aa73 fix(declarative): skip undeclared portal child reads in apply plans (#2708)
  • 0584500 fix(declarative): eliminate semantic model drift from datastore settings (#2713)
  • 28235df fix(deps): update module github.com/kong/kongctl to v1.25.0 (#2714)

Other Changes

  • ecb26ba test(smoke): cover environment-derived namespaces (#2715)
  • 39b51da test(smoke): expand AI Gateway 2.3 coverage (#2712)
  • 9056b40 chore(deps): update dependency prettier-plugin-astro to v1.1.2 (#2709)
  • 095f1ed chore(deps): update docker/login-action action to v4.7.0 (#2710)

Full Changelog: v1.25.0...v1.26.0> Generated by Release · opus46 · 66.5 AIC · ⌖ 28.3 AIC · ⊞ 4.4K

Don't miss a new kongctl release

NewReleases is sending notifications on new releases.