Skip to content

KubeTidy Krew Release v0.0.15

Compare
Choose a tag to compare
@github-actions github-actions released this 02 Oct 10:48
77511b1

[0.0.15] - 2024-10-02

Added

  • List Contexts Option: Added the -ListContexts parameter, allowing users to list all available contexts in the kubeconfig.
  • Export Contexts Option: Introduced the -ExportContexts parameter for exporting specific contexts from the kubeconfig. This can be combined with the -DestinationConfig parameter to specify the output path.
  • Preserve Current Context: Added logic to preserve the current context in the cleaned kubeconfig unless it belongs to a removed cluster.

Changed

  • Reusable DestinationConfig: The -DestinationConfig parameter is now shared between the merge and export functionalities, simplifying the user experience.

Fixed

  • Current Context Handling: Fixed an issue where the current context could be removed inadvertently during cleanup. The script now retains the current context unless its associated cluster is removed.