You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repo is built to show a Pulumi & Pulumi Kubernetes bug that occurs in connection with the ignore_changes resource option and a mutating deployment.spec property.
Steps to repro:
Bring your own k8s cluster
Run a pulumi up to create the namespace and deployment
Using deployment.yaml patch file, execute kubectl patch deployment -n nginx nginx --patch-file deployment.yaml. This manually upates the replicas field to differ from your pulumi program.
At this point, the ignore_changes directive drives the correct behavior. That is, the spec.replicas field does not yet produce a conflict.
Swap the image_tag variable (comment/uncomment) and run a pulumi preview
A SSA conflict error should now be produced for ignore_changes