Discover modules > cue.dev/x/crd/fluxcd.io > source > v1
v0.9.0
#Bucket: ¶

Bucket is the Schema for the buckets API.

apiVersion:
click to see definition
string
& "source.toolkit.fluxcd.io/v1"
¶

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:
click to see definition
string
& "Bucket"
¶

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

metadata!: ¶
name!: string ¶
namespace!: string ¶
labels?: ¶
[string]: string ¶
annotations?: ¶
[string]: string ¶
spec?: ¶

BucketSpec specifies the required configuration to produce an Artifact for an object storage bucket.

bucketName!: string ¶

BucketName is the name of the object storage bucket.

certSecretRef?: ¶

CertSecretRef can be given the name of a Secret containing either or both of

- a PEM-encoded client certificate (`tls.crt`) and private key (`tls.key`); - a PEM-encoded CA certificate (`ca.crt`)

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 `Opaque` or `kubernetes.io/tls`.

This field is only supported for the `generic` provider.

name!: string ¶

Name of the referent.

endpoint!: string ¶

Endpoint is the object storage address the BucketName is located at.

ignore?: string ¶

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.

insecure?: bool ¶

Insecure allows connecting to a non-TLS HTTP Endpoint.

interval!: =~"^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$" ¶

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.

prefix?: string ¶

Prefix to use for server-side filtering of files in the Bucket.

provider?: "generic" | "aws" | "gcp" | "azure" ¶

Provider of the object storage bucket. Defaults to 'generic', which expects an S3 (API) compatible object storage.

proxySecretRef?: ¶

ProxySecretRef specifies the Secret containing the proxy configuration to use while communicating with the Bucket server.

name!: string ¶

Name of the referent.

region?: string ¶

Region of the Endpoint where the BucketName is located in.

secretRef?: ¶

SecretRef specifies the Secret containing authentication credentials for the Bucket.

name!: string ¶

Name of the referent.

serviceAccountName?: string ¶

ServiceAccountName is the name of the Kubernetes ServiceAccount used to authenticate the bucket. This field is only supported for the 'gcp' and 'aws' providers. For more information about workload identity: https://fluxcd.io/flux/components/source/buckets/#workload-identity

sts?: ¶

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 `aws` and `generic` providers.

certSecretRef?: ¶

CertSecretRef can be given the name of a Secret containing either or both of

- a PEM-encoded client certificate (`tls.crt`) and private key (`tls.key`); - a PEM-encoded CA certificate (`ca.crt`)

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 `Opaque` or `kubernetes.io/tls`.

This field is only supported for the `ldap` provider.

name!: string ¶

Name of the referent.

endpoint!: =~"^(http|https)://.*$" ¶

Endpoint is the HTTP/S endpoint of the Security Token Service from where temporary credentials will be fetched.

provider!: "aws" | "ldap" ¶

Provider of the Security Token Service.

secretRef?: ¶

SecretRef specifies the Secret containing authentication credentials for the STS endpoint. This Secret must contain the fields `username` and `password` and is supported only for the `ldap` provider.

name!: string ¶

Name of the referent.

suspend?: bool ¶

Suspend tells the controller to suspend the reconciliation of this Bucket.

timeout?: =~"^([0-9]+(\\.[0-9]+)?(ms|s|m))+$" ¶

Timeout for fetch operations, defaults to 60s.

status?: ¶

BucketStatus records the observed state of a Bucket.

artifact?: ¶

Artifact represents the last successful Bucket reconciliation.

digest!: =~"^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$" ¶

Digest is the digest of the file in the form of '<algorithm>:<checksum>'.

lastUpdateTime!: time.Time ¶

LastUpdateTime is the timestamp corresponding to the last update of the Artifact.

metadata?: ¶

Metadata holds upstream information such as OCI annotations.

[string]: string ¶
path!: string ¶

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.

revision!: string ¶

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.

size?: int64 & int ¶

Size is the number of bytes in the file.

url!: string ¶

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.

