github crossplane-contrib/provider-kubernetes v0.11.1

latest releases: v0.15.0, v0.14.1, v0.14.0...
8 months ago

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

Don't miss a new provider-kubernetes release

NewReleases is sending notifications on new releases.