Hey anyone else has a bug where the "new" Resource...
# dotnet
h
Hey anyone else has a bug where the "new" ResourceTransforms is not running at all ? I have this defined on a Helm Chart V4 resource:
Copy code
ResourceTransforms =
{
	async (args, _) =>
	{
		Console.WriteLine("Transforming resource");
		if (args.Type.Contains("Deployment"))
		{
			return new ResourceTransformResult(
				args.Args,
				CustomResourceOptions.Merge((CustomResourceOptions)args.Options, new() { IgnoreChanges = ["spec.replicas"] })
			);
		}
		return null;
	}
}
But it never runs, the log is not appearing and the change is not happening. Just want to know if the issue is me or there is some known bug, i didn't see anything about this anywhere online.
e
Raise an issue about it. I don't think I've heard of this problem, might be something odd about the chart resource.