conditions?:
click to see definition
[...{
	// 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.
	lastTransitionTime!: time.Time

	// message is a human readable message indicating details about the transition.
	// This may be an empty string.
	message!: strings.MaxRunes(
		32768,
	)

	// 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.
	observedGeneration?: int64 & int & >=0

	// 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.
	reason!: strings.MaxRunes(
		1024,
	) &
		strings.MinRunes(
			1,
		) &
		=~"^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$"

	// status of the condition, one of True, False, Unknown.
	status!: "True" | "False" | "Unknown"

	// type of condition in CamelCase or in foo.example.com/CamelCase.
	type!: strings.MaxRunes(
		316,
	) &
		=~"^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$"
}]
¶

Conditions holds the conditions for the Bucket.

[...]:
lastTransitionTime!: time.Time

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!: strings.MaxRunes(32768)

message is a human readable message indicating details about the transition. This may be an empty string.

observedGeneration?: int64 & int & >=0

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!: strings.MaxRunes(1024) & strings.MinRunes(1) & =~"^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$"

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!: "True" | "False" | "Unknown"

status of the condition, one of True, False, Unknown.

type!:
click to see definition
strings.MaxRunes(
	316,
) &
	=~"^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$"

type of condition in CamelCase or in foo.example.com/CamelCase.

lastHandledReconcileAt?: string ¶

LastHandledReconcileAt holds the value of the most recent reconcile request value, so a change of the annotation value can be detected.

observedGeneration?: int64 & int ¶

ObservedGeneration is the last observed generation of the Bucket object.

observedIgnore?: string ¶

ObservedIgnore is the observed exclusion patterns used for constructing the source artifact.

url?: string ¶

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.

#ExternalArtifact: ¶

ExternalArtifact is the Schema for the external artifacts API

apiVersion:
click to see definition
string
& "source.toolkit.fluxcd.io/v1"
¶

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:
click to see definition
string
& "ExternalArtifact"
¶

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

metadata!: ¶
name!: string ¶
namespace!: string ¶
labels?: ¶
[string]: string ¶
annotations?: ¶
[string]: string ¶
spec?: ¶

ExternalArtifactSpec defines the desired state of ExternalArtifact

sourceRef?: ¶

SourceRef points to the Kubernetes custom resource for which the artifact is generated.

apiVersion?: string ¶

API version of the referent, if not specified the Kubernetes preferred version will be used.

kind!: string ¶

Kind of the referent.

name!: string ¶

Name of the referent.

namespace?: string ¶

Namespace of the referent, when not specified it acts as LocalObjectReference.

status?: ¶

ExternalArtifactStatus defines the observed state of ExternalArtifact

artifact?: ¶

Artifact represents the output of an ExternalArtifact reconciliation.

digest!: =~"^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$" ¶

Digest is the digest of the file in the form of '<algorithm>:<checksum>'.

lastUpdateTime!: time.Time ¶

LastUpdateTime is the timestamp corresponding to the last update of the Artifact.

metadata?: ¶

Metadata holds upstream information such as OCI annotations.

[string]: string ¶
path!: string ¶

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.

revision!: string ¶

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.

size?: int64 & int ¶

Size is the number of bytes in the file.

url!: string ¶

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.

conditions?:
click to see definition
[...{
	// 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.
	lastTransitionTime!: time.Time

	// message is a human readable message indicating details about the transition.
	// This may be an empty string.
	message!: strings.MaxRunes(
		32768,
	)

	// 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.
	observedGeneration?: int64 & int & >=0

	// 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.
	reason!: strings.MaxRunes(
		1024,
	) &
		strings.MinRunes(
			1,
		) &
		=~"^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$"

	// status of the condition, one of True, False, Unknown.
	status!: "True" | "False" | "Unknown"

	// type of condition in CamelCase or in foo.example.com/CamelCase.
	type!: strings.MaxRunes(
		316,
	) &
		=~"^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$"
}]
¶

Conditions holds the conditions for the ExternalArtifact.

[...]:
lastTransitionTime!: time.Time

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!: strings.MaxRunes(32768)

message is a human readable message indicating details about the transition. This may be an empty string.

observedGeneration?: int64 & int & >=0

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!: strings.MaxRunes(1024) & strings.MinRunes(1) & =~"^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$"

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!: "True" | "False" | "Unknown"

status of the condition, one of True, False, Unknown.

type!:
click to see definition
strings.MaxRunes(
	316,
) &
	=~"^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$"

type of condition in CamelCase or in foo.example.com/CamelCase.

#GitRepository: ¶

