You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,21 @@ All notable changes to this project will be documented in this file.
4
4
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
7
+
## [0.0.12] - 2024-12-08
8
+
9
+
### Added:
10
+
-**Helm Backend Storage**: `$SnapshotHelm` now includes a backup of Helm backend storage (Secrets or ConfigMaps), ensuring that all metadata for Helm releases is captured in snapshots.
11
+
-**Verbose Backend Logging**: Detailed logging of backend type (Secrets or ConfigMaps) and operations is now included when running in verbose mode.
12
+
-**Helm Restore with History**: Added support for restoring Helm releases, including their full history and backend configuration (Secrets or ConfigMaps). This ensures a complete recovery of release state.
13
+
-**Dynamic Resource Discovery**: Replaced hardcoded lists of resource kinds with dynamic discovery using `kubectl api-resources`. This ensures all available Kubernetes resource types, including CRDs and their objects, are automatically included in snapshots.
14
+
-**Automatic CRD Object Backup**: CRD objects are now seamlessly backed up alongside other resources without requiring separate logic.
15
+
16
+
### Fixed:
17
+
-**Empty Release Handling**: Improved handling of namespaces with no Helm releases, avoiding unnecessary warnings and providing clear messages instead.
18
+
-**Error Messages**: Enhanced error messages for missing tools (`helm` or `kubectl`) to include actionable instructions for installation.
19
+
20
+
-**Changed**: Replaced `$AllNamespaces` with `$ClusterResources` for snapshotting cluster-scoped resources. `$AllNamespaces` remains available for Helm snapshotting purposes.
Write-Host"Error during snapshot: $_"-ForegroundColor Red
@@ -281,7 +294,7 @@ function Invoke-KubeSnapIt {
281
294
}
282
295
283
296
default {
284
-
Write-Host"Error: Specify -Restore, -CompareWithCluster, -CompareSnapshots, or -SnapshotHelm with necessary parameters."-ForegroundColor Red
297
+
Write-Host"Error: Specify -Restore, -CompareWithCluster, -CompareSnapshots, or -SnapshotHelm, or -ClusterResources with necessary parameters."-ForegroundColor Red
0 commit comments