harbor run -t openthoughts/tasktrove-swe-rebench-v2-patched-oracle-helm__helm-11569
harbor download openthoughts/tasktrove-swe-rebench-v2-patched-oracle-helm__helm-11569
cd /testbed git clone https://github.com/helm/helm.git . && git checkout e007c900ce5f2233c8583565d5ba1b0433b1a213 wget https://go.dev/dl/go1.24.0.linux-amd64.tar.gz rm -rf /usr/local/go && tar -C /usr/local -xzf go1.24.0.linux-amd64.tar.gz export PATH=/usr/local/go/bin:$PATH sed -i 's/go 1.24.0/go 1.24/' go.mod export GOPATH=/root/go export GOMODCACHE=$GOPATH/pkg/mod export GOCACHE=/tmp/go-cache && mkdir -p $GOCACHE go mod tidy
helm uninstall with --keep-history then upgrade --install results in UPGRADE FAILED "chartname" has no deployed releases Output of helm version:
helm version
Version:"v3.10.2" GitCommit:"50f003e5ee8704ec937a756c646870227d7c8b58" GitTreeState:"clean" GoVersion:"go1.19.3"
Output of kubectl version:
kubectl version
Client Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.4", GitCommit:"872a965c6c6526caa949f0c6ac028ef7aff3fb78", GitTreeState:"clean", BuildDate:"2022-11-09T13:28:30Z", GoVersion:"go1.19.3", Compiler:"gc", Platform:"darwin/arm64"} Kustomize Version: v4.5.7 Server Version: version.Info{Major:"1", Minor:"22+", GitVersion:"v1.22.15-eks-fb459a0", GitCommit:"be82fa628e60d024275efaa239bfe53a9119c2d9", GitTreeState:"clean", BuildDate:"2022-10-24T20:33:23Z", GoVersion:"go1.16.15", Compiler:"gc", Platform:"linux/amd64"}
Cloud Provider/Platform (AKS, GKE, Minikube etc.): EKS
Context:
I'm creating a dashboard where I want to preserve history for a helm chart.
This would allow me to know when a chart was first installed (after potential uninstalls) using the helm history command.
Reproduce Steps:
# initial install helm -n xyz upgrade --install devactions devactions # uninstall helm -n xyz uninstall devactions --keep-history # install again helm -n xyz upgrade --install devactions devactions
Error: UPGRADE FAILED: "devactions" has no deployed releases
I can only reinstall if I drop the instance without --keep-history.
--keep-history