Skip to content

Helm install fails with "hatchet-stack-api-migration" already exists #5

@christopherhan

Description

@christopherhan

My environment:

Local: Macbook Pro M1 Ventura
Cloud: AWS EKS 1.27
Helm:

$ helm version
version.BuildInfo{Version:"v3.9.4", GitCommit:"dbc6d8e20fe1d58d50e6ed30f09a04a77e4c68db", GitTreeState:"clean", GoVersion:"go1.19"}

Steps to recreate:
Follow the self-hosted k8s deployment guide here. Receive error on Step 2:

$ helm install hatchet-stack hatchet/hatchet-stack --values hatchet-values.yaml --set api.replicaCount=0 --set engine.replicaCount=0 --set caddy.enabled=true --debug
install.go:178: [debug] Original chart version: ""
install.go:195: [debug] CHART PATH: /Users/chris/Library/Caches/helm/repository/hatchet-stack-0.2.0.tgz

client.go:128: [debug] creating 27 resource(s)
client.go:128: [debug] creating 1 resource(s)
Error: INSTALLATION FAILED: failed post-install: warning: Hook post-install hatchet-stack/charts/api/templates/pre-deploy-hook.yaml failed: jobs.batch "hatchet-stack-api-migration" already exists
helm.go:84: [debug] failed post-install: warning: Hook post-install hatchet-stack/charts/api/templates/pre-deploy-hook.yaml failed: jobs.batch "hatchet-stack-api-migration" already exists
INSTALLATION FAILED
main.newInstallCmd.func2
	helm.sh/helm/v3/cmd/helm/install.go:127
github.com/spf13/cobra.(*Command).execute
	github.com/spf13/cobra@v1.4.0/command.go:856
github.com/spf13/cobra.(*Command).ExecuteC
	github.com/spf13/cobra@v1.4.0/command.go:974
github.com/spf13/cobra.(*Command).Execute
	github.com/spf13/cobra@v1.4.0/command.go:902
main.main
	helm.sh/helm/v3/cmd/helm/helm.go:83
runtime.main
	runtime/proc.go:250
runtime.goexit
	runtime/asm_arm64.s:1165

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions