The Simplest Way to Make Compass and Fluxcd Work Like They Should
Teams use compass and fluxcd to link cluster sync status with their service catalog. Flux pulls code from Git into Kubernetes, and Compass tracks the live health of each app. This setup gives developers one place to check deployment status and service ownership. Platform teams keep Git as the single source of truth while sharing clear release data. How compass and fluxcd share data and permissions Flux runs inside your Kubernetes cluster and watches your Git repos for changes. When a team me
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 compass and fluxcd to link cluster sync status with their service catalog. Flux pulls code from Git into Kubernetes, and Compass tracks the live health of each app.
This setup gives developers one place to check deployment status and service ownership. Platform teams keep Git as the single source of truth while sharing clear release data.
How compass and fluxcd share data and permissions
Flux runs inside your Kubernetes cluster and watches your Git repos for changes. When a team merges code, Flux applies the new manifests to the cluster.
Compass sits outside the cluster as a central catalog for all your software services. To connect them, Flux sends deployment events out to the Compass API.
You set up the Flux notification controller to push alerts when a sync finishes. This controller uses a dedicated API token to log in and write data to Compass.
Outbound webhooks mean you do not need to open inbound network ports to your cluster. Flux pushes the service name, commit hash, and sync state to the catalog.
Compass reads this event payload and updates the service scorecards and activity feed. Developers can then see which version runs in production without logging into the cluster.
Common failure modes and how to scope roles
Many teams make the mistake of using a personal admin token for cluster alerts. When that person leaves the team, the token dies and the catalog goes stale.
A broad admin token also creates a big security risk if it leaks. Anyone who steals that key could delete catalog items or read private team data.
Another common issue is missing logs when webhook calls fail due to network drops. If you do not log failed sends, your catalog shows old versions as live.
End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
To fix this, create a dedicated service account just for the Flux notification controller. Give this account a narrow role that can only write deployment events to Compass.
Store the API token in a Kubernetes secret with strict read rules. Only the notification controller pod should have the right to read that secret.
You should also lock down network paths using cluster egress rules. Allow the notification pod to talk only to the Compass API endpoint over HTTPS.
Rotate your webhook tokens on a regular schedule to limit the blast radius of leaks. Check your controller logs each week to catch any dropped events or permission errors.
Keeping service ownership and Git state in sync
A service catalog only helps your team if the data stays fresh and true. You can store your Compass service files right inside the same Git repo as Flux.
When developers update an app, they update the catalog file in the same pull request. This habit keeps service ownership, on-call links, and cluster state aligned at all times.
If a Flux sync fails, the notification controller sends a failure event right away. Compass flags the service in red so the owning team knows to check their release.
During an incident, engineers often need to check live cluster state to fix broken syncs. Keep cluster roles tight so developers only touch the namespaces their team owns.
Add runtime guardrails and masking beside your databases and APIs
Login rules, role grants, and CI checks govern who connects to your stack. Yet any allowed script, engineer, or AI agent still runs commands with the full scope of its role. For workloads on Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes, SSH, or internal HTTP services, hoop.dev sits beside the service as an open-source proxy, a sidecar for your database or API.
Before a query runs, hoop.dev guardrails check the statement against your rules. An AI Analyzer you configure can score intent or hold risky calls for human review. Next, hoop.dev data masking rewrites sensitive fields in responses, and each verdict is logged per listener. Explore the MIT-licensed project on GitHub.
Frequently asked questions
Does Flux need inbound network access from Compass?
No, Flux pushes events out to Compass using its built-in notification controller. Your Kubernetes cluster does not need to open any inbound firewall ports for the catalog.
What happens in Compass when a Flux deployment fails?
The Flux notification controller sends a failed event status to the Compass API. Compass logs this failure in the activity feed and updates the service health scorecard.
How should we manage the API token between both tools?
Create a dedicated bot account in Compass with write permissions limited to deployment events. Store that token in a locked Kubernetes secret and rotate it every ninety days.
Related guides
In this post