Skip to content

Commit

Permalink
Prepare 1.29.2
Browse files Browse the repository at this point in the history
  • Loading branch information
cvila84 committed Mar 9, 2023
1 parent 92a461e commit 918f44c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# GoKube Release Notes

## Version 1.29.2 - 03/09/2023
* Bump to helm v3.11.2
* Fixed snapshot that were always removed after reset

## Version 1.29.1 - 03/08/2023
* Added --force to avoid SSH check issues when starting VM

Expand Down
8 changes: 5 additions & 3 deletions cmd/gokube/cmd/reset.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,11 @@ func resetRun(cmd *cobra.Command, args []string) error {
if err != nil {
return fmt.Errorf("cannot restore minikube VM snapshot %s: %w", snapshotName, err)
}
err = virtualbox.DeleteSnapshot(snapshotName)
if err != nil && err != virtualbox.ErrSnapshotNotExist {
return fmt.Errorf("cannot delete minikube VM snapshot %s: %w", snapshotName, err)
if clean {
err = virtualbox.DeleteSnapshot(snapshotName)
if err != nil && err != virtualbox.ErrSnapshotNotExist {
return fmt.Errorf("cannot delete minikube VM snapshot %s: %w", snapshotName, err)
}
}
fmt.Printf("Minikube VM has successfully been reset from snapshot '%s'\n", snapshotName)
if running {
Expand Down
2 changes: 1 addition & 1 deletion cmd/gokube/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const (
DEFAULT_MINIKUBE_DNS_DOMAIN = "cluster.local"
DEFAULT_MINIKUBE_CONTAINER_RUNTIME = "docker"
DEFAULT_DOCKER_VERSION = "20.10.14"
DEFAULT_HELM_VERSION = "v3.11.1"
DEFAULT_HELM_VERSION = "v3.11.2"
DEFAULT_HELM_SPRAY_VERSION = "v4.0.10"
DEFAULT_HELM_IMAGE_VERSION = "v1.0.7"
DEFAULT_HELM_PUSH_VERSION = "0.10.3"
Expand Down
2 changes: 1 addition & 1 deletion cmd/gokube/cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
)

const (
GOKUBE_VERSION = "1.29.1"
GOKUBE_VERSION = "1.29.2"
)

var gokubeVersion string
Expand Down

0 comments on commit 918f44c

Please sign in to comment.