Official Provider access policy in effect:Official Provider versions published after March 25, 2025 requires a subscription to Upbound
Learn More
function-fluxcd-tenant-crossplane-providers-usage-resource-crbs
By chelala
Homefunctionsfunction-fluxcd-tenant-crossplane-providers-usage-resource-crbs
Overview
This composition Function creates the necessary Cluster Role Bindings so Fluxcd Tenant Service Account can create the ProviderUsage object for managed resources, when composition is applied as the Fluxcd Tenan Service Account defined.

If using fluxcd and using the multi tenant recommendation (https://fluxcd.io/flux/cmd/flux_create_tenant/ and https://github.com/fluxcd/flux2-multi-tenancy/tree/dev-team) upon creating XR or XRC an object will be created in for every Crossplane provider time is used (providerusage). Given a Crossplane composition is created for a Fluxcd Tenant is created, the composition function will add the CRBs for that the FluxCD Tenant, which is created in a separated namespace with SAs limited to that namespace and no permission to create ProviderUsage at the cluster level.

Discover the building blocks for your internal cloud platform.
© 2025 Upbound, Inc.
Solutions
Learn
Company
More