diff --git a/tests/go.mod b/tests/go.mod index 5129d4815..7754cd787 100644 --- a/tests/go.mod +++ b/tests/go.mod @@ -4,7 +4,7 @@ go 1.22.2 require ( github.com/gruntwork-io/terratest v0.47.0 - github.com/mittwald/go-helm-client v0.12.10 + github.com/mittwald/go-helm-client v0.12.11 github.com/onsi/ginkgo/v2 v2.19.1 github.com/onsi/gomega v1.34.1 github.com/stretchr/testify v1.9.0 diff --git a/tests/go.sum b/tests/go.sum index ea7f9358a..314490557 100644 --- a/tests/go.sum +++ b/tests/go.sum @@ -289,8 +289,8 @@ github.com/mitchellh/hashstructure v1.1.0/go.mod h1:xUDAozZz0Wmdiufv0uyhnHkUTN6/ github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ= github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= -github.com/mittwald/go-helm-client v0.12.10 h1:NvDXzBM0enPtrAHirZQ0D9Zx80yp2cGWcR19i0CleZY= -github.com/mittwald/go-helm-client v0.12.10/go.mod h1:HA3eMOaUhqa4EXUfj94f6L0v4aUEKHuVV977hVl1KWU= +github.com/mittwald/go-helm-client v0.12.11 h1:fjJysS2pyEXUsgHP9OAQyFIZB67sU6uo+w4vM6JePJM= +github.com/mittwald/go-helm-client v0.12.11/go.mod h1:HA3eMOaUhqa4EXUfj94f6L0v4aUEKHuVV977hVl1KWU= github.com/moby/locker v1.0.1 h1:fOXqR41zeveg4fFODix+1Ch4mj/gT0NE1XJbp/epuBg= github.com/moby/locker v1.0.1/go.mod h1:S7SDdo5zpBK84bzzVlKr2V0hz+7x9hWbYC/kq7oQppc= github.com/moby/spdystream v0.2.0 h1:cjW1zVyyoiM0T7b6UoySUFqzXMoqRckQtXwGPiBhOM8= diff --git a/tests/vendor/github.com/mittwald/go-helm-client/client.go b/tests/vendor/github.com/mittwald/go-helm-client/client.go index 020021b15..6dd5b8998 100644 --- a/tests/vendor/github.com/mittwald/go-helm-client/client.go +++ b/tests/vendor/github.com/mittwald/go-helm-client/client.go @@ -943,6 +943,7 @@ func mergeUpgradeOptions(chartSpec *ChartSpec, upgradeOptions *action.Upgrade) { upgradeOptions.Force = chartSpec.Force upgradeOptions.ResetValues = chartSpec.ResetValues upgradeOptions.ReuseValues = chartSpec.ReuseValues + upgradeOptions.ResetThenReuseValues = chartSpec.ResetThenReuseValues upgradeOptions.Recreate = chartSpec.Recreate upgradeOptions.MaxHistory = chartSpec.MaxHistory upgradeOptions.Atomic = chartSpec.Atomic diff --git a/tests/vendor/github.com/mittwald/go-helm-client/types.go b/tests/vendor/github.com/mittwald/go-helm-client/types.go index b5999ffa4..2256b004d 100644 --- a/tests/vendor/github.com/mittwald/go-helm-client/types.go +++ b/tests/vendor/github.com/mittwald/go-helm-client/types.go @@ -176,6 +176,9 @@ type ChartSpec struct { // ReuseValues indicates whether to reuse the values.yaml file during installation. // +optional ReuseValues bool `json:"reuseValues,omitempty"` + // ResetThenReuseValues will reset the values to the chart's built-ins then merge with user's last supplied values. + // +optional + ResetThenReuseValues bool // Recreate indicates whether to recreate the release if it already exists. // +optional Recreate bool `json:"recreate,omitempty"` diff --git a/tests/vendor/modules.txt b/tests/vendor/modules.txt index 81052ac85..8b1d2731f 100644 --- a/tests/vendor/modules.txt +++ b/tests/vendor/modules.txt @@ -438,7 +438,7 @@ github.com/mitchellh/hashstructure # github.com/mitchellh/reflectwalk v1.0.2 ## explicit github.com/mitchellh/reflectwalk -# github.com/mittwald/go-helm-client v0.12.10 +# github.com/mittwald/go-helm-client v0.12.11 ## explicit; go 1.22.0 github.com/mittwald/go-helm-client github.com/mittwald/go-helm-client/values