Package and publish a Crossplane Configuration package to an OCI registry

domain: docs.crossplane.io · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Author a crossplane.yaml manifest in the package root (apiVersion: meta.pkg.crossplane.io/v1, kind: Configuration) listing required Providers/Functions under spec.dependsOn with apiVersion, package, and a version constraint (e.g. ">=v0.36.0").
  2. Place the Configuration's CompositeResourceDefinition and Composition YAML files alongside crossplane.yaml in the package root.
  3. Build the package with `crossplane xpkg build --package-root=<dir>` (add -o/--package-file to name the output .xpkg), producing a local OCI-image-format package artifact.
  4. Authenticate to the target OCI registry if required, e.g. `docker login <REGISTRY>`.
  5. Push the built package with `crossplane xpkg push -f <path/to/package>.xpkg <REGISTRY>/<REPO>:<TAG>`, using a fully-qualified registry/repo:tag destination.
  6. Verify the publish by installing it on a test cluster with a Configuration resource (apiVersion: pkg.crossplane.io/v1, kind: Configuration, spec.package: <REGISTRY>/<REPO>:<TAG>) and confirming it reaches INSTALLED: True, HEALTHY: True.

Known gotchas

Related routes

Configure a Crossplane ProviderConfig for provider-aws using IRSA authentication on EKS
docs.crossplane.io · 5 steps · unrated
Implement Crossplane ProviderConfig with selector-based references for multi-account AWS access without hardcoding account IDs in Compositions
docs.crossplane.io · 6 steps · unrated
Configure Crossplane ProviderConfig for multi-account AWS access using IAM role assumption per composite resource with selector-based config references
crossplane.io · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans