# v1alpha1SyncSource

Type: object

SyncSource specifies a location from which hydrated manifests may be synced. If RepoURL is not set, it is assumed
to be the same as the associated DrySource config in the SourceHydrator.

Schema: [v1alpha1SyncSource](https://sourcey-argocd.pages.dev/api/models/v1alpha1syncsource/index.md)

- `path` (optional)
  Type: string
  
  Path is a directory path within the git repository where hydrated manifests should be committed to and synced
  from. The Path should never point to the root of the repo. If hydrateTo is set, this is just the path from which
  hydrated manifests will be synced.
  
  +kubebuilder:validation:Required
  +kubebuilder:validation:MinLength=1
  +kubebuilder:validation:Pattern=`^.{2,}|[^./]$`

- `repoURL` (optional)
  Type: string
  
  RepoURL is the URL to the git repository that contains the hydrated manifests. If not set, defaults to
  the DrySource.RepoURL.

- `targetBranch` (optional)
  Type: string
  
  TargetBranch is the branch from which hydrated manifests will be synced.
  If HydrateTo is not set, this is also the branch to which hydrated manifests are committed.