You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enableManagementPolicies=app.Flag("enable-management-policies", "Enable support for Management Policies.").Default("false").Envar("ENABLE_MANAGEMENT_POLICIES").Bool()
Add a new resource with managementPolicies set to a non-default value.
Environment
Crossplane version: 1.16.0
The text was updated successfully, but these errors were encountered:
In the current code, the
managed.WithManagementPolicies()
option is missing in the template within the Reconciler initialization:provider-template/hack/helpers/controller/KIND_LOWER/KIND_LOWER.go.tmpl
Lines 65 to 74 in 2e0b022
Due to this missing line, the ManagementPolicies feature is not activated, even if the environment variable is set to enable it.
Reproduce the issue
provider-template/cmd/provider/main.go
Line 58 in 2e0b022
managementPolicies
set to a non-default value.Environment
Crossplane version: 1.16.0
The text was updated successfully, but these errors were encountered: