The Simplest Way to Make Kustomize and Opslevel Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

You pair kustomize and opslevel to link Kubernetes manifest overlays with your service catalog. This workflow lets teams build clean YAML files and check service rules before deploy. Modern teams run dozens of apps across many clusters. One tool builds the files, and the other tracks who owns each app. When they work together, teams ship changes faster and make fewer mistakes. How kustomize and opslevel move data and permissions The first tool takes base Kubernetes files and applies patches

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.

You pair kustomize and opslevel to link Kubernetes manifest overlays with your service catalog. This workflow lets teams build clean YAML files and check service rules before deploy.

Modern teams run dozens of apps across many clusters. One tool builds the files, and the other tracks who owns each app. When they work together, teams ship changes faster and make fewer mistakes.

How kustomize and opslevel move data and permissions

The first tool takes base Kubernetes files and applies patches for each stage. It needs read access to your Git repos to pull base files and overlays. Build runners execute this step inside your pipeline and output final YAML manifests.

The second tool reads those manifests and repo files to track service health. It uses a token or Git app install to read repo metadata. Then it checks if the rendered YAML meets your team standards and rubrics.

Data flows in one clear path during a standard build. A developer pushes a patch to a branch. The pipeline builds the final manifest and sends the result to the catalog API. The catalog scores the app and reports pass or fail back to the pipeline.

Permissions must stay tight on both sides of this flow. The build step only needs read rights on the source repo. The catalog step only needs a scoped key to post check results.

Common failure modes and how to scope roles

Many teams fail by using one broad admin token for every pipeline job. If a bad actor steals that key, they can rewrite catalog data for all apps. You should scope each token to one service or one team group.

Another common issue is drift between Git overlays and catalog entries. Teams add a new staging overlay but forget to register the service owner. You can fix this by failing the build when catalog metadata is missing.

End-to-End Encryption + Kustomize Security Overlays: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Shared service accounts also hide who ran a manual sync or override. When everyone uses the same pipeline key, audit logs show only a bot name. Map every manual check or cluster change to a real user identity instead.

Unlogged queries to your cluster or catalog API create blind spots during an outage. If a deploy fails, engineers often run local builds and push changes by hand. Without strict network paths, these manual runs bypass your catalog checks.

Lock down network paths so only approved runners can push to the cluster. Give the catalog read-only keys for Git, and never store keys in plain text. Rotate all pipeline keys on a set schedule to limit risk.

Keeping service checks fast and accurate

Fast feedback keeps developers happy during code review. Run your manifest build and catalog check on every pull request. This catches missing labels, bad resource limits, or missing owners before merge.

Keep your base files small and put stage details in overlays. Store your catalog file right next to the base YAML in Git. When an engineer updates a port or image, they can update catalog facts too.

Test your rendered YAML against catalog rules in a dry run first. If the score drops below your target, block the merge right away. This simple habit keeps your cluster state and catalog records in sync.

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

Where should the service catalog file live in a multi-overlay repo?

Place the catalog file at the root of the service folder near the base files. If each overlay represents a distinct service, put a separate file in each overlay folder.

Can the catalog block a deploy if a manifest misses a label?

Yes, your pipeline can send the rendered manifest to the catalog check endpoint. If the check fails your rubric rule, the pipeline stops the deploy step.

How do we stop developers from bypassing catalog checks with local builds?

Remove direct cluster write keys from developer laptops and require all changes to go through Git. When engineers need live cluster access for debugging, route their commands through a central audit point.

The query runs. The emails stay hidden.