Skip to content

v2.19.0

Choose a tag to compare

@github-actions github-actions released this 05 Nov 15:55
· 19 commits to master since this release

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

⚠️ Breaking Changes

  • [USER] gardenctl ssh now passes known hosts files to OpenSSH without shell escaping, so the host keys verified and recorded by gardenctl are the ones the ssh client uses. Known hosts file paths, including the defaults under the gardenctl home and temporary directories, must now be absolute and may only contain ASCII letters, digits, ., _, - and path separators. If a path does not meet these requirements, for example because the user profile directory contains a space, gardenctl ssh aborts; specify a conforming path with --bastion-user-known-hosts-file and --node-user-known-hosts-file. by @petersutter [#858]
  • [USER] gardenctl now keeps session state, temporary kubeconfigs, provider-env files and bastion known_hosts files in a per-user directory ${TMPDIR}/garden-${UID} (instead of ${TMPDIR}/garden) and refuses to use it if it is not owned by the current user or is accessible by other users. Symlinks in ${TMPDIR} are resolved, so on macOS the path is reported below /private/var/folders. Existing sessions are not migrated.
    After upgrading, open new shells or re-evaluate gardenctl kubectl-env / gardenctl provider-env (or gardenctl rc) in every open shell, then remove the old ${TMPDIR}/garden directory. by @petersutter [#857]