I have var pulumi.Resource and var *v1.ServiceAccount. I appended SA to pulumi resource and used it as a dependency (pulumi.DependsOn).
After update of pulumi-kubernetes from 2.7.1 to 2.7.2 I get this error
error: program failed: cannot marshal an input of type *v1.ServiceAccount with element type v1.ServiceAccount as a value of type pulumi.Resource.
Can somebody explain, why it happens and what to do? I tried to look through the changelog and found nothing.