Hello! I am using Pulumi v3.133.0 with TypeScript,...
# kubernetes
b
Hello! I am using Pulumi v3.133.0 with TypeScript, and i am trying to roll out the Longhorn CSI Helm Chart. It works, but the chart includes an Uninstall job, which is triggered by every refresh ("pulumi up"). Diagnostics: pulumipulumiStack (pulumi-kubernetes-talos): error: update failed
kubernetes:batch/v1:Job (longhorn-system/longhorn-uninstall):
error: 2 errors occurred:
* the Kubernetes API server reported that "longhorn-system/longhorn-uninstall" failed to fully initialize or become live: Resource 'longhorn-uninstall' was created but failed to initialize
* [BackoffLimitExceeded] Job has reached the specified backoff limit
The Job is intended to fail, since it reads a deletion confirmation flag, and crashes if that flag is not specifically set to true. The CSI works without any problems, the only thing bothering me is Pulumi erroring out, and skipping further resources. I need to Ignore this Job resource inside of the Helm Chart. I already tried to use transforms (and the older "transformations") with ignoreChanges: ["status"], but it didn't change anything to the error. Anyone ever had such an issue?
Issue seems to be gone after i migrated the Chart resource to Chart from "@pulumi/kubernetes/helm/v4".
h
i’d recommend installing longhorn with a release. chart doesn’t support hooks but release does. in longhorn’s case they’re really important for safely upgrading.