GitRepository is the Schema for the gitrepositories API.

apiVersion:
click to see definition
string
& "source.toolkit.fluxcd.io/v1"
¶

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:
click to see definition
string
& "GitRepository"
¶

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

metadata!: ¶
name!: string ¶
namespace!: string ¶
labels?: ¶
[string]: string ¶
annotations?: ¶
[string]: string ¶
spec?: ¶

GitRepositorySpec specifies the required configuration to produce an Artifact for a Git repository.

ignore?: string ¶

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.

include?:
click to see definition
[...{
	// FromPath specifies the path to copy contents from, defaults to the root
	// of the Artifact.
	fromPath?: string

	// GitRepositoryRef specifies the GitRepository which Artifact contents
	// must be included.
	repository!: {
		// Name of the referent.
		name!: string
	}

	// ToPath specifies the path to copy contents to, defaults to the name of
	// the GitRepositoryRef.
	toPath?: string
}]
¶

Include specifies a list of GitRepository resources which Artifacts should be included in the Artifact produced for this GitRepository.

[...]:
fromPath?: string

FromPath specifies the path to copy contents from, defaults to the root of the Artifact.

repository!:

GitRepositoryRef specifies the GitRepository which Artifact contents must be included.

name!: string

Name of the referent.

toPath?: string

ToPath specifies the path to copy contents to, defaults to the name of the GitRepositoryRef.

interval!: =~"^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$" ¶

Interval at which the GitRepository URL is checked for updates. This interval is approximate and may be subject to jitter to ensure efficient use of resources.

provider?: "generic" | "aws" | "azure" | "github" ¶

Provider used for authentication, can be 'aws', 'azure', 'github', 'generic'. When not specified, defaults to 'generic'.

proxySecretRef?: ¶

ProxySecretRef specifies the Secret containing the proxy configuration to use while communicating with the Git server.

name!: string ¶

Name of the referent.

recurseSubmodules?: bool ¶

RecurseSubmodules enables the initialization of all submodules within the GitRepository as cloned from the URL, using their default settings.

ref?: ¶

Reference specifies the Git reference to resolve and monitor for changes, defaults to the 'master' branch.

branch?: string ¶

Branch to check out, defaults to 'master' if no other field is defined.

commit?: string ¶

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.

name?: string ¶

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"

semver?: string ¶

SemVer tag expression to check out, takes precedence over Tag.

tag?: string ¶

Tag to check out, takes precedence over Branch.

secretRef?: ¶

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.

name!: string ¶

Name of the referent.

serviceAccountName?: string ¶

ServiceAccountName is the name of the Kubernetes ServiceAccount used to authenticate to the GitRepository. This field is only supported for 'azure' and 'aws' providers.

sparseCheckout?: [...string] ¶

SparseCheckout specifies a list of directories to checkout when cloning the repository. If specified, only these directories are included in the Artifact produced for this GitRepository.

[...]: string
suspend?: bool ¶

Suspend tells the controller to suspend the reconciliation of this GitRepository.

timeout?: =~"^([0-9]+(\\.[0-9]+)?(ms|s|m))+$" ¶

Timeout for Git operations like cloning, defaults to 60s.

url!: =~"^(http|https|ssh)://.*$" ¶

URL specifies the Git repository URL, it can be an HTTP/S or SSH address.

verify?: ¶

Verification specifies the configuration to verify the Git commit signature(s).

mode?: "head" | "HEAD" | "Tag" | "TagAndHEAD" ¶

Mode specifies which Git object(s) should be verified.

The variants "head" and "HEAD" both imply the same thing, i.e. verify the commit that the HEAD of the Git repository points to. The variant "head" solely exists to ensure backwards compatibility.

secretRef!: ¶

SecretRef specifies the Secret containing the public keys of trusted Git authors. PGP public keys must be stored under keys with the .asc suffix, and SSH public keys must be stored under keys with the .sshpub suffix.

name!: string ¶

Name of the referent.

status?: ¶

GitRepositoryStatus records the observed state of a Git repository.

artifact?: ¶

Artifact represents the last successful GitRepository reconciliation.

digest!: =~"^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$" ¶

Digest is the digest of the file in the form of '<algorithm>:<checksum>'.

lastUpdateTime!: time.Time ¶

