The first time you deploy across multiple clusters and watch your CI pipeline choke on permissions, you realize configuration chaos is real. Mercurial Tanzu exists to calm that storm. It blends the source control efficiency of Mercurial with the enterprise-grade deployment fabric of VMware Tanzu, giving infrastructure teams a unified workflow that tracks code, automates delivery, and maintains security boundaries you can actually reason about.
Mercurial brings immutable history and simple branching logic. Tanzu provides runtime orchestration and container lifecycle management across Kubernetes and VMs. Together, they form a hybrid model where versioned control meets modern cloud deployment—ideal for teams transitioning from legacy infrastructure to automated, identity-aware systems. Instead of juggling YAML templates and manual RBAC edits, Mercurial Tanzu aligns code provenance with deployment identity, creating a clear audit line from commit to cluster.
How the integration flows
You start with source control in Mercurial, pushing changes tied to service definitions. Tanzu pulls metadata through its pipeline controller, verifies signatures against your identity provider—Okta, AWS IAM, or Azure AD—and enforces runtime policy through OIDC tokens. Each build inherits its access allows list automatically, cutting the need for human intervention when deploying sensitive workloads. It’s continuous integration without the continuous pinging of security teams.
Best practices for production
Map RBAC groups to branches, not users. Rotate signing keys with each release cycle, not quarterly. Treat container images as versioned dependencies, like libraries, instead of artifacts sitting in storage. When a permission fails, verify the Tanzu policy resolver before blaming Mercurial hooks. The workflow error messages actually tell you who owns the lock, once you know where to look.