rich-motorcycle-9868903/10/2023, 9:43 PM
) and I want to detach 2 components from pulumi’s tracking after the initial deployment (specifically a
). The problem that I’m running into is that the helm chart deploys an empty
and an empty value in the
and then the deployment goes into both resources and generates a TLS cert and key pair to use post deployment. The issue is that now, every time I do
after the initial deploy, pulumi tries to revert these changes which then breaks the webhook and I have to restart the deployment manually. Is there a good way to handle this behavior?
billions-xylophone-8595703/10/2023, 11:06 PM
rich-motorcycle-9868903/10/2023, 11:24 PM
and it fixed my problem.
is a bit more developed than
, considering the latter doesn’t have hook support.
great-sunset-35503/13/2023, 10:27 PM
resolves the most problems. I guess it would be good to have some information in the docs.
limited-rainbow-5165003/14/2023, 7:13 AM
resource solved it for you. In case you want to use
again in the future, @billions-xylophone-85957 was on the right track to propose the
resource property. You can apply this to a
resource using a resource transformation. See the
example here: https://www.pulumi.com/registry/packages/kubernetes/api-docs/helm/v3/chart/#chart-with-transformations
Chart with Transformations
rich-motorcycle-9868903/17/2023, 2:21 PM
to a resource transformation in order to apply it to a specific resource. I guess in my case it would be as simple as applying it to all
resources (since I only had those resources that were causing a problem).
being an OOTB helm solution, while the
allows for extremely fine-grained configuration control? Because it seems like the
tool could be extremely powerful, esp for performing chart manipulation beyond what is configurable in the chart’s
, and I don’t see an option for transformations in the