LastUpdateTime is the timestamp corresponding to the last update of the Artifact.

metadata?: ¶

Metadata holds upstream information such as OCI annotations.

[string]: string ¶
path!: string ¶

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.

revision!: string ¶

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.

size?: int64 & int ¶

Size is the number of bytes in the file.

url!: string ¶

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.

conditions?:
click to see definition
[...{
	// 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.
	lastTransitionTime!: time.Time

	// message is a human readable message indicating details about the transition.
	// This may be an empty string.
	message!: strings.MaxRunes(
		32768,
	)

	// 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.
	observedGeneration?: int64 & int & >=0

	// 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.
	reason!: strings.MaxRunes(
		1024,
	) &
		strings.MinRunes(
			1,
		) &
		=~"^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$"

	// status of the condition, one of True, False, Unknown.
	status!: "True" | "False" | "Unknown"

	// type of condition in CamelCase or in foo.example.com/CamelCase.
	type!: strings.MaxRunes(
		316,
	) &
		=~"^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$"
}]
¶

Conditions holds the conditions for the GitRepository.

[...]:
lastTransitionTime!: time.Time

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!: strings.MaxRunes(32768)

message is a human readable message indicating details about the transition. This may be an empty string.

observedGeneration?: int64 & int & >=0

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!: strings.MaxRunes(1024) & strings.MinRunes(1) & =~"^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$"

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!: "True" | "False" | "Unknown"

status of the condition, one of True, False, Unknown.

type!:
click to see definition
strings.MaxRunes(
	316,
) &
	=~"^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$"

type of condition in CamelCase or in foo.example.com/CamelCase.

includedArtifacts?:
click to see definition
[...{
	// Digest is the digest of the file in the form of '<algorithm>:<checksum>'.
	digest!: =~"^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$"

	// LastUpdateTime is the timestamp corresponding to the last update of the
	// Artifact.
	lastUpdateTime!: time.Time

	// Metadata holds upstream information such as OCI annotations.
	metadata?: [string]: string

	// 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.
	path!: string

	// 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.
	revision!: string

	// Size is the number of bytes in the file.
	size?: int64 & int

	// 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.
	url!: string
}]
¶

IncludedArtifacts contains a list of the last successfully included Artifacts as instructed by GitRepositorySpec.Include.

[...]:
digest!: =~"^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$"

Digest is the digest of the file in the form of '<algorithm>:<checksum>'.

lastUpdateTime!: time.Time

LastUpdateTime is the timestamp corresponding to the last update of the Artifact.

metadata?:

Metadata holds upstream information such as OCI annotations.

[string]: string
path!: string

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.

revision!: string

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.

size?: int64 & int

Size is the number of bytes in the file.

url!: string

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.

lastHandledReconcileAt?: string ¶

LastHandledReconcileAt holds the value of the most recent reconcile request value, so a change of the annotation value can be detected.

observedGeneration?: int64 & int ¶

ObservedGeneration is the last observed generation of the GitRepository object.

observedIgnore?: string ¶

ObservedIgnore is the observed exclusion patterns used for constructing the source artifact.

observedInclude?:
click to see definition
[...{
	// FromPath specifies the path to copy contents from, defaults to the root
	// of the Artifact.
	fromPath?: string

	// GitRepositoryRef specifies the GitRepository which Artifact contents
	// must be included.
	repository!: {
		// Name of the referent.
		name!: string
	}

	// ToPath specifies the path to copy contents to, defaults to the name of
	// the GitRepositoryRef.
	toPath?: string
}]
¶

ObservedInclude is the observed list of GitRepository resources used to produce the current Artifact.

[...]:
fromPath?: string

FromPath specifies the path to copy contents from, defaults to the root of the Artifact.

repository!:

GitRepositoryRef specifies the GitRepository which Artifact contents must be included.

name!: string

Name of the referent.

toPath?: string

ToPath specifies the path to copy contents to, defaults to the name of the GitRepositoryRef.

observedRecurseSubmodules?: bool ¶

ObservedRecurseSubmodules is the observed resource submodules configuration used to produce the current Artifact.

observedSparseCheckout?: [...string] ¶

ObservedSparseCheckout is the observed list of directories used to produce the current Artifact.

[...]: string
sourceVerificationMode?: string ¶

