APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
BucketSpec specifies the required configuration to produce an Artifact for an object storage bucket.
BucketName is the name of the object storage bucket.
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.
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 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 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.
BucketStatus records the observed state of a Bucket.
Artifact represents the last successful Bucket reconciliation.
LastUpdateTime is the timestamp corresponding to the last update of the Artifact.
[...{
// 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 is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
message is a human readable message indicating details about the transition. This may be an empty string.
observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
status of the condition, one of True, False, Unknown.
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 holds the value of the most recent reconcile request value, so a change of the annotation value can be detected.
ObservedGeneration is the last observed generation of the Bucket object.
ObservedIgnore is the observed exclusion patterns used for constructing the source artifact.
ExternalArtifact is the Schema for the external artifacts API
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
ExternalArtifactSpec defines the desired state of ExternalArtifact
SourceRef points to the Kubernetes custom resource for which the artifact is generated.
API version of the referent, if not specified the Kubernetes preferred version will be used.
Namespace of the referent, when not specified it acts as LocalObjectReference.
ExternalArtifactStatus defines the observed state of ExternalArtifact
Artifact represents the output of an ExternalArtifact reconciliation.
LastUpdateTime is the timestamp corresponding to the last update of the Artifact.
[...{
// 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 is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
message is a human readable message indicating details about the transition. This may be an empty string.
observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
status of the condition, one of True, False, Unknown.
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 is the Schema for the gitrepositories API.
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
GitRepositorySpec specifies the required configuration to produce an Artifact for a Git repository.
[...{
// 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 specifies the path to copy contents from, defaults to the root of the Artifact.
GitRepositoryRef specifies the GitRepository which Artifact contents must be included.
Name of the referent.
ToPath specifies the path to copy contents to, defaults to the name of the GitRepositoryRef.
RecurseSubmodules enables the initialization of all submodules within the GitRepository as cloned from the URL, using their default settings.
Reference specifies the Git reference to resolve and monitor for changes, defaults to the 'master' branch.
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"
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.
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 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.
Verification specifies the configuration to verify the Git commit signature(s).
GitRepositoryStatus records the observed state of a Git repository.
Artifact represents the last successful GitRepository reconciliation.
LastUpdateTime is the timestamp corresponding to the last update of the Artifact.
[...{
// 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 is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
message is a human readable message indicating details about the transition. This may be an empty string.
observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
status of the condition, one of True, False, Unknown.
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.
[...{
// 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 is the digest of the file in the form of '<algorithm>:<checksum>'.
LastUpdateTime is the timestamp corresponding to the last update of the Artifact.
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 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 is the number of bytes in the file.
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 holds the value of the most recent reconcile request value, so a change of the annotation value can be detected.
ObservedGeneration is the last observed generation of the GitRepository object.
ObservedIgnore is the observed exclusion patterns used for constructing the source artifact.
[...{
// 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 specifies the path to copy contents from, defaults to the root of the Artifact.
GitRepositoryRef specifies the GitRepository which Artifact contents must be included.
Name of the referent.
ToPath specifies the path to copy contents to, defaults to the name of the GitRepositoryRef.
ObservedRecurseSubmodules is the observed resource submodules configuration used to produce the current Artifact.
ObservedSparseCheckout is the observed list of directories used to produce the current Artifact.
SourceVerificationMode is the last used verification mode indicating which Git object(s) have been verified.
HelmChart is the Schema for the helmcharts API.
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
HelmChartSpec specifies the desired state of a Helm chart.
IgnoreMissingValuesFiles controls whether to silently ignore missing values files rather than failing.
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 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.
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.
[...{
// 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 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 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.
HelmChartStatus records the observed state of the HelmChart.
Artifact represents the output of the last successful reconciliation.
LastUpdateTime is the timestamp corresponding to the last update of the Artifact.
[...{
// 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 is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
message is a human readable message indicating details about the transition. This may be an empty string.
observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
status of the condition, one of True, False, Unknown.
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 holds the value of the most recent reconcile request value, so a change of the annotation value can be detected.
ObservedChartName is the last observed chart name as specified by the resolved chart reference.
ObservedGeneration is the last observed generation of the HelmChart object.
ObservedSourceArtifactRevision is the last observed Artifact.Revision of the HelmChartSpec.SourceRef.
ObservedValuesFiles are the observed value files of the last successful reconciliation. It matches the chart in the last successfully reconciled artifact.
HelmRepository is the Schema for the helmrepositories API.
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
HelmRepositorySpec specifies the required configuration to produce an Artifact for a Helm repository index YAML.
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
[...{
// 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 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.
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`.
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.
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.
HelmRepositoryStatus records the observed state of the HelmRepository.
Artifact represents the last successful HelmRepository reconciliation.
LastUpdateTime is the timestamp corresponding to the last update of the Artifact.
[...{
// 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 is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
message is a human readable message indicating details about the transition. This may be an empty string.
observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
status of the condition, one of True, False, Unknown.
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 holds the value of the most recent reconcile request value, so a change of the annotation value can be detected.
ObservedGeneration is the last observed generation of the HelmRepository object.
OCIRepository is the Schema for the ocirepositories API
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
OCIRepositorySpec defines the desired state of OCIRepository
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`.
LayerSelector specifies which layer should be extracted from the OCI artifact. When not specified, the first layer found in the artifact is selected.
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 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.
The OCI reference to pull and monitor for changes, defaults to the latest tag.
SemverFilter is a regex pattern to filter the tags within the SemVer range.
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
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.
[...{
// 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 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 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.
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".
OCIRepositoryStatus defines the observed state of OCIRepository
Artifact represents the output of the last successful OCI Repository sync.
LastUpdateTime is the timestamp corresponding to the last update of the Artifact.
[...{
// 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 is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
message is a human readable message indicating details about the transition. This may be an empty string.
observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
status of the condition, one of True, False, Unknown.
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 holds the value of the most recent reconcile request value, so a change of the annotation value can be detected.
ObservedGeneration is the last observed generation.
ObservedIgnore is the observed exclusion patterns used for constructing the source artifact.
ObservedLayerSelector is the observed layer selector used for constructing the source artifact.
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 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.
Bucket is the Schema for the buckets API.