This repository has been archived by the owner on Jun 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use updating-apply instead of patching-apply on creating/updating trait
upgrade crossplane/crossplane-runtime 0.8.0=>0.10.0 add e2e-test Signed-off-by: roy wang <[email protected]>
- Loading branch information
1 parent
7a6a94a
commit f11ab7c
Showing
8 changed files
with
399 additions
and
60 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -182,9 +182,11 @@ func NewReconciler(m ctrl.Manager, dm discoverymapper.DiscoveryMapper, o ...Reco | |
trait: ResourceRenderFn(renderTrait), | ||
}, | ||
workloads: &workloads{ | ||
client: resource.NewAPIPatchingApplicator(m.GetClient()), | ||
rawClient: m.GetClient(), | ||
dm: dm, | ||
// NOTE(roywang) [email protected] only use "application/merge-patch+json" type patch | ||
patchingClient: resource.NewAPIPatchingApplicator(m.GetClient()), | ||
updatingClient: resource.NewAPIUpdatingApplicator(m.GetClient()), | ||
rawClient: m.GetClient(), | ||
dm: dm, | ||
}, | ||
gc: GarbageCollectorFn(eligible), | ||
log: logging.NewNopLogger(), | ||
|
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
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.