SourceVerificationMode is the last used verification mode indicating which Git object(s) have been verified.

#HelmChart: ¶

HelmChart is the Schema for the helmcharts API.

apiVersion:
click to see definition
string
& "source.toolkit.fluxcd.io/v1"
¶

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:
click to see definition
string
& "HelmChart"
¶

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

metadata!: ¶
name!: string ¶
namespace!: string ¶
labels?: ¶
[string]: string ¶
annotations?: ¶
[string]: string ¶
spec?: ¶

HelmChartSpec specifies the desired state of a Helm chart.

chart!: string ¶

Chart is the name or path the Helm chart is available at in the SourceRef.

ignoreMissingValuesFiles?: bool ¶

IgnoreMissingValuesFiles controls whether to silently ignore missing values files rather than failing.

interval!: =~"^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$" ¶

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.

reconcileStrategy?: "ChartVersion" | "Revision" ¶

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.

sourceRef!: ¶

SourceRef is the reference to the Source the chart is available at.

apiVersion?: string ¶

APIVersion of the referent.

kind!: "HelmRepository" | "GitRepository" | "Bucket" ¶

Kind of the referent, valid values are ('HelmRepository', 'GitRepository', 'Bucket').

name!: string ¶

Name of the referent.

suspend?: bool ¶

Suspend tells the controller to suspend the reconciliation of this source.

valuesFiles?: [...string] ¶

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.

[...]: string
verify?: ¶

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.

matchOIDCIdentity?:
click to see definition
[...{
	// Issuer specifies the regex pattern to match against to verify
	// the OIDC issuer in the Fulcio certificate. The pattern must be a
	// valid Go regular expression.
	issuer!: string

	// Subject specifies the regex pattern to match against to verify
	// the identity subject in the Fulcio certificate. The pattern must
	// be a valid Go regular expression.
	subject!: string
}]
¶

MatchOIDCIdentity specifies the identity matching criteria to use while verifying an OCI artifact which was signed using Cosign keyless signing. The artifact's identity is deemed to be verified if any of the specified matchers match against the identity.

[...]:
issuer!: string

Issuer specifies the regex pattern to match against to verify the OIDC issuer in the Fulcio certificate. The pattern must be a valid Go regular expression.

subject!: string

Subject specifies the regex pattern to match against to verify the identity subject in the Fulcio certificate. The pattern must be a valid Go regular expression.

provider!: "cosign" | "notation" ¶

Provider specifies the technology used to sign the OCI Artifact.

secretRef?: ¶

SecretRef specifies the Kubernetes Secret containing the trusted public keys.

name!: string ¶

Name of the referent.

version?: string ¶

Version is the chart version semver expression, ignored for charts from GitRepository and Bucket sources. Defaults to latest when omitted.

status?: ¶

HelmChartStatus records the observed state of the HelmChart.

artifact?: ¶

Artifact represents the output of the last successful reconciliation.

digest!: =~"^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$" ¶

Digest is the digest of the file in the form of '<algorithm>:<checksum>'.

lastUpdateTime!: time.Time ¶

LastUpdateTime is the timestamp corresponding to the last update of the Artifact.

metadata?: ¶

Metadata holds upstream information such as OCI annotations.

[string]: string ¶
path!: string ¶

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.

revision!: string ¶

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.

size?: int64 & int ¶

Size is the number of bytes in the file.

url!: string ¶

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.

conditions?:
click to see definition
[...{
	// 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.
	lastTransitionTime!: time.Time

	// message is a human readable message indicating details about the transition.
	// This may be an empty string.
	message!: strings.MaxRunes(
		32768,
	)

	// 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.
	observedGeneration?: int64 & int & >=0

	// 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.
	reason!: strings.MaxRunes(
		1024,
	) &
		strings.MinRunes(
			1,
		) &
		=~"^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$"

	// status of the condition, one of True, False, Unknown.
	status!: "True" | "False" | "Unknown"

	// type of condition in CamelCase or in foo.example.com/CamelCase.
	type!: strings.MaxRunes(
		316,
	) &
		=~"^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$"
}]
¶

Conditions holds the conditions for the HelmChart.

[...]:
lastTransitionTime!: time.Time

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!: strings.MaxRunes(32768)

