GitRepository

A Flux source object that tells the source controller which Git repository and branch to fetch, and how often.

In more detail

It sets the URL, the branch or tag and the fetch interval. Kustomizations reference it by name through sourceRef, so the URL is written once and can feed several paths.

Example

kind: GitRepository
spec:
  interval: 1m
  url: https://github.com/acme/platform-config

Related terms

Taught in

References