36 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 SHA256 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 |
GitRepositoryInclude
(Appears on: GitRepositorySpec)
GitRepositoryInclude defines a source with a from and to path.
| Field | Description |
|---|---|
repositorygithub.com/fluxcd/pkg/apis/meta.LocalObjectReference |
Reference to a GitRepository to include. |
fromPathstring |
(Optional)
The path to copy contents from, defaults to the root directory. |
toPathstring |
(Optional)
The path to copy contents to, defaults to the name of the source ref. |
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)
Verification defines the configuration to verify the 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)
Suspend tells the controller to suspend the reconciliation of this source. 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’). |
recurseSubmodulesbool |
(Optional)
When enabled, after the clone is created, initializes all submodules within, using their default settings. This option is available only when using the ‘go-git’ GitImplementation. |
include[]GitRepositoryInclude |
Include defines a list of GitRepository resources which artifacts should be included in the artifact produced for this resource. |
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. |
includedArtifacts[]*./api/v1beta1.Artifact |
(Optional)
IncludedArtifacts represents the included artifacts from 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 |
SecretRef 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. |
valuesFiles[]string |
(Optional)
Alternative list of values files to use as the chart values (values.yaml is not included by default), expected to be a relative path in the SourceRef. Values files are merged in the order of this list with the last file overriding the first. Ignored when omitted. |
valuesFilestring |
(Optional)
Alternative values file to use as the default chart values, expected to be a relative path in the SourceRef. Deprecated in favor of ValuesFiles, for backwards compatibility the file defined here is merged before the ValuesFiles items. 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. |
passCredentialsbool |
(Optional)
PassCredentials allows the credentials from the SecretRef to be passed on to a host that does not match the host as defined in URL. This may be required if the host of the advertised chart URLs in the index differ from the defined URL. Enabling this should be done with caution, as it can potentially result in credentials getting stolen in a MITM-attack. |
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