message is a human readable message indicating details about the transition. This may be an empty string.

observedGeneration?: int64 & int & >=0

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!: strings.MaxRunes(1024) & strings.MinRunes(1) & =~"^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$"

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!: "True" | "False" | "Unknown"

status of the condition, one of True, False, Unknown.

type!:
click to see definition
strings.MaxRunes(
	316,
) &
	=~"^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$"

type of condition in CamelCase or in foo.example.com/CamelCase.

lastHandledReconcileAt?: string ¶

LastHandledReconcileAt holds the value of the most recent reconcile request value, so a change of the annotation value can be detected.

observedChartName?: string ¶

ObservedChartName is the last observed chart name as specified by the resolved chart reference.

observedGeneration?: int64 & int ¶

ObservedGeneration is the last observed generation of the HelmChart object.

observedSourceArtifactRevision?: string ¶

ObservedSourceArtifactRevision is the last observed Artifact.Revision of the HelmChartSpec.SourceRef.

observedValuesFiles?: [...string] ¶

ObservedValuesFiles are the observed value files of the last successful reconciliation. It matches the chart in the last successfully reconciled artifact.

[...]: string
url?: string ¶

URL is the dynamic fetch link for the latest Artifact. It is provided on a "best effort" basis, and using the precise HelmChartStatus.Artifact data is recommended.

#HelmRepository: ¶

HelmRepository is the Schema for the helmrepositories API.

apiVersion:
click to see definition
string
& "source.toolkit.fluxcd.io/v1"
¶

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:
click to see definition
string
& "HelmRepository"
¶

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

metadata!: ¶
name!: string ¶
namespace!: string ¶
labels?: ¶
[string]: string ¶
annotations?: ¶
[string]: string ¶
spec?: ¶

HelmRepositorySpec specifies the required configuration to produce an Artifact for a Helm repository index YAML.

accessFrom?: ¶

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

namespaceSelectors!:
click to see definition
[...{
	// MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
	// map is equivalent to an element of matchExpressions, whose key field is "key", the
	// operator is "In", and the values array contains only "value". The requirements are ANDed.
	matchLabels?: [string]: string
}]
¶

NamespaceSelectors is the list of namespace selectors to which this ACL applies. Items in this list are evaluated using a logical OR operation.

[...]:
matchLabels?:

MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.

[string]: string
certSecretRef?: ¶

CertSecretRef can be given the name of a Secret containing either or both of

- a PEM-encoded client certificate (`tls.crt`) and private key (`tls.key`); - a PEM-encoded CA certificate (`ca.crt`)

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 `Opaque` or `kubernetes.io/tls`.

It takes precedence over the values specified in the Secret referred to by `.spec.secretRef`.

name!: string ¶

Name of the referent.

insecure?: bool ¶

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'.

interval?: =~"^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$" ¶

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.

passCredentials?: bool ¶

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.

provider?: "generic" | "aws" | "azure" | "gcp" ¶

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'.

secretRef?: ¶

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 `.spec.certSecretRef` instead.

name!: string ¶

Name of the referent.

suspend?: bool ¶

Suspend tells the controller to suspend the reconciliation of this HelmRepository.

timeout?: =~"^([0-9]+(\\.[0-9]+)?(ms|s|m))+$" ¶

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.

type?: "default" | "oci" ¶

Type of the HelmRepository. When this field is set to "oci", the URL field value must be prefixed with "oci://".

url!: =~"^(http|https|oci)://.*$" ¶

URL of the Helm repository, a valid URL contains at least a protocol and host.

status?: ¶

HelmRepositoryStatus records the observed state of the HelmRepository.

artifact?: ¶

Artifact represents the last successful HelmRepository reconciliation.

digest!: =~"^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$" ¶

Digest is the digest of the file in the form of '<algorithm>:<checksum>'.

lastUpdateTime!: time.Time ¶

LastUpdateTime is the timestamp corresponding to the last update of the Artifact.

metadata?: ¶

Metadata holds upstream information such as OCI annotations.

[string]: string ¶
path!: string ¶

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.

revision!: string ¶

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.

size?: int64 & int ¶

Size is the number of bytes in the file.

url!: string ¶

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.

