[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.
- 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.
- 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.
- 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]