Not able to create a helm-based workspace

Hi everyone, I'm experiencing an issue on installing a helm_release resource during the process of creating the Coder Workspace. I have defined the k8s resources in a helm chart. When I try to use the helm_release resource block (https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release), it successfully creates the k8s resources as well as the helm lock secret but, for some reason, not the release itself (helm list returns empty). Due to that, if I try to stop the workspace, the coder terraform apply fails with (Error: UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress). If, on the other hand, I try to destroy the workspace, everything is destroyed as expected, event the lock secret. I tried to install the chart manually (through helm install) and it works (the helm release is created). Do you happen to know a proper approach to debug such issue?
2 Replies
Codercord
Codercord2w ago
<#1338335820494405673>
Category
Help needed
Product
Coder (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Phorcys
Phorcys2w ago
hey @ivocalado, could you share your template?

Did you find this page helpful?