conditions?:
click to see definition
[...{
	// 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.
	lastTransitionTime!: time.Time

	// message is a human readable message indicating details about the transition.
	// This may be an empty string.
	message!: strings.MaxRunes(
		32768,
	)

	// 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.
	observedGeneration?: int64 & int & >=0

	// 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.
	reason!: strings.MaxRunes(
		1024,
	) &
		strings.MinRunes(
			1,
		) &
		=~"^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$"

	// status of the condition, one of True, False, Unknown.
	status!: "True" | "False" | "Unknown"

	// type of condition in CamelCase or in foo.example.com/CamelCase.
	type!: strings.MaxRunes(
		316,
	) &
		=~"^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$"
}]
¶

Conditions holds the conditions for the HelmRepository.

[...]:
lastTransitionTime!: time.Time

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!: strings.MaxRunes(32768)

message is a human readable message indicating details about the transition. This may be an empty string.

observedGeneration?: int64 & int & >=0

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!: strings.MaxRunes(1024) & strings.MinRunes(1) & =~"^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$"

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!: "True" | "False" | "Unknown"

status of the condition, one of True, False, Unknown.

type!:
click to see definition
strings.MaxRunes(
	316,
) &
	=~"^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$"

type of condition in CamelCase or in foo.example.com/CamelCase.

lastHandledReconcileAt?: string ¶

LastHandledReconcileAt holds the value of the most recent reconcile request value, so a change of the annotation value can be detected.

observedGeneration?: int64 & int ¶

ObservedGeneration is the last observed generation of the HelmRepository object.

url?: string ¶

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.

#OCIRepository: ¶

OCIRepository is the Schema for the ocirepositories API

apiVersion:
click to see definition
string
& "source.toolkit.fluxcd.io/v1"
¶

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:
click to see definition
string
& "OCIRepository"
¶

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

metadata!: ¶
name!: string ¶
namespace!: string ¶
labels?: ¶
[string]: string ¶
annotations?: ¶
[string]: string ¶
spec?: ¶

OCIRepositorySpec defines the desired state of OCIRepository

certSecretRef?: ¶

CertSecretRef can be given the name of a Secret containing either or both of

- a PEM-encoded client certificate (`tls.crt`) and private key (`tls.key`); - a PEM-encoded CA certificate (`ca.crt`)

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 `Opaque` or `kubernetes.io/tls`.

name!: string ¶

Name of the referent.

ignore?: string ¶

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.

insecure?: bool ¶

Insecure allows connecting to a non-TLS HTTP container registry.

interval!: =~"^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$" ¶

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.

layerSelector?: ¶

LayerSelector specifies which layer should be extracted from the OCI artifact. When not specified, the first layer found in the artifact is selected.

mediaType?: string ¶

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.

operation?: "extract" | "copy" ¶

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.

provider?: "generic" | "aws" | "azure" | "gcp" ¶

The provider used for authentication, can be 'aws', 'azure', 'gcp' or 'generic'. When not specified, defaults to 'generic'.

proxySecretRef?: ¶

ProxySecretRef specifies the Secret containing the proxy configuration to use while communicating with the container registry.

name!: string ¶

Name of the referent.

ref?: ¶

The OCI reference to pull and monitor for changes, defaults to the latest tag.

digest?: string ¶

Digest is the image digest to pull, takes precedence over SemVer. The value should be in the format 'sha256:<HASH>'.

semver?: string ¶

SemVer is the range of tags to pull selecting the latest within the range, takes precedence over Tag.

semverFilter?: string ¶

SemverFilter is a regex pattern to filter the tags within the SemVer range.

tag?: string ¶

Tag is the image tag to pull, defaults to latest.

secretRef?: ¶

SecretRef contains the secret name containing the registry login credentials to resolve image metadata. The secret must be of type kubernetes.io/dockerconfigjson.

name!: string ¶

Name of the referent.

serviceAccountName?: string ¶

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

suspend?: bool ¶

This flag tells the controller to suspend the reconciliation of this source.

timeout?: =~"^([0-9]+(\\.[0-9]+)?(ms|s|m))+$" ¶

The timeout for remote OCI Repository operations like pulling, defaults to 60s.

url!: =~"^oci://.*$" ¶

URL is a reference to an OCI artifact repository hosted on a remote container registry.

verify?: ¶

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.

matchOIDCIdentity?:
click to see definition
[...{
	// Issuer specifies the regex pattern to match against to verify
	// the OIDC issuer in the Fulcio certificate. The pattern must be a
	// valid Go regular expression.
	issuer!: string

	// Subject specifies the regex pattern to match against to verify
	// the identity subject in the Fulcio certificate. The pattern must
	// be a valid Go regular expression.
	subject!: string
}]
¶

MatchOIDCIdentity specifies the identity matching criteria to use while verifying an OCI artifact which was signed using Cosign keyless signing. The artifact's identity is deemed to be verified if any of the specified matchers match against the identity.

[...]:
issuer!: string

Issuer specifies the regex pattern to match against to verify the OIDC issuer in the Fulcio certificate. The pattern must be a valid Go regular expression.

subject!: string

Subject specifies the regex pattern to match against to verify the identity subject in the Fulcio certificate. The pattern must be a valid Go regular expression.

provider!: "cosign" | "notation" ¶

Provider specifies the technology used to sign the OCI Artifact.

secretRef?: ¶

SecretRef specifies the Kubernetes Secret containing the trusted public keys.

name!: string ¶

Name of the referent.

trustedRootSecretRef?: ¶

TrustedRootSecretRef specifies the Kubernetes Secret containing a Sigstore trusted_root.json file. This enables verification against self-hosted Sigstore infrastructure (custom Fulcio CA, self-hosted Rekor instance). The Secret must contain a key named "trusted_root.json".

name!: string ¶

Name of the referent.

status?: ¶

OCIRepositoryStatus defines the observed state of OCIRepository

artifact?: ¶

Artifact represents the output of the last successful OCI Repository sync.

digest!: =~"^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$" ¶

Digest is the digest of the file in the form of '<algorithm>:<checksum>'.

lastUpdateTime!: time.Time ¶

LastUpdateTime is the timestamp corresponding to the last update of the Artifact.

metadata?: ¶

Metadata holds upstream information such as OCI annotations.

[string]: string ¶
path!: string ¶

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.

revision!: string ¶

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.

size?: int64 & int ¶

Size is the number of bytes in the file.

url!: string ¶

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.

conditions?:
click to see definition
[...{
	// 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.
	lastTransitionTime!: time.Time

	// message is a human readable message indicating details about the transition.
	// This may be an empty string.
	message!: strings.MaxRunes(
		32768,
	)

	// 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.
	observedGeneration?: int64 & int & >=0

	// 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.
	reason!: strings.MaxRunes(
		1024,
	) &
		strings.MinRunes(
			1,
		) &
		=~"^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$"

	// status of the condition, one of True, False, Unknown.
	status!: "True" | "False" | "Unknown"

	// type of condition in CamelCase or in foo.example.com/CamelCase.
	type!: strings.MaxRunes(
		316,
	) &
		=~"^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$"
}]
¶

Conditions holds the conditions for the OCIRepository.

[...]:
lastTransitionTime!: time.Time

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!: strings.MaxRunes(32768)

message is a human readable message indicating details about the transition. This may be an empty string.

observedGeneration?: int64 & int & >=0

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!: strings.MaxRunes(1024) & strings.MinRunes(1) & =~"^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$"

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!: "True" | "False" | "Unknown"

status of the condition, one of True, False, Unknown.

type!:
click to see definition
strings.MaxRunes(
	316,
) &
	=~"^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$"

type of condition in CamelCase or in foo.example.com/CamelCase.

lastHandledReconcileAt?: string ¶

LastHandledReconcileAt holds the value of the most recent reconcile request value, so a change of the annotation value can be detected.

observedGeneration?: int64 & int ¶

ObservedGeneration is the last observed generation.

observedIgnore?: string ¶

ObservedIgnore is the observed exclusion patterns used for constructing the source artifact.

observedLayerSelector?: ¶

ObservedLayerSelector is the observed layer selector used for constructing the source artifact.

mediaType?: string ¶

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.

operation?: "extract" | "copy" ¶

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.

url?: string ¶

URL is the download link for the artifact output of the last OCI Repository sync.

Source files

  • Bucket.cue
  • ExternalArtifact.cue
  • GitRepository.cue
  • HelmChart.cue
  • HelmRepository.cue
  • OCIRepository.cue