sync block declares a GitOps sync target. ubx creates the CRD; a GitOps controller (ArgoCD, Flux) reconciles the actual deployment. Infra outputs are passed as parameters.
Syntax
Supported Types
| Type | CRD |
|---|---|
argocd | ArgoCD Application (argoproj.io/v1alpha1) |
flux | Flux Kustomization (kustomize.toolkit.fluxcd.io/v1) |
ArgoCD Example
Attribute Mapping
| ubx attribute | ArgoCD field |
|---|---|
repo | spec.source.repoURL |
path | spec.source.path |
target | spec.destination.server |
namespace | metadata.namespace |
values | spec.helm.parameters as [{name, value}] |
