-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix SSA conflict when updating old objects (#3275)
Refs pulumi/customer-support#1837 This adds unit tests around: * SSA updates for objects with existing field managers. * SSA updates for old/legacy objects with no field managers. This currently forces the apply when the object has no managers. There's also some code showing where we could impersonate `kubectl` SSA to trigger a server-side upgrade of these fields. Worth noting `client-go` recently added support for `Apply` but only in typed clients. I use a wrapper around this to test our untyped `ssaUpdate` path. --------- Co-authored-by: Ramon Quitales <ramon@pulumi.com>
- Loading branch information
Showing
7 changed files
with
495 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.