gardenctl

SAP SE·Gardener.gardenctl

gardenctl is a command-line client for Gardener

winget install --id Gardener.gardenctl --exact --source winget

Latest 2.20.0·December 2, 2026

Release Notes

[github.com/gardener/gardenctl-v2:v2.20.0]

⚠️ Breaking Changes

• [USER] Upgrade required for non-managed seeds. Gardenctl now verifies static seed kubeconfigs by default, including when targeting a shoot control plane hosted on a non-managed seed. The deprecated garden/<seed>.oidc Secret fallback has been removed.

An explicit per-Garden opt-out is available for environments that operate without signing. Use it with caution because it disables protection against kubeconfig manipulation.

  1. Before upgrading clients, publish each static seed kubeconfig as garden/<seed>.login in the virtual Garden. Replace any legacy .oidc Secrets. For Gardens using signature verification, include kubeconfig, kubeconfig-signing-manifest, and kubeconfig-signature in each Secret. Re-sign and publish the Secret whenever the kubeconfig changes.
  2. For each Garden using signature verification, obtain the ECDSA P-256 public key from your landscape administrator through an authenticated channel independent of the virtual Garden. Add it with gardenctl config add-seed-key <garden> --file public-key.pem before accessing a non-managed seed.
  3. Refresh existing shells that use an affected kubeconfig. In default symlink mode, repeat the gardenctl target command for the current target. With linkKubeconfig:false, rerun gardenctl kubectl-env and apply its output.

See docs/config/seed-kubeconfig-signatures.md for signing, publishing, and the per-Garden opt-out. by @grolu [#876]

🐛 Bug Fixes

• [USER] gardenctl ssh now writes the generated bastion SSH keypair and the private SSH keys of the shoot nodes to a private directory below the session directory (${TMPDIR}/garden-${UID}/sessions/${GCTL_SESSION_ID}/ssh-keys-*) instead of the shared temporary directory. The keys are also removed if the command fails early or is terminated with SIGTERM. by @petersutter [#869]

Installer type: portable

x64—F61A9FDAEAB64AF7FEBF54A7793761C4AC7BA6716ABDA6A0829AA3A30889329B

Details

Homepage
https://github.com/gardener/gardenctl-v2
License
Apache-2.0
Publisher
SAP SE
Support
https://github.com/gardener/gardenctl-v2/issues

Tags

gardener

Older versions (8)

2.19.1
x64—4CA245E2658118E6627C12C93191FB6D0B98A56BF017273ED2FA98F6A3258D3F
2.18.0
x64—104010EC8405B1570FA87F828BB92B43ECF52F1F20E26960829B5B7C3A3A1FB1
2.17.0
x64—644B33BC809B5C2AA4D06B0EF885ED665D8F6D069D3959D92CB1EA4F7E22A6D4
2.16.0
x64—BE4A6A3BF37BEFACC124FE136056CF239CD83CAF69C4F79704D6A9AEA2F92FC2
2.15.0
x64—3CB640F9FA72118F53726E33DA78AEDBD3E7D72214BFD08F0832E92AB27621FA
2.14.0
x64—395A4B4ECF933EE8D4776FBAE04CEA16A053B6F8D0D714DB897523CBCF46E953
2.13.0
x64—A35C41044CBC1288CB9B1222D1BA04FEC9E76AA6DBB62D5DA323EC47DFE10D69
2.12.0
x64—F27D233F5C823C9EBDD283ED2050308EEDA58DFF70BD7EEA507814875F48F7BE