The Simplest Way to Make Crossplane and Openebs Work Like They Should
Teams use crossplane and openebs together to manage cloud resources and local cluster storage. Crossplane sets up external services while OpenEBS turns cluster node disks into persistent volumes. This pair lets developers request both cloud databases and local block storage through Kubernetes APIs. Platform teams write standard templates so app teams do not manage raw disk setup. Both tools run inside the cluster and read custom resource definitions to do their jobs. How crossplane and openeb
Your coding agents run with your access.
Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.
Teams use crossplane and openebs together to manage cloud resources and local cluster storage. Crossplane sets up external services while OpenEBS turns cluster node disks into persistent volumes.
This pair lets developers request both cloud databases and local block storage through Kubernetes APIs. Platform teams write standard templates so app teams do not manage raw disk setup. Both tools run inside the cluster and read custom resource definitions to do their jobs.
How crossplane and openebs share permissions and data flows
Crossplane acts as a control plane that talks to outside cloud APIs and local clusters. OpenEBS runs storage engines on cluster nodes to manage local disks and volume replicas. You link them by letting Crossplane compose storage classes and volume claims that OpenEBS fulfills.
When an app team requests a workload, Crossplane reads the claim and creates the needed objects. It writes a storage request to the Kubernetes API server using its own service account. OpenEBS watches the API server, sees the new volume request, and formats the local disk.
Data flows along two distinct paths in this setup. Control traffic goes from Crossplane to the Kubernetes API, then to the OpenEBS control plane. Actual app data goes straight from the app pod to the local disk managed by OpenEBS. Keeping these two paths separate helps teams lock down cluster permissions.
Common failure modes and role scoping between the systems
A common mistake is giving the Crossplane service account full cluster admin rights. Teams do this to make setup fast, but a bad template can wipe out storage pools. Shared service accounts also make it hard to see which team changed a volume rule.
Broad tokens create another risk when Crossplane manages multiple clusters at the same time. If one token leaks, an attacker can delete OpenEBS storage volumes across every single cluster. Unlogged changes to storage classes can also cause silent data loss when pods restart.
To fix this, give Crossplane a small role that only writes volume claims and storage classes. Never let the Crossplane role touch the raw OpenEBS disk pools or node settings directly. Set up OpenEBS with its own service account that only manages storage nodes and volume replicas.
Crossplane Composition Security + End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Use network policies to lock down traffic between the control pods and the storage nodes. Only allow app pods to talk to the specific OpenEBS targets they need for their volumes. Turn on Kubernetes audit logs for all storage group API calls so you can track every change.
Managing day two storage tasks and volume health
Day two work gets much easier when you separate template rules from disk management. Platform engineers update Crossplane templates to change default volume sizes for new apps. They do not need to touch the running OpenEBS engines to make these rule updates.
When a node disk fails, OpenEBS handles the rebuild using its local replica copies. Crossplane checks the health status of the volume claim and reports it back to the user. If an engineer needs to inspect a stuck volume or check database files, they need safe access.
During these checks, teams often look at live app data stored on those persistent volumes. Masking tools can rewrite sensitive fields like emails, phone numbers, card numbers, or national IDs in query results. This keeps customer data safe while engineers fix storage issues or test volume snapshots.
Govern statements and responses across databases and APIs
Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.
First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.
Frequently asked questions
Can Crossplane install and update OpenEBS on a cluster?
Yes, Crossplane can install OpenEBS by using its Helm or Kubernetes providers. You define the release in a template, and Crossplane keeps the storage engine updated.
Should Crossplane manage OpenEBS disk pools directly?
Keep pool setup separate from app templates whenever you can. Platform admins should set up disk pools once, while Crossplane only creates volume claims for apps.
How do you prevent accidental volume deletion in this setup?
Set the volume reclaim policy to retain inside the storage class that Crossplane uses. If a user deletes their Crossplane claim, OpenEBS keeps the underlying disk data safe on the node.
Short role checks help teams work fast. Simple rules make each review clear. Good logs keep every team safe. Scoped keys stop bad changes early.
Related guides
In this post