pulumi / pulumi-kubernetes

A Pulumi resource provider for Kubernetes to manage API resources and workloads in running clusters
https://www.pulumi.com/docs/reference/clouds/kubernetes/
Apache License 2.0
406 stars 115 forks source link

Resource to replace gets rendered twice in tree view #1997

Open theneva opened 4 years ago

theneva commented 4 years ago

Hi! :wave:

I use the @pulumi/kubernetes provider to create a Deployment.

When migrating it from kubernetes.apps.v1beta1.Deployment to kubernetes.apps.v1.Deployment, I ended up with this diff:

image

$ pulumi up shows the resource twice with the same name and plan, but different diff (p is aliased to pulumi in the screenshot, and dev is just the name of my stack):

image

This seems strange and/or unintentional, and @lukehoban agreed & asked me to create an issue!

mikhailshilkov commented 2 years ago

Moved to pulumi-kubernetes as the k8s provider has its own diff calculation implementation