DaemonSetPatch
taking ownership of fields unexpectedly upon an update operation with ignoreChanges
set
#2714
Labels
area/patch
area/server-side-apply
kind/bug
Some behavior is incorrect or out of spec
resolution/fixed
This issue was fixed
Milestone
What happened?
While using the Pulumi DaemonSetPatch resource, I encountered a bug where having ignoreChanges set caused unexpected behavior. Specifically, when this parameter was set, the Pulumi process took unexpected ownership of resources during an update operation. It did not occur on the initial resource creation, but on an update operation once a field was changed.
I had ignoreChanges set to
spec.template.metadata
andspec.selector
and witnessed the pulumi-kubernetes manager take ownership ofspec.template.metadata
but notspec.selector
Example
Code Example
Resulting Config Information
The kube-proxy config on resource creation.
The kube-proxy config after an update with ignoreChanges set.
Output of
pulumi about
Additional context
I believe it might be slightly related to the described behavior here: #2639 (comment)
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: