You are viewing documentation for Flux version: 2.5
Version 2.5 of the documentation is no longer actively maintained. The site that you are currently viewing is an archived snapshot. For up-to-date documentation, see the latest version.
Source API reference v1beta2
Packages:
source.toolkit.fluxcd.io/v1beta2
Package v1beta2 contains API Schema definitions for the source v1beta2 API group
Resource Types:Bucket
Bucket is the Schema for the buckets API.
| Field | Description | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring | source.toolkit.fluxcd.io/v1beta2 | ||||||||||||||||||||||||||||||
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/v1beta2 | ||||||||||||||||||||||||
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/v1beta2 | ||||||||||||||||||||||
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/v1beta2 | ||||||||||||||||||||||
kindstring | HelmRepository | ||||||||||||||||||||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
metadata field. | ||||||||||||||||||||||
specHelmRepositorySpec |
| ||||||||||||||||||||||
statusHelmRepositoryStatus |
OCIRepository
OCIRepository is the Schema for the ocirepositories API
| Field | Description | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring | source.toolkit.fluxcd.io/v1beta2 | ||||||||||||||||||||||||||||
kindstring | OCIRepository | ||||||||||||||||||||||||||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
metadata field. | ||||||||||||||||||||||||||||
specOCIRepositorySpec |
| ||||||||||||||||||||||||||||
statusOCIRepositoryStatus |
Artifact
Artifact represents the output of a Source reconciliation.
Deprecated: use Artifact from api/v1 instead. This type will be removed in a future release.
| Field | Description |
|---|---|
pathstring | Path is the relative file path of the Artifact. It can be used to locate the file in the root of the Artifact storage on the local file system of the controller managing the Source. |
urlstring | URL is the HTTP address of the Artifact as exposed by the controller managing the Source. It can be used to retrieve the Artifact for consumption, e.g. by another controller applying the Artifact contents. |
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 chart version, etc. |
checksumstring | (Optional) Checksum is the SHA256 checksum of the Artifact file. Deprecated: use Artifact.Digest instead. |
digeststring | (Optional) Digest is the digest of the file in the form of ‘ |
lastUpdateTimeKubernetes meta/v1.Time | LastUpdateTime is the timestamp corresponding to the last update of the Artifact. |
sizeint64 | (Optional) Size is the number of bytes in the file. |
metadatamap[string]string | (Optional) Metadata holds upstream information such as OCI annotations. |
BucketSTSSpec
(Appears on: BucketSpec)
BucketSTSSpec specifies the required configuration to use a Security Token Service for fetching temporary credentials to authenticate in a Bucket provider.
| Field | Description |
|---|---|
providerstring | Provider of the Security Token Service. |
endpointstring | Endpoint is the HTTP/S endpoint of the Security Token Service from where temporary credentials will be fetched. |
secretRefgithub.com/fluxcd/pkg/apis/meta.LocalObjectReference | (Optional) SecretRef specifies the Secret containing authentication credentials
for the STS endpoint. This Secret must contain the fields |
certSecretRefgithub.com/fluxcd/pkg/apis/meta.LocalObjectReference | (Optional) CertSecretRef can be given the name of a Secret containing either or both of
and whichever are supplied, will be used for connecting to the
STS endpoint. The client cert and key are useful if you are
authenticating with a certificate; the CA cert is useful if
you are using a self-signed server certificate. The Secret must
be of type This field is only supported for the |
BucketSpec
(Appears on: Bucket)
BucketSpec specifies the required configuration to produce an Artifact for an object storage bucket.
| Field | Description |
|---|---|
providerstring | (Optional) Provider of the object storage bucket. Defaults to ‘generic’, which expects an S3 (API) compatible object storage. |
bucketNamestring | BucketName is the name of the object storage bucket. |
endpointstring | Endpoint is the object storage address the BucketName is located at. |
stsBucketSTSSpec | (Optional) STS specifies the required configuration to use a Security Token Service for fetching temporary credentials to authenticate in a Bucket provider. This field is only supported for the |
insecurebool | (Optional) Insecure allows connecting to a non-TLS HTTP Endpoint. |
regionstring | (Optional) Region of the Endpoint where the BucketName is located in. |
prefixstring | (Optional) Prefix to use for server-side filtering of files in the Bucket. |
secretRefgithub.com/fluxcd/pkg/apis/meta.LocalObjectReference | (Optional) SecretRef specifies the Secret containing authentication credentials for the Bucket. |
certSecretRefgithub.com/fluxcd/pkg/apis/meta.LocalObjectReference | (Optional) CertSecretRef can be given the name of a Secret containing either or both of
and whichever are supplied, will be used for connecting to the
bucket. The client cert and key are useful if you are
authenticating with a certificate; the CA cert is useful if
you are using a self-signed server certificate. The Secret must
be of type This field is only supported for the |
proxySecretRefgithub.com/fluxcd/pkg/apis/meta.LocalObjectReference | (Optional) ProxySecretRef specifies the Secret containing the proxy configuration to use while communicating with the Bucket server. |
intervalKubernetes meta/v1.Duration | Interval at which the Bucket Endpoint is checked for updates. This interval is approximate and may be subject to jitter to ensure efficient use of resources. |
timeoutKubernetes meta/v1.Duration | (Optional) Timeout for fetch operations, defaults to 60s. |
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 Bucket. |
accessFromgithub.com/fluxcd/pkg/apis/acl.AccessFrom | (Optional) AccessFrom specifies an Access Control List for allowing cross-namespace references to this object. NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092 |
BucketStatus
(Appears on: Bucket)
BucketStatus records the observed state of a Bucket.
| Field | Description |
|---|---|
observedGenerationint64 | (Optional) ObservedGeneration is the last observed generation of the Bucket object. |
conditions[]Kubernetes meta/v1.Condition | (Optional) Conditions holds the conditions for the Bucket. |
urlstring | (Optional) URL is the dynamic fetch link for the latest Artifact. It is provided on a “best effort” basis, and using the precise BucketStatus.Artifact data is recommended. |
artifactgithub.com/fluxcd/source-controller/api/v1.Artifact | (Optional) Artifact represents the last successful Bucket reconciliation. |
observedIgnorestring | (Optional) ObservedIgnore is the observed exclusion patterns used for constructing the source artifact. |
ReconcileRequestStatusgithub.com/fluxcd/pkg/apis/meta.ReconcileRequestStatus | (Members of |
GitRepositoryInclude
(Appears on: GitRepositorySpec, GitRepositoryStatus)
GitRepositoryInclude specifies a local reference to a GitRepository which Artifact (sub-)contents must be included, and where they should be placed.
| Field | Description |
|---|---|
repositorygithub.com/fluxcd/pkg/apis/meta.LocalObjectReference | GitRepositoryRef specifies the GitRepository which Artifact contents must be included. |
fromPathstring | (Optional) FromPath specifies the path to copy contents from, defaults to the root of the Artifact. |
toPathstring | (Optional) ToPath specifies the path to copy contents to, defaults to the name of the GitRepositoryRef. |
GitRepositoryRef
(Appears on: GitRepositorySpec)
GitRepositoryRef specifies the Git reference to resolve and checkout.
| Field | Description |
|---|---|
branchstring | (Optional) Branch to check out, defaults to ‘master’ if no other field is defined. |
tagstring | (Optional) Tag to check out, takes precedence over Branch. |
semverstring | (Optional) SemVer tag expression to check out, takes precedence over Tag. |
namestring | (Optional) Name of the reference to check out; takes precedence over Branch, Tag and SemVer. It must be a valid Git reference: https://git-scm.com/docs/git-check-ref-format#_description Examples: “refs/heads/main”, “refs/tags/v0.1.0”, “refs/pull/420/head”, “refs/merge-requests/1/head” |
commitstring | (Optional) Commit SHA to check out, takes precedence over all reference fields. This can be combined with Branch to shallow clone the branch, in which the commit is expected to exist. |
GitRepositorySpec
(Appears on: GitRepository)
GitRepositorySpec specifies the required configuration to produce an Artifact for a Git repository.
| Field | Description |
|---|---|
urlstring | URL specifies the Git repository URL, it can be an HTTP/S or SSH address. |
secretRefgithub.com/fluxcd/pkg/apis/meta.LocalObjectReference | (Optional) SecretRef specifies the Secret containing authentication credentials for the GitRepository. For HTTPS repositories the Secret must contain ‘username’ and ‘password’ fields for basic auth or ‘bearerToken’ field for token auth. For SSH repositories the Secret must contain ‘identity’ and ‘known_hosts’ fields. |
intervalKubernetes meta/v1.Duration | Interval at which to check the GitRepository for updates. |
timeoutKubernetes meta/v1.Duration | (Optional) Timeout for Git operations like cloning, defaults to 60s. |
refGitRepositoryRef | (Optional) Reference specifies the Git reference to resolve and monitor for changes, defaults to the ‘master’ branch. |
verifyGitRepositoryVerification | (Optional) Verification specifies the configuration to verify the Git commit signature(s). |
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 GitRepository. |
gitImplementationstring | (Optional) GitImplementation specifies which Git client library implementation to use. Defaults to ‘go-git’, valid values are (‘go-git’, ‘libgit2’). Deprecated: gitImplementation is deprecated now that ‘go-git’ is the only supported implementation. |
recurseSubmodulesbool | (Optional) RecurseSubmodules enables the initialization of all submodules within the GitRepository as cloned from the URL, using their default settings. |
include[]GitRepositoryInclude | Include specifies a list of GitRepository resources which Artifacts should be included in the Artifact produced for this GitRepository. |
accessFromgithub.com/fluxcd/pkg/apis/acl.AccessFrom | (Optional) AccessFrom specifies an Access Control List for allowing cross-namespace references to this object. NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092 |
GitRepositoryStatus
(Appears on: GitRepository)
GitRepositoryStatus records the observed state of a Git repository.
| Field | Description |
|---|---|
observedGenerationint64 | (Optional) ObservedGeneration is the last observed generation of the GitRepository object. |
conditions[]Kubernetes meta/v1.Condition | (Optional) Conditions holds the conditions for the GitRepository. |
urlstring | (Optional) URL is the dynamic fetch link for the latest Artifact. It is provided on a “best effort” basis, and using the precise GitRepositoryStatus.Artifact data is recommended. |
artifactgithub.com/fluxcd/source-controller/api/v1.Artifact | (Optional) Artifact represents the last successful GitRepository reconciliation. |
includedArtifacts[]github.com/fluxcd/source-controller/api/v1.Artifact | (Optional) IncludedArtifacts contains a list of the last successfully included Artifacts as instructed by GitRepositorySpec.Include. |
contentConfigChecksumstring | (Optional) ContentConfigChecksum is a checksum of all the configurations related to
the content of the source artifact:
- .spec.ignore
- .spec.recurseSubmodules
- .spec.included and the checksum of the included artifacts
observed in .status.observedGeneration version of the object. This can
be used to determine if the content of the included repository has
changed.
It has the format of Deprecated: Replaced with explicit fields for observed artifact content config in the status. |
observedIgnorestring | (Optional) ObservedIgnore is the observed exclusion patterns used for constructing the source artifact. |
observedRecurseSubmodulesbool | (Optional) ObservedRecurseSubmodules is the observed resource submodules configuration used to produce the current Artifact. |
observedInclude[]GitRepositoryInclude | (Optional) ObservedInclude is the observed list of GitRepository resources used to to produce the current Artifact. |
ReconcileRequestStatusgithub.com/fluxcd/pkg/apis/meta.ReconcileRequestStatus | (Members of |
GitRepositoryVerification
(Appears on: GitRepositorySpec)
GitRepositoryVerification specifies the Git commit signature verification strategy.
| Field | Description |
|---|---|
modestring | Mode specifies what Git object should be verified, currently (‘head’). |
secretRefgithub.com/fluxcd/pkg/apis/meta.LocalObjectReference | SecretRef specifies the Secret containing the public keys of trusted Git authors. |
HelmChartSpec
(Appears on: HelmChart)
HelmChartSpec specifies the desired state of a Helm chart.
| Field | Description |
|---|---|
chartstring | Chart is the name or path the Helm chart is available at in the SourceRef. |
versionstring | (Optional) Version is the chart version semver expression, ignored for charts from GitRepository and Bucket sources. Defaults to latest when omitted. |
sourceRefLocalHelmChartSourceReference | SourceRef is the reference to the Source the chart is available at. |
intervalKubernetes meta/v1.Duration | Interval at which the HelmChart SourceRef is checked for updates. This interval is approximate and may be subject to jitter to ensure efficient use of resources. |
reconcileStrategystring | (Optional) ReconcileStrategy determines what enables the creation of a new artifact. Valid values are (‘ChartVersion’, ‘Revision’). See the documentation of the values for an explanation on their behavior. Defaults to ChartVersion when omitted. |
valuesFiles[]string | (Optional) ValuesFiles is an 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) ValuesFile is an 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 specified here is merged before the ValuesFiles items. Ignored when omitted. |
ignoreMissingValuesFilesbool | (Optional) IgnoreMissingValuesFiles controls whether to silently ignore missing values files rather than failing. |
suspendbool | (Optional) Suspend tells the controller to suspend the reconciliation of this source. |
accessFromgithub.com/fluxcd/pkg/apis/acl.AccessFrom | (Optional) AccessFrom specifies an Access Control List for allowing cross-namespace references to this object. NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092 |
verifygithub.com/fluxcd/source-controller/api/v1.OCIRepositoryVerification | (Optional) Verify contains the secret name containing the trusted public keys used to verify the signature and specifies which provider to use to check whether OCI image is authentic. This field is only supported when using HelmRepository source with spec.type ‘oci’. Chart dependencies, which are not bundled in the umbrella chart artifact, are not verified. |
HelmChartStatus
(Appears on: HelmChart)
HelmChartStatus records the observed state of the HelmChart.
| Field | Description |
|---|---|
observedGenerationint64 | (Optional) ObservedGeneration is the last observed generation of the HelmChart object. |
observedSourceArtifactRevisionstring | (Optional) ObservedSourceArtifactRevision is the last observed Artifact.Revision of the HelmChartSpec.SourceRef. |
observedChartNamestring | (Optional) ObservedChartName is the last observed chart name as specified by the resolved chart reference. |
observedValuesFiles[]string | (Optional) ObservedValuesFiles are the observed value files of the last successful reconciliation. It matches the chart in the last successfully reconciled artifact. |
conditions[]Kubernetes meta/v1.Condition | (Optional) Conditions holds the conditions for the HelmChart. |
urlstring | (Optional) URL is the dynamic fetch link for the latest Artifact. It is provided on a “best effort” basis, and using the precise BucketStatus.Artifact data is recommended. |
artifactgithub.com/fluxcd/source-controller/api/v1.Artifact | (Optional) Artifact represents the output of the last successful reconciliation. |
ReconcileRequestStatusgithub.com/fluxcd/pkg/apis/meta.ReconcileRequestStatus | (Members of |
HelmRepositorySpec
(Appears on: HelmRepository)
HelmRepositorySpec specifies the required configuration to produce an Artifact for a Helm repository index YAML.
| Field | Description |
|---|---|
urlstring | URL of the Helm repository, a valid URL contains at least a protocol and host. |
secretRefgithub.com/fluxcd/pkg/apis/meta.LocalObjectReference | (Optional) SecretRef specifies the Secret containing authentication credentials
for the HelmRepository.
For HTTP/S basic auth the secret must contain ‘username’ and ‘password’
fields.
Support for TLS auth using the ‘certFile’ and ‘keyFile’, and/or ‘caFile’
keys is deprecated. Please use |
certSecretRefgithub.com/fluxcd/pkg/apis/meta.LocalObjectReference | (Optional) CertSecretRef can be given the name of a Secret containing either or both of
and whichever are supplied, will be used for connecting to the
registry. The client cert and key are useful if you are
authenticating with a certificate; the CA cert is useful if
you are using a self-signed server certificate. The Secret must
be of type It takes precedence over the values specified in the Secret referred
to by |
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 | (Optional) Interval at which the HelmRepository URL is checked for updates. This interval is approximate and may be subject to jitter to ensure efficient use of resources. |
insecurebool | (Optional) Insecure allows connecting to a non-TLS HTTP container registry. This field is only taken into account if the .spec.type field is set to ‘oci’. |
timeoutKubernetes meta/v1.Duration | (Optional) Timeout is used for the index fetch operation for an HTTPS helm repository, and for remote OCI Repository operations like pulling for an OCI helm chart by the associated HelmChart. Its default value is 60s. |
suspendbool | (Optional) Suspend tells the controller to suspend the reconciliation of this HelmRepository. |
accessFromgithub.com/fluxcd/pkg/apis/acl.AccessFrom | (Optional) AccessFrom specifies an Access Control List for allowing cross-namespace references to this object. NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092 |
typestring | (Optional) Type of the HelmRepository. When this field is set to “oci”, the URL field value must be prefixed with “oci://”. |
providerstring | (Optional) Provider used for authentication, can be ‘aws’, ‘azure’, ‘gcp’ or ‘generic’. This field is optional, and only taken into account if the .spec.type field is set to ‘oci’. When not specified, defaults to ‘generic’. |
HelmRepositoryStatus
(Appears on: HelmRepository)
HelmRepositoryStatus records the observed state of the HelmRepository.
| Field | Description |
|---|---|
observedGenerationint64 | (Optional) ObservedGeneration is the last observed generation of the HelmRepository object. |
conditions[]Kubernetes meta/v1.Condition | (Optional) Conditions holds the conditions for the HelmRepository. |
urlstring | (Optional) URL is the dynamic fetch link for the latest Artifact. It is provided on a “best effort” basis, and using the precise HelmRepositoryStatus.Artifact data is recommended. |
artifactgithub.com/fluxcd/source-controller/api/v1.Artifact | (Optional) Artifact represents the last successful HelmRepository reconciliation. |
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. |
OCILayerSelector
(Appears on: OCIRepositorySpec, OCIRepositoryStatus)
OCILayerSelector specifies which layer should be extracted from an OCI Artifact
| Field | Description |
|---|---|
mediaTypestring | (Optional) MediaType specifies the OCI media type of the layer which should be extracted from the OCI Artifact. The first layer matching this type is selected. |
operationstring | (Optional) Operation specifies how the selected layer should be processed. By default, the layer compressed content is extracted to storage. When the operation is set to ‘copy’, the layer compressed content is persisted to storage as it is. |
OCIRepositoryRef
(Appears on: OCIRepositorySpec)
OCIRepositoryRef defines the image reference for the OCIRepository’s URL
| Field | Description |
|---|---|
digeststring | (Optional) Digest is the image digest to pull, takes precedence over SemVer.
The value should be in the format ‘sha256: |
semverstring | (Optional) SemVer is the range of tags to pull selecting the latest within the range, takes precedence over Tag. |
semverFilterstring | (Optional) SemverFilter is a regex pattern to filter the tags within the SemVer range. |
tagstring | (Optional) Tag is the image tag to pull, defaults to latest. |
OCIRepositorySpec
(Appears on: OCIRepository)
OCIRepositorySpec defines the desired state of OCIRepository
| Field | Description |
|---|---|
urlstring | URL is a reference to an OCI artifact repository hosted on a remote container registry. |
refOCIRepositoryRef | (Optional) The OCI reference to pull and monitor for changes, defaults to the latest tag. |
layerSelectorOCILayerSelector | (Optional) LayerSelector specifies which layer should be extracted from the OCI artifact. When not specified, the first layer found in the artifact is selected. |
providerstring | (Optional) The provider used for authentication, can be ‘aws’, ‘azure’, ‘gcp’ or ‘generic’. When not specified, defaults to ‘generic’. |
secretRefgithub.com/fluxcd/pkg/apis/meta.LocalObjectReference | (Optional) SecretRef contains the secret name containing the registry login credentials to resolve image metadata. The secret must be of type kubernetes.io/dockerconfigjson. |
verifygithub.com/fluxcd/source-controller/api/v1.OCIRepositoryVerification | (Optional) Verify contains the secret name containing the trusted public keys used to verify the signature and specifies which provider to use to check whether OCI image is authentic. |
serviceAccountNamestring | (Optional) ServiceAccountName is the name of the Kubernetes ServiceAccount used to authenticate the image pull if the service account has attached pull secrets. For more information: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#add-imagepullsecrets-to-a-service-account |
certSecretRefgithub.com/fluxcd/pkg/apis/meta.LocalObjectReference | (Optional) CertSecretRef can be given the name of a Secret containing either or both of
and whichever are supplied, will be used for connecting to the
registry. The client cert and key are useful if you are
authenticating with a certificate; the CA cert is useful if
you are using a self-signed server certificate. The Secret must
be of type Note: Support for the |
proxySecretRefgithub.com/fluxcd/pkg/apis/meta.LocalObjectReference | (Optional) ProxySecretRef specifies the Secret containing the proxy configuration to use while communicating with the container registry. |
intervalKubernetes meta/v1.Duration | Interval at which the OCIRepository URL is checked for updates. This interval is approximate and may be subject to jitter to ensure efficient use of resources. |
timeoutKubernetes meta/v1.Duration | (Optional) The timeout for remote OCI Repository operations like pulling, defaults to 60s. |
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. |
insecurebool | (Optional) Insecure allows connecting to a non-TLS HTTP container registry. |
suspendbool | (Optional) This flag tells the controller to suspend the reconciliation of this source. |
OCIRepositoryStatus
(Appears on: OCIRepository)
OCIRepositoryStatus defines the observed state of OCIRepository
| Field | Description |
|---|---|
observedGenerationint64 | (Optional) ObservedGeneration is the last observed generation. |
conditions[]Kubernetes meta/v1.Condition | (Optional) Conditions holds the conditions for the OCIRepository. |
urlstring | (Optional) URL is the download link for the artifact output of the last OCI Repository sync. |
artifactgithub.com/fluxcd/source-controller/api/v1.Artifact | (Optional) Artifact represents the output of the last successful OCI Repository sync. |
contentConfigChecksumstring | (Optional) ContentConfigChecksum is a checksum of all the configurations related to
the content of the source artifact:
- .spec.ignore
- .spec.layerSelector
observed in .status.observedGeneration version of the object. This can
be used to determine if the content configuration has changed and the
artifact needs to be rebuilt.
It has the format of Deprecated: Replaced with explicit fields for observed artifact content config in the status. |
observedIgnorestring | (Optional) ObservedIgnore is the observed exclusion patterns used for constructing the source artifact. |
observedLayerSelectorOCILayerSelector | (Optional) ObservedLayerSelector is the observed layer selector used for constructing the source artifact. |
ReconcileRequestStatusgithub.com/fluxcd/pkg/apis/meta.ReconcileRequestStatus | (Members of |
Source
Source interface must be supported by all API types. Source is the interface that provides generic access to the Artifact and interval. It must be supported by all kinds of the source.toolkit.fluxcd.io API group.
Deprecated: use the Source interface from api/v1 instead. This type will be removed in a future release.
This page was automatically generated with gen-crd-api-reference-docs