Skip to content

Commit

Permalink
Merge pull request #692 from turkenh/allow-observe-update
Browse files Browse the repository at this point in the history
Whitelist management policy Observe & Update
  • Loading branch information
turkenh committed May 13, 2024
2 parents b31be77 + e739ce3 commit e50f51a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/reconciler/managed/policies.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ func defaultSupportedManagementPolicies() []sets.Set[xpv1.ManagementAction] {
// Like ObserveOnly, but the external resource is deleted when the
// managed resource is deleted.
sets.New[xpv1.ManagementAction](xpv1.ManagementActionObserve, xpv1.ManagementActionDelete),
// No Crate and no Delete. Just update/patch the external resource.
// Useful when the same external resource is managed by multiple
// managed resources.
sets.New[xpv1.ManagementAction](xpv1.ManagementActionObserve, xpv1.ManagementActionUpdate),
}
}

Expand Down

0 comments on commit e50f51a

Please sign in to comment.