Skip to content

v2.20.0

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Dec 13:48
· 1 commit to master since this release
Immutable release. Only release title and notes can be modified.
02046fb

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