Hi, I am looking for a way to ignore all changes t...
# general
f
Hi, I am looking for a way to ignore all changes to a HelmV3 chart once it's been deployed. I have the following code:
Copy code
const argocd = new k8s.helm.v3.Chart(
      "argocd",
      {
        namespace: "argocd",
        chart: "argo-cd",
        fetchOpts: { repo: "<https://argoproj.github.io/argo-helm>" },
        transformations: [
          (obj: any) => {
            if (obj.apiVersion == "extensions/v1") {
              obj.apiVersion = "<http://networking.k8s.io/v1|networking.k8s.io/v1>";
            }
          },
          args => {
              return {
                  props: args.props,
                  opts: pulumi.mergeOptions(args.opts, { ignoreChanges: ["metadata", "spec"] })
              }
          },
        ],
      },
      { providers: { kubernetes: this.provider }, dependsOn: [argocdPriorityClass]})
This does not ignore changes in the chart child objects - once argocd via pulumi has been deployed, it redeploys another argocd chart with custom values (argocd controlling itself pattern, so i dont want to overwrite this). My terminal reads: