Commit Graph

4 Commits

Author SHA1 Message Date
justinsb 8288515eb4 applylib: combine field managers
This ensures that we don't lose managed fields as we update them.
2022-11-23 11:03:07 -05:00
justinsb 32cb151419 Apply: Migration from CSA to SSA: set the operation to Apply
If we don't, the (kops,Update) managed blocks are treated as different
from the (kops,Apply) block.  This causes conflicts when the two
blocks specific incompatible values.

Issue #14520 (I believe it is the fix!)
2022-11-23 11:03:07 -05:00
Ole Markus With 392ececda7 Let kOps take ownership of any field currently owned by kubectl 2022-10-01 08:58:26 +02:00
Justin SB 6184f12861 Introduce applylib
A number of projects need a library for applying objects.  While we
are figuring out exactly what functionality is needed, we are using a
copy-and-paste approach.

Introduce applylib here also, and add the create-or-update
functionality that we want here.
2022-08-17 08:10:20 -04:00