Releases: KubeDeckio/KubeTidy
Releases · KubeDeckio/KubeTidy
KubeTidy Krew Release v0.0.20
[0.0.20] - 2024-10=28
Added
- Verbose-only output for script execution in both local and Krew storage directories.
Changed
- Modified script to check both local and Krew storage paths for
.ps1
files, ensuring failover functionality. - Introduced a
$foundScripts
flag to track sourcing success across directories.
Fixed
- Improved error handling to terminate execution with an error if no
.ps1
files can be sourced from either path.
Notes
- Script now exits with an error message if both local and Krew storage directories lack the required
.ps1
files.
KubeTidy Krew Release v0.0.19
[0.0.19] - 2024-10-28
Changed
- Re-added ASCII Art Banner: The ASCII art banner has been reintroduced to the KubeTidy output after adjustments to ensure it displays correctly in the updated KubeDeck UI. This change improves compatibility and enhances the visual clarity of the output for users.
Fixed
- MacOS ARM Compatibility in Krew: Updated the loading process for PowerShell modules to restore support for macOS ARM systems, similar to the compatibility achieved in version 0.0.14.
KubeTidy Krew Release v0.0.18
[0.0.18] - 2024-10-22
Changed
- Removed ASCII Art Banner: The ASCII art banner was removed from the KubeTidy output as it was not displaying correctly in the new KubeDeck UI. This change improves compatibility with the user interface and enhances the overall visual clarity of the output.
KubeTidy Krew Release v0.0.17
[0.0.17] - 2024-10-17
Added
- Darwin ARM64 and Linux ARM64 Support: Added support for Darwin ARM64 and Linux ARM64 platforms, including building and packaging the respective binaries.
- Automatic Update of
KubeTidy.yaml
: The GitHub Actions workflow now automatically updates theKubeTidy.yaml
file during the release process. It replaces placeholders with the correct version, URLs, and SHA256 checksums for each platform (Linux/AMD64, Linux/ARM64, Darwin/AMD64, and Darwin/ARM64). - Upload
KubeTidy.yaml
to GitHub Release: The updatedKubeTidy.yaml
file is now uploaded to the release as an asset, along with the platform-specific tar.gz files and SHA256 checksums.
Changed
- Backup Function Return Status: Updated the
New-Backup
function to return a success or failure status via the-PassThru
parameter. The backup process now supports better error handling, allowing the script to abort the cleanup if the backup fails.
Fixed
- Cleanup Without ExclusionList: Fixed an issue where the cleanup would only run if the
ExclusionList
parameter was provided. The script now defaults theExclusionList
to an empty array, allowing cleanup to proceed even when the parameter is not specified.
Improved
- Error Handling for Backups: Enhanced error handling during the backup process using
try/catch
blocks. If the backup fails, the script stops the cleanup process to prevent data loss.
KubeTidy Krew Release v0.0.16
Merge pull request #29 from PixelRobots/powershellmodule-fix Update module version to 0.0.16
KubeTidy Krew Release v0.0.15
[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.
KubeTidy Krew Release v0.0.14
[0.0.14] - 2024-10-01
Added
- Krew Support: Added support for Krew, allowing users to install and manage KubeTidy as a plugin in their Kubernetes environment.
- Release Notes Automation: Integrated automation to update GitHub release notes with entries from the CHANGELOG.md based on the version being released.
Changed
- Refactor Release Process: Improved the release workflow by adding automated steps for generating tar files and checksums, ensuring a smoother release experience.
Fixed
- Restored Backup feature Whilst splitting out files, Backup parameter went missing. Added back now.
- Minor bug fixes and improvements to enhance performance and stability.