deploy block declares a push-based application deployment. ubx owns and applies it directly via Pulumi. Supports Helm charts, Kustomize, and raw Kubernetes manifests.
Syntax
Supported Types
| Type | Pulumi resource |
|---|---|
helm | k8s.helm.v3.Chart |
kustomize | k8s.kustomize.Directory |
manifest | k8s.yaml.ConfigFile |
Helm Deployment
values attribute supports Pending<T> references. When any value is pending, ubx wraps the entire values object in pulumi.all([...]).apply(...).
Generated TypeScript:
Kustomize Deployment
Manifest Deployment
Meta-Arguments
All meta-arguments work ondeploy blocks:
Cross-Stack Wiring
The key value ofdeploy blocks is wiring infra outputs directly into deployments:
depends_on needed — ubx infers the dependency from the ~ references.