Skip to content

Commit

Permalink
Merge pull request #615 from lsviben/backport-613-to-release-release-…
Browse files Browse the repository at this point in the history
…1.14

[Backport release-1.14] Add [Observe, Delete] as a supported management policy
  • Loading branch information
phisco authored Dec 1, 2023
2 parents 0310786 + 88699ac commit f4932e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/reconciler/managed/policies.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ func defaultSupportedManagementPolicies() []sets.Set[xpv1.ManagementAction] {
// is not deleted when the managed resource is deleted and the
// spec.forProvider is not late initialized.
sets.New[xpv1.ManagementAction](xpv1.ManagementActionObserve, xpv1.ManagementActionCreate),
// Like ObserveOnly, but the external resource is deleted when the
// managed resource is deleted.
sets.New[xpv1.ManagementAction](xpv1.ManagementActionObserve, xpv1.ManagementActionDelete),
}
}

Expand Down

0 comments on commit f4932e3

Please sign in to comment.