# v1alpha1ApplicationSource

Type: object

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

- `chart` (optional)
  Type: string
  
  Chart is a Helm chart name, and must be specified for applications sourced from a Helm repo.

- `directory` (optional)
  Reference: [v1alpha1ApplicationSourceDirectory](https://sourcey-argocd.pages.dev/api/models/v1alpha1applicationsourcedirectory/index.md); Type: object

- `helm` (optional)
  Reference: [v1alpha1ApplicationSourceHelm](https://sourcey-argocd.pages.dev/api/models/v1alpha1applicationsourcehelm/index.md); Type: object

- `kustomize` (optional)
  Reference: [v1alpha1ApplicationSourceKustomize](https://sourcey-argocd.pages.dev/api/models/v1alpha1applicationsourcekustomize/index.md); Type: object

- `name` (optional)
  Type: string
  
  Name is used to refer to a source and is displayed in the UI. It is used in multi-source Applications.

- `path` (optional)
  Type: string
  
  Path is a directory path within the Git repository, and is only valid for applications sourced from Git.

- `plugin` (optional)
  Reference: [v1alpha1ApplicationSourcePlugin](https://sourcey-argocd.pages.dev/api/models/v1alpha1applicationsourceplugin/index.md); Type: object

- `ref` (optional)
  Type: string
  
  Ref is reference to another source within sources field. This field will not be used if used with a `source` tag.

- `repoURL` (optional)
  Type: string

- `tagPrefix` (optional)
  Type: string
  
  TagPrefix filters git tags to only those with this prefix before evaluating targetRevision as a semver constraint.
  The prefix is stripped from tag names before comparison and re-added to the resolved version.
  For example, with tagPrefix "component-b/" and targetRevision "1.0.*", tags like "component-b/1.0.0" and
  "component-b/1.0.1" are candidates, and the constraint resolves to "component-b/1.0.1".

- `targetRevision` (optional)
  Type: string
  
  TargetRevision defines the revision of the source to sync the application to.
  In case of Git, this can be commit, tag, or branch. If omitted, will equal to HEAD.
  In case of Helm, this is a semver tag for the Chart's version.