github crossplane/crossplane v2.4.4

latest release: v2.5.0
one hour ago

v2.4.4 is a patch release scoped to fixing issues reported by users of Crossplane v2.4 and fixing security related issues in Crossplane's dependencies.

🎉 Highlights

  • Namespaced XRs can no longer compose cluster scoped resources: A function could make a namespaced XR compose a cluster scoped resource by setting metadata.namespace on it, because the scope check only ran on composed resources without a namespace. Crossplane now checks the scope of every resource a namespaced XR composes, based on its kind. Backported in #8053, originally fixed in #8050.
  • Provider ServiceAccount binding limited to the package runtime namespace: The RBAC manager now only watches provider runtime Deployments in the namespace where Crossplane runs packages, and only binds a Deployment's ServiceAccount when its controller reference matches the ProviderRevision exactly. The Helm chart passes core Crossplane's namespace to the RBAC manager, so standard installs need no changes. Backported in #8057, originally fixed in #8055.
    • ⚠️ With --package-runtime=External, your external runtime must run provider Deployments in the package runtime namespace for their ServiceAccounts to be bound, or manage those bindings itself.
  • Generated RBAC roles follow owned CRDs: The RBAC manager now builds the rules in generated provider, composite, and claim ClusterRoles only from CRDs that exist in the cluster and are owned by the ProviderRevision or XRD. Rules are recomputed on every reconcile, so a resource that no longer qualifies loses its grants. Backported in #8059, originally fixed in #8054.
  • Dependency security updates: Bumps go-chi/chi/v5 (#7969), go-jose/go-jose/v4 and golang.org/x/net (#7983), klauspost/compress (#8020), golang.org/x/crypto (#8036), go.opentelemetry.io/otel/trace (#8047), and crossplane-runtime to v2.4.4 (#8086) to pick up upstream CVE fixes. Also refreshes the lock file (#7976, #7988).

What's Changed

  • chore(deps): update module github.com/go-chi/chi/v5 to v5.4.0 [security] (release-2.4) by @crossplane-renovate[bot] in #7969
  • chore(deps): lock file maintenance (release-2.4) by @crossplane-renovate[bot] in #7976
  • chore(deps): update vulnerable dependencies [security] (release-2.4) by @crossplane-renovate[bot] in #7983
  • chore(deps): lock file maintenance (release-2.4) by @crossplane-renovate[bot] in #7988
  • chore(deps): update module github.com/klauspost/compress to v1.20.2 [security] (release-2.4) by @crossplane-renovate[bot] in #8020
  • chore(deps): update module golang.org/x/crypto to v0.59.0 [security] (release-2.4) by @crossplane-renovate[bot] in #8036
  • chore(deps): update module go.opentelemetry.io/otel/trace to v1.47.0 [security] (release-2.4) by @crossplane-renovate[bot] in #8047
  • [release-2.4] fix(composite): check scope of every resource composed by a namespaced XR by @lsviben in #8053
  • [Backport release-2.4] fix(rbac): limit provider Deployment discovery to runtime namespace by @github-actions[bot] in #8057
  • [Backport release-2.4] fix(rbac): derive generated roles from owned CRDs by @github-actions[bot] in #8059
  • [Backport release-2.4] test(e2e): give lifecycle DeleteClaim more time after a version switch by @github-actions[bot] in #8078
  • chore(deps): bump crossplane-runtime to v2.4.4 by @jbw976 in #8086

Full Changelog: v2.4.3...v2.4.4

Don't miss a new crossplane release

NewReleases is sending notifications on new releases.