diff --git a/modules/flux-git-sync/cue.mod/gen/kustomize.toolkit.fluxcd.io/kustomization/v1/types_gen.cue b/modules/flux-git-sync/cue.mod/gen/kustomize.toolkit.fluxcd.io/kustomization/v1/types_gen.cue index 96d63d0..17c5a79 100644 --- a/modules/flux-git-sync/cue.mod/gen/kustomize.toolkit.fluxcd.io/kustomization/v1/types_gen.cue +++ b/modules/flux-git-sync/cue.mod/gen/kustomize.toolkit.fluxcd.io/kustomization/v1/types_gen.cue @@ -1,6 +1,6 @@ // Code generated by timoni. DO NOT EDIT. -//timoni:generate timoni vendor crd -f https://github.com/fluxcd/flux2/releases/download/v2.1.1/install.yaml +//timoni:generate timoni vendor crd -f https://github.com/fluxcd/kustomize-controller/releases/download/v1.3.0/kustomize-controller.crds.yaml package v1 @@ -9,16 +9,21 @@ import "strings" // Kustomization is the Schema for the kustomizations API. #Kustomization: { // 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. + // 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 apiVersion: "kustomize.toolkit.fluxcd.io/v1" // 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: + // 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 kind: "Kustomization" metadata!: { @@ -37,16 +42,20 @@ import "strings" } // KustomizationSpec defines the configuration to calculate the - // desired state from a Source using Kustomize. + // desired state + // from a Source using Kustomize. spec!: #KustomizationSpec } // KustomizationSpec defines the configuration to calculate the -// desired state from a Source using Kustomize. +// desired state +// from a Source using Kustomize. #KustomizationSpec: { // CommonMetadata specifies the common labels and annotations that - // are applied to all resources. Any existing label or annotation - // will be overridden if its key matches a common one. + // are + // applied to all resources. Any existing label or annotation will + // be + // overridden if its key matches a common one. commonMetadata?: { // Annotations to be added to the object's metadata. annotations?: { @@ -75,7 +84,8 @@ import "strings" // DependsOn may contain a meta.NamespacedObjectReference slice // with references to Kustomization resources that must be ready - // before this Kustomization can be reconciled. + // before this + // Kustomization can be reconciled. dependsOn?: [...{ // Name of the referent. name: string @@ -85,8 +95,8 @@ import "strings" namespace?: string }] - // Force instructs the controller to recreate resources when - // patching fails due to an immutable field change. + // Force instructs the controller to recreate resources + // when patching fails due to an immutable field change. force?: bool | *false // A list of resources to be included in the health assessment. @@ -108,11 +118,11 @@ import "strings" // Images is a list of (image name, new name, new tag or digest) // for changing image names, tags or digests. This can also be - // achieved with a patch, but this operator is simpler to - // specify. + // achieved with a + // patch, but this operator is simpler to specify. images?: [...{ - // Digest is the value used to replace the original image tag. If - // digest is present NewTag value is ignored. + // Digest is the value used to replace the original image tag. + // If digest is present NewTag value is ignored. digest?: string // Name is a tag-less image name. @@ -125,19 +135,25 @@ import "strings" newTag?: string }] - // The interval at which to reconcile the Kustomization. This - // interval is approximate and may be subject to jitter to ensure + // The interval at which to reconcile the Kustomization. + // This interval is approximate and may be subject to jitter to + // ensure // efficient use of resources. interval: =~"^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$" kubeConfig?: { // SecretRef holds the name of a secret that contains a key with // the kubeconfig file as the value. If no key is set, the key - // will default to 'value'. It is recommended that the kubeconfig - // is self-contained, and the secret is regularly updated if - // credentials such as a cloud-access-token expire. Cloud - // specific `cmd-path` auth helpers will not function without - // adding binaries and credentials to the Pod that is responsible - // for reconciling Kubernetes resources. + // will default + // to 'value'. + // It is recommended that the kubeconfig is self-contained, and + // the secret + // is regularly updated if credentials such as a + // cloud-access-token expire. + // Cloud specific `cmd-path` auth helpers will not function + // without adding + // binaries and credentials to the Pod that is responsible for + // reconciling + // Kubernetes resources. secretRef: { // Key in the Secret, when not specified an // implementation-specific default key is used. @@ -148,12 +164,20 @@ import "strings" } } + // NamePrefix will prefix the names of all managed resources. + namePrefix?: strings.MaxRunes(200) & strings.MinRunes(1) + + // NameSuffix will suffix the names of all managed resources. + nameSuffix?: strings.MaxRunes(200) & strings.MinRunes(1) + // Strategic merge and JSON patches, defined as inline YAML - // objects, capable of targeting objects based on kind, label and + // objects, + // capable of targeting objects based on kind, label and // annotation selectors. patches?: [...{ // Patch contains an inline StrategicMerge patch or an inline - // JSON6902 patch with an array of operation objects. + // JSON6902 patch with + // an array of operation objects. patch: string // Target points to the resources that the patch document should @@ -165,15 +189,15 @@ import "strings" // It matches with the resource annotations. annotationSelector?: string - // Group is the API group to select resources from. Together with - // Version and Kind it is capable of unambiguously identifying - // and/or selecting resources. + // Group is the API group to select resources from. + // Together with Version and Kind it is capable of unambiguously + // identifying and/or selecting resources. // https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md group?: string - // Kind of the API Group to select resources from. Together with - // Group and Version it is capable of unambiguously identifying - // and/or selecting resources. + // Kind of the API Group to select resources from. + // Together with Group and Version it is capable of unambiguously + // identifying and/or selecting resources. // https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md kind?: string @@ -189,51 +213,62 @@ import "strings" // Namespace to select resources from. namespace?: string - // Version of the API Group to select resources from. Together - // with Group and Kind it is capable of unambiguously identifying - // and/or selecting resources. + // Version of the API Group to select resources from. + // Together with Group and Kind it is capable of unambiguously + // identifying and/or selecting resources. // https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md version?: string } }] // Path to the directory containing the kustomization.yaml file, - // or the set of plain YAMLs a kustomization.yaml should be - // generated for. Defaults to 'None', which translates to the - // root path of the SourceRef. + // or the + // set of plain YAMLs a kustomization.yaml should be generated + // for. + // Defaults to 'None', which translates to the root path of the + // SourceRef. path?: string // PostBuild describes which actions to perform on the YAML - // manifest generated by building the kustomize overlay. + // manifest + // generated by building the kustomize overlay. postBuild?: { - // Substitute holds a map of key/value pairs. The variables - // defined in your YAML manifests that match any of the keys + // Substitute holds a map of key/value pairs. + // The variables defined in your YAML manifests that match any of + // the keys // defined in the map will be substituted with the set value. - // Includes support for bash string replacement functions e.g. - // ${var:=default}, ${var:position} and + // Includes support for bash string replacement functions + // e.g. ${var:=default}, ${var:position} and // ${var/substring/replacement}. substitute?: { [string]: string } // SubstituteFrom holds references to ConfigMaps and Secrets - // containing the variables and their values to be substituted in - // the YAML manifests. The ConfigMap and the Secret data keys - // represent the var names, and they must match the vars declared - // in the manifests for the substitution to happen. + // containing + // the variables and their values to be substituted in the YAML + // manifests. + // The ConfigMap and the Secret data keys represent the var names, + // and they + // must match the vars declared in the manifests for the + // substitution to + // happen. substituteFrom?: [...{ // Kind of the values referent, valid values are ('Secret', // 'ConfigMap'). kind: "Secret" | "ConfigMap" // Name of the values referent. Should reside in the same - // namespace as the referring resource. + // namespace as the + // referring resource. name: strings.MaxRunes(253) & strings.MinRunes(1) // Optional indicates whether the referenced resource must exist, - // or whether to tolerate its absence. If true and the referenced - // resource is absent, proceed as if the resource was present but - // empty, without any variables defined. + // or whether to + // tolerate its absence. If true and the referenced resource is + // absent, proceed + // as if the resource was present but empty, without any variables + // defined. optional?: bool | *false }] } @@ -242,12 +277,14 @@ import "strings" prune: bool // The interval at which to retry a previously failed - // reconciliation. When not specified, the controller uses the - // KustomizationSpec.Interval value to retry failures. + // reconciliation. + // When not specified, the controller uses the + // KustomizationSpec.Interval + // value to retry failures. retryInterval?: =~"^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$" - // The name of the Kubernetes service account to impersonate when - // reconciling this Kustomization. + // The name of the Kubernetes service account to impersonate + // when reconciling this Kustomization. serviceAccountName?: string // Reference of the source where the kustomization file is. @@ -262,13 +299,15 @@ import "strings" name: string // Namespace of the referent, defaults to the namespace of the - // Kubernetes resource object that contains the reference. + // Kubernetes + // resource object that contains the reference. namespace?: string } // This flag tells the controller to suspend subsequent kustomize - // executions, it does not apply to already started executions. - // Defaults to false. + // executions, + // it does not apply to already started executions. Defaults to + // false. suspend?: bool // TargetNamespace sets or overrides the namespace in the @@ -280,7 +319,8 @@ import "strings" timeout?: =~"^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$" // Wait instructs the controller to check the health of all the - // reconciled resources. When enabled, the HealthChecks are - // ignored. Defaults to false. + // reconciled + // resources. When enabled, the HealthChecks are ignored. Defaults + // to false. wait?: bool } diff --git a/modules/flux-git-sync/cue.mod/gen/source.toolkit.fluxcd.io/gitrepository/v1/types_gen.cue b/modules/flux-git-sync/cue.mod/gen/source.toolkit.fluxcd.io/gitrepository/v1/types_gen.cue index f201448..cfdca98 100644 --- a/modules/flux-git-sync/cue.mod/gen/source.toolkit.fluxcd.io/gitrepository/v1/types_gen.cue +++ b/modules/flux-git-sync/cue.mod/gen/source.toolkit.fluxcd.io/gitrepository/v1/types_gen.cue @@ -1,6 +1,6 @@ // Code generated by timoni. DO NOT EDIT. -//timoni:generate timoni vendor crd -f https://github.com/fluxcd/flux2/releases/download/v2.1.1/install.yaml +//timoni:generate timoni vendor crd -f https://github.com/fluxcd/source-controller/releases/download/v1.3.0/source-controller.crds.yaml package v1 @@ -9,16 +9,21 @@ import "strings" // GitRepository is the Schema for the gitrepositories API. #GitRepository: { // 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. + // 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 apiVersion: "source.toolkit.fluxcd.io/v1" // 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: + // 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 kind: "GitRepository" metadata!: { @@ -37,25 +42,31 @@ import "strings" } // GitRepositorySpec specifies the required configuration to - // produce an Artifact for a Git repository. + // produce an + // Artifact for a Git repository. spec!: #GitRepositorySpec } // GitRepositorySpec specifies the required configuration to -// produce an Artifact for a Git repository. +// produce an +// Artifact for a Git repository. #GitRepositorySpec: { // 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. + // .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. ignore?: string // Include specifies a list of GitRepository resources which - // Artifacts should be included in the Artifact produced for this + // Artifacts + // should be included in the Artifact produced for this // GitRepository. include?: [...{ // FromPath specifies the path to copy contents from, defaults to - // the root of the Artifact. + // the root + // of the Artifact. fromPath?: string repository: { // Name of the referent. @@ -63,13 +74,15 @@ import "strings" } // ToPath specifies the path to copy contents to, defaults to the - // name of the GitRepositoryRef. + // name of + // the GitRepositoryRef. toPath?: string }] // 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. + // ensure + // efficient use of resources. interval: =~"^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$" proxySecretRef?: { // Name of the referent. @@ -77,12 +90,14 @@ import "strings" } // RecurseSubmodules enables the initialization of all submodules - // within the GitRepository as cloned from the URL, using their - // default settings. + // within + // the GitRepository as cloned from the URL, using their default + // settings. recurseSubmodules?: bool // Reference specifies the Git reference to resolve and monitor - // for changes, defaults to the 'master' branch. + // for + // changes, defaults to the 'master' branch. ref?: { // Branch to check out, defaults to 'master' if no other field is // defined. @@ -90,12 +105,17 @@ import "strings" // 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. + // in which + // the commit is expected to exist. commit?: 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", @@ -114,7 +134,8 @@ import "strings" } // Suspend tells the controller to suspend the reconciliation of - // this GitRepository. + // this + // GitRepository. suspend?: bool // Timeout for Git operations like cloning, defaults to 60s. @@ -125,13 +146,17 @@ import "strings" url: =~"^(http|https|ssh)://.*$" // Verification specifies the configuration to verify the Git - // commit signature(s). + // commit + // signature(s). verify?: { // 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. + // verify + // the commit that the HEAD of the Git repository points to. The + // variant + // "head" solely exists to ensure backwards compatibility. mode?: "head" | "HEAD" | "Tag" | "TagAndHEAD" | *"HEAD" secretRef: { // Name of the referent. diff --git a/modules/flux-oci-sync/cue.mod/gen/kustomize.toolkit.fluxcd.io/kustomization/v1/types_gen.cue b/modules/flux-oci-sync/cue.mod/gen/kustomize.toolkit.fluxcd.io/kustomization/v1/types_gen.cue index 9a20768..17c5a79 100644 --- a/modules/flux-oci-sync/cue.mod/gen/kustomize.toolkit.fluxcd.io/kustomization/v1/types_gen.cue +++ b/modules/flux-oci-sync/cue.mod/gen/kustomize.toolkit.fluxcd.io/kustomization/v1/types_gen.cue @@ -1,6 +1,6 @@ // Code generated by timoni. DO NOT EDIT. -//timoni:generate timoni vendor crd -f https://github.com/fluxcd/kustomize-controller/releases/download/v1.2.2/kustomize-controller.crds.yaml +//timoni:generate timoni vendor crd -f https://github.com/fluxcd/kustomize-controller/releases/download/v1.3.0/kustomize-controller.crds.yaml package v1 @@ -9,16 +9,21 @@ import "strings" // Kustomization is the Schema for the kustomizations API. #Kustomization: { // 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. + // 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 apiVersion: "kustomize.toolkit.fluxcd.io/v1" // 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: + // 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 kind: "Kustomization" metadata!: { @@ -37,16 +42,20 @@ import "strings" } // KustomizationSpec defines the configuration to calculate the - // desired state from a Source using Kustomize. + // desired state + // from a Source using Kustomize. spec!: #KustomizationSpec } // KustomizationSpec defines the configuration to calculate the -// desired state from a Source using Kustomize. +// desired state +// from a Source using Kustomize. #KustomizationSpec: { // CommonMetadata specifies the common labels and annotations that - // are applied to all resources. Any existing label or annotation - // will be overridden if its key matches a common one. + // are + // applied to all resources. Any existing label or annotation will + // be + // overridden if its key matches a common one. commonMetadata?: { // Annotations to be added to the object's metadata. annotations?: { @@ -75,7 +84,8 @@ import "strings" // DependsOn may contain a meta.NamespacedObjectReference slice // with references to Kustomization resources that must be ready - // before this Kustomization can be reconciled. + // before this + // Kustomization can be reconciled. dependsOn?: [...{ // Name of the referent. name: string @@ -85,8 +95,8 @@ import "strings" namespace?: string }] - // Force instructs the controller to recreate resources when - // patching fails due to an immutable field change. + // Force instructs the controller to recreate resources + // when patching fails due to an immutable field change. force?: bool | *false // A list of resources to be included in the health assessment. @@ -108,11 +118,11 @@ import "strings" // Images is a list of (image name, new name, new tag or digest) // for changing image names, tags or digests. This can also be - // achieved with a patch, but this operator is simpler to - // specify. + // achieved with a + // patch, but this operator is simpler to specify. images?: [...{ - // Digest is the value used to replace the original image tag. If - // digest is present NewTag value is ignored. + // Digest is the value used to replace the original image tag. + // If digest is present NewTag value is ignored. digest?: string // Name is a tag-less image name. @@ -125,19 +135,25 @@ import "strings" newTag?: string }] - // The interval at which to reconcile the Kustomization. This - // interval is approximate and may be subject to jitter to ensure + // The interval at which to reconcile the Kustomization. + // This interval is approximate and may be subject to jitter to + // ensure // efficient use of resources. interval: =~"^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$" kubeConfig?: { // SecretRef holds the name of a secret that contains a key with // the kubeconfig file as the value. If no key is set, the key - // will default to 'value'. It is recommended that the kubeconfig - // is self-contained, and the secret is regularly updated if - // credentials such as a cloud-access-token expire. Cloud - // specific `cmd-path` auth helpers will not function without - // adding binaries and credentials to the Pod that is responsible - // for reconciling Kubernetes resources. + // will default + // to 'value'. + // It is recommended that the kubeconfig is self-contained, and + // the secret + // is regularly updated if credentials such as a + // cloud-access-token expire. + // Cloud specific `cmd-path` auth helpers will not function + // without adding + // binaries and credentials to the Pod that is responsible for + // reconciling + // Kubernetes resources. secretRef: { // Key in the Secret, when not specified an // implementation-specific default key is used. @@ -148,12 +164,20 @@ import "strings" } } + // NamePrefix will prefix the names of all managed resources. + namePrefix?: strings.MaxRunes(200) & strings.MinRunes(1) + + // NameSuffix will suffix the names of all managed resources. + nameSuffix?: strings.MaxRunes(200) & strings.MinRunes(1) + // Strategic merge and JSON patches, defined as inline YAML - // objects, capable of targeting objects based on kind, label and + // objects, + // capable of targeting objects based on kind, label and // annotation selectors. patches?: [...{ // Patch contains an inline StrategicMerge patch or an inline - // JSON6902 patch with an array of operation objects. + // JSON6902 patch with + // an array of operation objects. patch: string // Target points to the resources that the patch document should @@ -165,15 +189,15 @@ import "strings" // It matches with the resource annotations. annotationSelector?: string - // Group is the API group to select resources from. Together with - // Version and Kind it is capable of unambiguously identifying - // and/or selecting resources. + // Group is the API group to select resources from. + // Together with Version and Kind it is capable of unambiguously + // identifying and/or selecting resources. // https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md group?: string - // Kind of the API Group to select resources from. Together with - // Group and Version it is capable of unambiguously identifying - // and/or selecting resources. + // Kind of the API Group to select resources from. + // Together with Group and Version it is capable of unambiguously + // identifying and/or selecting resources. // https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md kind?: string @@ -189,51 +213,62 @@ import "strings" // Namespace to select resources from. namespace?: string - // Version of the API Group to select resources from. Together - // with Group and Kind it is capable of unambiguously identifying - // and/or selecting resources. + // Version of the API Group to select resources from. + // Together with Group and Kind it is capable of unambiguously + // identifying and/or selecting resources. // https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md version?: string } }] // Path to the directory containing the kustomization.yaml file, - // or the set of plain YAMLs a kustomization.yaml should be - // generated for. Defaults to 'None', which translates to the - // root path of the SourceRef. + // or the + // set of plain YAMLs a kustomization.yaml should be generated + // for. + // Defaults to 'None', which translates to the root path of the + // SourceRef. path?: string // PostBuild describes which actions to perform on the YAML - // manifest generated by building the kustomize overlay. + // manifest + // generated by building the kustomize overlay. postBuild?: { - // Substitute holds a map of key/value pairs. The variables - // defined in your YAML manifests that match any of the keys + // Substitute holds a map of key/value pairs. + // The variables defined in your YAML manifests that match any of + // the keys // defined in the map will be substituted with the set value. - // Includes support for bash string replacement functions e.g. - // ${var:=default}, ${var:position} and + // Includes support for bash string replacement functions + // e.g. ${var:=default}, ${var:position} and // ${var/substring/replacement}. substitute?: { [string]: string } // SubstituteFrom holds references to ConfigMaps and Secrets - // containing the variables and their values to be substituted in - // the YAML manifests. The ConfigMap and the Secret data keys - // represent the var names, and they must match the vars declared - // in the manifests for the substitution to happen. + // containing + // the variables and their values to be substituted in the YAML + // manifests. + // The ConfigMap and the Secret data keys represent the var names, + // and they + // must match the vars declared in the manifests for the + // substitution to + // happen. substituteFrom?: [...{ // Kind of the values referent, valid values are ('Secret', // 'ConfigMap'). kind: "Secret" | "ConfigMap" // Name of the values referent. Should reside in the same - // namespace as the referring resource. + // namespace as the + // referring resource. name: strings.MaxRunes(253) & strings.MinRunes(1) // Optional indicates whether the referenced resource must exist, - // or whether to tolerate its absence. If true and the referenced - // resource is absent, proceed as if the resource was present but - // empty, without any variables defined. + // or whether to + // tolerate its absence. If true and the referenced resource is + // absent, proceed + // as if the resource was present but empty, without any variables + // defined. optional?: bool | *false }] } @@ -242,12 +277,14 @@ import "strings" prune: bool // The interval at which to retry a previously failed - // reconciliation. When not specified, the controller uses the - // KustomizationSpec.Interval value to retry failures. + // reconciliation. + // When not specified, the controller uses the + // KustomizationSpec.Interval + // value to retry failures. retryInterval?: =~"^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$" - // The name of the Kubernetes service account to impersonate when - // reconciling this Kustomization. + // The name of the Kubernetes service account to impersonate + // when reconciling this Kustomization. serviceAccountName?: string // Reference of the source where the kustomization file is. @@ -262,13 +299,15 @@ import "strings" name: string // Namespace of the referent, defaults to the namespace of the - // Kubernetes resource object that contains the reference. + // Kubernetes + // resource object that contains the reference. namespace?: string } // This flag tells the controller to suspend subsequent kustomize - // executions, it does not apply to already started executions. - // Defaults to false. + // executions, + // it does not apply to already started executions. Defaults to + // false. suspend?: bool // TargetNamespace sets or overrides the namespace in the @@ -280,7 +319,8 @@ import "strings" timeout?: =~"^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$" // Wait instructs the controller to check the health of all the - // reconciled resources. When enabled, the HealthChecks are - // ignored. Defaults to false. + // reconciled + // resources. When enabled, the HealthChecks are ignored. Defaults + // to false. wait?: bool } diff --git a/modules/flux-oci-sync/cue.mod/gen/source.toolkit.fluxcd.io/ocirepository/v1beta2/types_gen.cue b/modules/flux-oci-sync/cue.mod/gen/source.toolkit.fluxcd.io/ocirepository/v1beta2/types_gen.cue index 11f44fe..28abd59 100644 --- a/modules/flux-oci-sync/cue.mod/gen/source.toolkit.fluxcd.io/ocirepository/v1beta2/types_gen.cue +++ b/modules/flux-oci-sync/cue.mod/gen/source.toolkit.fluxcd.io/ocirepository/v1beta2/types_gen.cue @@ -1,6 +1,6 @@ // Code generated by timoni. DO NOT EDIT. -//timoni:generate timoni vendor crd -f https://github.com/fluxcd/source-controller/releases/download/v1.2.4/source-controller.crds.yaml +//timoni:generate timoni vendor crd -f https://github.com/fluxcd/source-controller/releases/download/v1.3.0/source-controller.crds.yaml package v1beta2 @@ -9,16 +9,21 @@ import "strings" // OCIRepository is the Schema for the ocirepositories API #OCIRepository: { // 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. + // 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 apiVersion: "source.toolkit.fluxcd.io/v1beta2" // 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: + // 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 kind: "OCIRepository" metadata!: { @@ -48,9 +53,11 @@ import "strings" } // 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. + // .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. ignore?: string // Insecure allows connecting to a non-TLS HTTP container @@ -59,40 +66,50 @@ import "strings" // 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. + // ensure + // efficient use of resources. interval: =~"^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$" // LayerSelector specifies which layer should be extracted from - // the OCI artifact. When not specified, the first layer found in - // the artifact is selected. + // the OCI artifact. + // When not specified, the first layer found in the artifact is + // selected. layerSelector?: { - // 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. + // 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. mediaType?: string // 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. + // storage. + // When the operation is set to 'copy', the layer compressed + // content + // is persisted to storage as it is. operation?: "extract" | "copy" } // The provider used for authentication, can be 'aws', 'azure', - // 'gcp' or 'generic'. When not specified, defaults to 'generic'. + // 'gcp' or 'generic'. + // When not specified, defaults to 'generic'. provider?: "generic" | "aws" | "azure" | "gcp" | *"generic" - // The OCI reference to pull and monitor for changes, defaults to - // the latest tag. + // The OCI reference to pull and monitor for changes, + // defaults to the latest tag. ref?: { // Digest is the image digest to pull, takes precedence over - // SemVer. The value should be in the format 'sha256:'. + // SemVer. + // The value should be in the format 'sha256:'. digest?: string // SemVer is the range of tags to pull selecting the latest within // the range, takes precedence over Tag. semver?: string + // SemverFilter is a regex pattern to filter the tags within the + // SemVer range. + semverFilter?: string + // Tag is the image tag to pull, defaults to latest. tag?: string } @@ -102,8 +119,9 @@ import "strings" } // 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: + // 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 serviceAccountName?: string @@ -115,34 +133,40 @@ import "strings" // defaults to 60s. timeout?: =~"^([0-9]+(\\.[0-9]+)?(ms|s|m))+$" | *"60s" - // URL is a reference to an OCI artifact repository hosted on a - // remote container registry. + // URL is a reference to an OCI artifact repository hosted + // on a remote container registry. url: =~"^oci://.*$" // 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. + // keys + // used to verify the signature and specifies which provider to + // use to check + // whether OCI image is authentic. verify?: { // 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. + // 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. matchOIDCIdentity?: [...{ // 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. + // 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. + // must + // be a valid Go regular expression. subject: string }] // Provider specifies the technology used to sign the OCI // Artifact. - provider: "cosign" | *"cosign" + provider: "cosign" | "notation" | *"cosign" secretRef?: { // Name of the referent. name: string