Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
christopherhan opened this issue Mar 28, 2024 · 0 comments
Assignees

Comments

@christopherhan
Copy link

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
@christopherhan christopherhan changed the title Hem install fails with "hatchet-stack-api-migration" already exists Helm install fails with "hatchet-stack-api-migration" already exists Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants