helpful-vegetable-16314
10/17/2025, 3:32 PMtransformations: [
(args) => {
if (args.type === 'kubernetes:apps/v1:Deployment') {
// FIXME: We only want to set the image on create, not on updates
const props = args.props as any
props.spec.template.spec.containers.forEach((container: any) => {
delete container.image
delete container.imagePullPolicy
})
return { props, opts: args.opts }
}
return undefined
}
],
PS I know transformations is going to be deprecated with transforms, but for the life of me I couldn't get it do delete those inputs.echoing-dinner-19531
10/19/2025, 8:03 AMhelpful-vegetable-16314
10/20/2025, 11:42 AM