Crossplane Use Cases

Published
Length
3 min read

Luis Felipe Dias

All posts

The main crossplane use cases involve managing cloud databases, clusters, and buckets through Kubernetes. Teams define custom APIs so developers can request cloud services without writing complex scripts. Most teams set up a central control plane with broad cloud provider permissions. When those permissions are too wide, one bad request can alter critical production systems. Core crossplane use cases and how the control plane works Crossplane turns a Kubernetes cluster into a single control p

Crossplane Composition Security: the complete guide

Architecture patterns, implementation strategies, and security best practices. Delivered to your inbox.

Free white paper. No spam. Unsubscribe anytime.

The main crossplane use cases involve managing cloud databases, clusters, and buckets through Kubernetes. Teams define custom APIs so developers can request cloud services without writing complex scripts. Most teams set up a central control plane with broad cloud provider permissions. When those permissions are too wide, one bad request can alter critical production systems.

Core crossplane use cases and how the control plane works

Crossplane turns a Kubernetes cluster into a single control plane for external cloud resources. Platform teams install provider packages that talk to Amazon, Google, or Microsoft cloud APIs. Each provider uses a cloud account role or static key to create resources. The control plane watches the desired state and fixes any drift it finds.

One common pattern is building a self-service catalog for app developers. Platform engineers bundle a database, a network rule, and a firewall into one template. Developers submit a small manifest to request that whole bundle for their app. They do not need to learn the cloud console or write resource templates.

Multi-cloud management is another major goal for growing engineering teams. Teams write one standard API definition that works across multiple cloud providers. A developer asks for a relational database using the exact same short request format. The control plane routes that request to the right cloud based on team rules.

How teams set up roles and permissions for cloud providers

To make this work, teams must link Kubernetes roles to cloud provider roles. First, the platform team restricts who can submit resource claims inside the cluster. They use native Kubernetes role rules to separate dev namespaces from production namespaces. This step keeps junior staff from deleting major cloud systems by mistake.

Next, the provider controller needs its own credentials to talk to the cloud API. Teams often attach a cloud admin role to the provider pod so it works fast. A better path is splitting providers by team and giving each one narrow permissions. Even then, the controller holds active keys that can create or drop databases.

Crossplane Composition Security: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

What native setup solves and the operational gap it leaves

This native setup solves resource creation and stops drift across cloud accounts. It gives teams a single place to check what databases and clusters exist. Role rules decide which person or pod can start a resource request. They also keep cloud account keys out of developer laptops and source code repos.

Still, provisioning a database or cluster is only the first half of daily work. Once Crossplane creates a database, engineers and apps still need to log in. Native setup decides who creates the resource, not what queries run inside it later. When someone logs in to fix a bug, role checks stop watching their commands.

A broad database role lets an engineer run a drop table command by mistake. It also returns raw customer emails, phone numbers, and card numbers in query results. Kubernetes role bindings cannot read SQL statements or block bad commands in flight. Teams need a way to inspect every single command and mask sensitive fields.

Check database and API queries on the wire

Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.

Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.

Frequently asked questions

How does Crossplane differ from traditional infrastructure code tools?

Traditional tools run once during a build pipeline and then stop watching the cloud. Crossplane runs inside a cluster all day and fixes manual cloud changes right away.

Does Crossplane control what happens inside a database after creation?

No, it only manages the outer cloud resource and writes connection keys to a secret. It does not inspect the SQL queries or commands that users run inside the database.

How should teams limit provider permissions in production?

Teams should create separate provider configs for each group or cloud account. Give each provider role only the exact cloud actions needed for that specific team.

Save the open-source gateway.

hoop is MIT-licensed infrastructure for controlling how AI agents reach production data. Star hoophq/hoop so you can inspect it, deploy it, or share it when your team starts governing agent access.