vpctl architecture and security
Learn about vpctl trust boundaries, three usage modes, and what vpctl touches on the network and in your cluster.
阅读时间3 分钟最后更新于 2 天前
This page helps security teams review vpctl. It describes what vpctl touches on the network, in your cluster, and on disk. It also shows the three usage modes in this guide. Each mode has different trust-boundary implications, you can pick the one that matches your security posture.
What vpctl does (full capability map)
vpctl spans five phases. Only Render (release generate
- Mode A (recommended) uses every phase.
- Mode B is Mode A with the Mirror phase made explicit for air-gapped deployments.
- Mode C uses only Render and stops there, vpctl hands outputs to the CD tooling you already run.
Mode A — Recommended (CI)
Mode A runs vpctl only in your CI pipeline. It has two variants, depending on what performs the actual workload deployment:- Mode A (ArgoCD variant) — recommended. vpctl renders ArgoCD app-of-apps charts, commits them to Git, and applies a single bootstrap CRD to the cluster. ArgoCD takes over from there. vpctl never holds a cluster-wide deployment credential — ArgoCD does.
Application - Mode A (Helm variant). vpctl renders Helm charts and runs directly for every chart in the release. There's no Git commit and no ArgoCD. The CI runner needs a cluster-wide kubeconfig, which is a weaker trust boundary. Use this variant only if you don't run ArgoCD.
helm upgrade --install
Mode A (ArgoCD variant)
Yourmanifest.yaml- Checks out the manifest.
- Pulls the release from the Unity registry.
- Optionally mirrors artifacts to your registry.
- Renders charts and Secret manifests.
- Commits the rendered charts to Git.
-
Applies a single bootstrap ArgoCD to the cluster.
Application - ArgoCD pulls charts from your Git repo and deploys workloads.

ApplicationMode A (Helm variant)
If you don't run ArgoCD, vpctl can deploy directly with Helm. Steps 5, 8, and 9 in the diagram from the ArgoCD variant don't apply because there's no Git commit and no ArgoCD reconcile. Step 7 becomesrelease deploy --format helmhelm upgrade --install
helm upgrade --installMode B — Air-gapped mirror
A bastion or staging host, runs vpctl once to mirror Unity release artifacts into your private registry. After the mirror completes, the production cluster, Argo CD, and your Git repository no longer reach the public internet. Image references in the rendered charts are rewritten to your registry at generate time.
--format helm | argocdMode C — Generate-only (bring your own CD)
vpctl renders Helm chart values and KubernetesSecretmanifest.yamlhelmkubectlgenerated-charts/secrets.yaml
vpctl release deploy --format helmWhat vpctl touches
- Outbound network:
- Unity registry () — required for
uccmpprivatecloud.azurecr.ioand the source side ofrelease pull.artifact sync - Your registry — required for the target side of .
artifact sync - Kubernetes API — used only for and
secret deploy.release deploy
- Unity registry (
- Credentials read:
- Unity registry credentials, stored under your home directory after .
vpctl configure - Docker credential store () for ORAS and OCI Helm operations.
~/.docker/config.json - kubeconfig (default discovery; override with on
--contextandsecret deploy).release deploy
- Unity registry credentials, stored under your home directory after
- Files written (inside the working directory only):
- — release archive contents.
extracted-release/ - — rendered Helm charts and ArgoCD
generated-charts/manifests.Application - — rendered Kubernetes
secrets.yamlmanifests.Secret - — created only when you pass
secrets.import.yamlto--persist.secret generate
- What vpctl never does: send telemetry, call back to Unity, auto-update, or modify anything outside the working directory.