31 KiB
Source API reference
Packages:
source.toolkit.fluxcd.io/v1beta1
Package v1beta1 contains API Schema definitions for the source v1beta1 API group
Resource Types:Bucket
Bucket is the Schema for the buckets API
| Field | Description | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring |
source.toolkit.fluxcd.io/v1beta1
|
||||||||||||||||||||
kindstring |
Bucket
|
||||||||||||||||||||
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||||||||||||||
specBucketSpec |
|
||||||||||||||||||||
statusBucketStatus |
GitRepository
GitRepository is the Schema for the gitrepositories API
| Field | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring |
source.toolkit.fluxcd.io/v1beta1
|
||||||||||||||||||
kindstring |
GitRepository
|
||||||||||||||||||
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||||||||||||
specGitRepositorySpec |
|
||||||||||||||||||
statusGitRepositoryStatus |
HelmChart
HelmChart is the Schema for the helmcharts API
| Field | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring |
source.toolkit.fluxcd.io/v1beta1
|
||||||||||||
kindstring |
HelmChart
|
||||||||||||
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||||||
specHelmChartSpec |
|
||||||||||||
statusHelmChartStatus |
HelmRepository
HelmRepository is the Schema for the helmrepositories API
| Field | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring |
source.toolkit.fluxcd.io/v1beta1
|
||||||||||
kindstring |
HelmRepository
|
||||||||||
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||||
specHelmRepositorySpec |
|
||||||||||
statusHelmRepositoryStatus |
Artifact
(Appears on: BucketStatus, GitRepositoryStatus, HelmChartStatus, HelmRepositoryStatus)
Artifact represents the output of a source synchronisation.
| Field | Description |
|---|---|
pathstring |
Path is the relative file path of this artifact. |
urlstring |
URL is the HTTP address of this artifact. |
revisionstring |
(Optional)
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. |
checksumstring |
(Optional)
Checksum is the SHA1 checksum of the artifact. |
lastUpdateTimeKubernetes meta/v1.Time |
LastUpdateTime is the timestamp corresponding to the last update of this artifact. |
BucketSpec
(Appears on: Bucket)
BucketSpec defines the desired state of an S3 compatible bucket
| Field | Description |
|---|---|
providerstring |
(Optional)
The S3 compatible storage provider name, default (‘generic’). |
bucketNamestring |
The bucket name. |
endpointstring |
The bucket endpoint address. |
insecurebool |
(Optional)
Insecure allows connecting to a non-TLS S3 HTTP endpoint. |
regionstring |
(Optional)
The bucket region. |
secretRefgithub.com/fluxcd/pkg/apis/meta.LocalObjectReference |
(Optional)
The name of the secret containing authentication credentials for the Bucket. |
intervalKubernetes meta/v1.Duration |
The interval at which to check for bucket updates. |
timeoutKubernetes meta/v1.Duration |
(Optional)
The timeout for download operations, defaults to 20s. |
ignorestring |
(Optional)
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. |
suspendbool |
(Optional)
This flag tells the controller to suspend the reconciliation of this source. |
BucketStatus
(Appears on: Bucket)
BucketStatus defines the observed state of a bucket
| Field | Description |
|---|---|
observedGenerationint64 |
(Optional)
ObservedGeneration is the last observed generation. |
conditions[]Kubernetes meta/v1.Condition |
(Optional)
Conditions holds the conditions for the Bucket. |
urlstring |
(Optional)
URL is the download link for the artifact output of the last Bucket sync. |
artifactArtifact |
(Optional)
Artifact represents the output of the last successful Bucket sync. |
ReconcileRequestStatusgithub.com/fluxcd/pkg/apis/meta.ReconcileRequestStatus |
(Members of |
GitRepositoryRef
(Appears on: GitRepositorySpec)
GitRepositoryRef defines the Git ref used for pull and checkout operations.
| Field | Description |
|---|---|
branchstring |
(Optional)
The Git branch to checkout, defaults to master. |
tagstring |
(Optional)
The Git tag to checkout, takes precedence over Branch. |
semverstring |
(Optional)
The Git tag semver expression, takes precedence over Tag. |
commitstring |
(Optional)
The Git commit SHA to checkout, if specified Tag filters will be ignored. |
GitRepositorySpec
(Appears on: GitRepository)
GitRepositorySpec defines the desired state of a Git repository.
| Field | Description |
|---|---|
urlstring |
The repository URL, can be a HTTP/S or SSH address. |
secretRefgithub.com/fluxcd/pkg/apis/meta.LocalObjectReference |
(Optional)
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. |
intervalKubernetes meta/v1.Duration |
The interval at which to check for repository updates. |
timeoutKubernetes meta/v1.Duration |
(Optional)
The timeout for remote Git operations like cloning, defaults to 20s. |
refGitRepositoryRef |
(Optional)
The Git reference to checkout and monitor for changes, defaults to master branch. |
verifyGitRepositoryVerification |
(Optional)
Verify OpenPGP signature for the Git commit HEAD points to. |
ignorestring |
(Optional)
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. |
suspendbool |
(Optional)
This flag tells the controller to suspend the reconciliation of this source. |
gitImplementationstring |
(Optional)
Determines which git client library to use. Defaults to go-git, valid values are (‘go-git’, ‘libgit2’). |
GitRepositoryStatus
(Appears on: GitRepository)
GitRepositoryStatus defines the observed state of a Git repository.
| Field | Description |
|---|---|
observedGenerationint64 |
(Optional)
ObservedGeneration is the last observed generation. |
conditions[]Kubernetes meta/v1.Condition |
(Optional)
Conditions holds the conditions for the GitRepository. |
urlstring |
(Optional)
URL is the download link for the artifact output of the last repository sync. |
artifactArtifact |
(Optional)
Artifact represents the output of the last successful repository sync. |
ReconcileRequestStatusgithub.com/fluxcd/pkg/apis/meta.ReconcileRequestStatus |
(Members of |
GitRepositoryVerification
(Appears on: GitRepositorySpec)
GitRepositoryVerification defines the OpenPGP signature verification process.
| Field | Description |
|---|---|
modestring |
Mode describes what git object should be verified, currently (‘head’). |
secretRefgithub.com/fluxcd/pkg/apis/meta.LocalObjectReference |
The secret name containing the public keys of all trusted Git authors. |
HelmChartSpec
(Appears on: HelmChart)
HelmChartSpec defines the desired state of a Helm chart.
| Field | Description |
|---|---|
chartstring |
The name or path the Helm chart is available at in the SourceRef. |
versionstring |
(Optional)
The chart version semver expression, ignored for charts from GitRepository and Bucket sources. Defaults to latest when omitted. |
sourceRefLocalHelmChartSourceReference |
The reference to the Source the chart is available at. |
intervalKubernetes meta/v1.Duration |
The interval at which to check the Source for updates. |
valuesFilestring |
(Optional)
Alternative values file to use as the default chart values, expected to be a relative path in the SourceRef. Ignored when omitted. |
suspendbool |
(Optional)
This flag tells the controller to suspend the reconciliation of this source. |
HelmChartStatus
(Appears on: HelmChart)
HelmChartStatus defines the observed state of the HelmChart.
| Field | Description |
|---|---|
observedGenerationint64 |
(Optional)
ObservedGeneration is the last observed generation. |
conditions[]Kubernetes meta/v1.Condition |
(Optional)
Conditions holds the conditions for the HelmChart. |
urlstring |
(Optional)
URL is the download link for the last chart pulled. |
artifactArtifact |
(Optional)
Artifact represents the output of the last successful chart sync. |
ReconcileRequestStatusgithub.com/fluxcd/pkg/apis/meta.ReconcileRequestStatus |
(Members of |
HelmRepositorySpec
(Appears on: HelmRepository)
HelmRepositorySpec defines the reference to a Helm repository.
| Field | Description |
|---|---|
urlstring |
The Helm repository URL, a valid URL contains at least a protocol and host. |
secretRefgithub.com/fluxcd/pkg/apis/meta.LocalObjectReference |
(Optional)
The name of the secret containing authentication credentials for the Helm repository. For HTTP/S basic auth the secret must contain username and password fields. For TLS the secret must contain a certFile and keyFile, and/or caCert fields. |
intervalKubernetes meta/v1.Duration |
The interval at which to check the upstream for updates. |
timeoutKubernetes meta/v1.Duration |
(Optional)
The timeout of index downloading, defaults to 60s. |
suspendbool |
(Optional)
This flag tells the controller to suspend the reconciliation of this source. |
HelmRepositoryStatus
(Appears on: HelmRepository)
HelmRepositoryStatus defines the observed state of the HelmRepository.
| Field | Description |
|---|---|
observedGenerationint64 |
(Optional)
ObservedGeneration is the last observed generation. |
conditions[]Kubernetes meta/v1.Condition |
(Optional)
Conditions holds the conditions for the HelmRepository. |
urlstring |
(Optional)
URL is the download link for the last index fetched. |
artifactArtifact |
(Optional)
Artifact represents the output of the last successful repository sync. |
ReconcileRequestStatusgithub.com/fluxcd/pkg/apis/meta.ReconcileRequestStatus |
(Members of |
LocalHelmChartSourceReference
(Appears on: HelmChartSpec)
LocalHelmChartSourceReference contains enough information to let you locate the typed referenced object at namespace level.
| Field | Description |
|---|---|
apiVersionstring |
(Optional)
APIVersion of the referent. |
kindstring |
Kind of the referent, valid values are (‘HelmRepository’, ‘GitRepository’, ‘Bucket’). |
namestring |
Name of the referent. |
Source
Source interface must be supported by all API types.
This page was automatically generated with gen-crd-api-reference-docs