Skip to content

v0.11.1

Compare
Choose a tag to compare
@lsviben lsviben released this 22 Jan 09:30
· 9 commits to release-0.11 since this release
b87ee5b

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

  • [Backport release-0.11] Handle empty converts by @lsviben in #182

Full Changelog: v0.11.0...v0.11.1