GitRepository is the Schema for the gitrepositories API
5 top-level fields · last changed in Flux v0.5.0
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
GitRepositorySpec defines the desired state of a Git repository.
Determines which git client library to use. Defaults to go-git, valid values are ('go-git', 'libgit2').
Ignore overrides the set of excluded patterns in the .sourceignore format (which is the same as .gitignore). If not provided, a default will be used, consult the documentation for your version to find out what those are.
The interval at which to check for repository updates.
The Git reference to checkout and monitor for changes, defaults to master branch.
The Git branch to checkout, defaults to master.
The Git commit SHA to checkout, if specified Tag filters will be ignored.
The Git tag semver expression, takes precedence over Tag.
The Git tag to checkout, takes precedence over Branch.
The secret name containing the Git credentials. For HTTPS repositories the secret must contain username and password fields. For SSH repositories the secret must contain identity, identity.pub and known_hosts fields.
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
This flag tells the controller to suspend the reconciliation of this source.
The timeout for remote Git operations like cloning, defaults to 20s.
The repository URL, can be a HTTP/S or SSH address.
Verify OpenPGP signature for the Git commit HEAD points to.
Mode describes what git object should be verified, currently ('head').
The secret name containing the public keys of all trusted Git authors.
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
GitRepositoryStatus defines the observed state of a Git repository.
Artifact represents the output of the last successful repository sync.
Checksum is the SHA1 checksum of the artifact.
LastUpdateTime is the timestamp corresponding to the last update of this artifact.
Path is the relative file path of this artifact.
Revision is a human readable identifier traceable in the origin source system. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm chart version, etc.
URL is the HTTP address of this artifact.
Conditions holds the conditions for the GitRepository.
lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
message is a human readable message indicating details about the transition. This may be an empty string.
observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
status of the condition, one of True, False, Unknown.
type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
LastHandledReconcileAt holds the value of the most recent reconcile request value, so a change can be detected.
ObservedGeneration is the last observed generation.
URL is the download link for the artifact output of the last repository sync.
Source: install.yaml
Changes to GitRepository (source.toolkit.fluxcd.io/v1beta1) in each Flux version, compared to the version before it.
1 property has been added
Released · View GitRepository in v0.5.0
GitRepository was already present in this version of Flux, the oldest one on kubespec.dev
Released · View GitRepository in v0.4.3
No examples of GitRepository yet. Contribute one on GitHub.