This release fixes a conversion bug that happened when:
- a
v1alpha1
Object exists, created through a Composition - the provider is updated to 0.11.0
- the Composition is updated to manage a
v1alpha2
object - the
spec.managementPolicies
are left empty (will be defaulted)
Which resulted in this error in the Composition reconcilement due when converting from v1alpha2
to v1alpha1
, as the spec.managementPolicies
was unset:
cannot compose resources: cannot apply composed resource "object":
failed to prune fields: failed add back owned items: failed to convert pruned
object at version kubernetes.crossplane.io/v1alpha1: conversion webhook for
kubernetes.crossplane.io/v1alpha2, Kind=Object failed: unsupported management
policy
What's Changed
Full Changelog: v0.11.0...v0.11.1