diff --git a/fluxcd-source-controller/README.md b/fluxcd-source-controller/README.md new file mode 100644 index 00000000..15d5a6e6 --- /dev/null +++ b/fluxcd-source-controller/README.md @@ -0,0 +1,1708 @@ +# source-controller + +## Index + +- v1 + - [GitRepository](#gitrepository) + - [HelmChart](#helmchart) + - [HelmRepository](#helmrepository) + - [SourceToolkitFluxcdIoV1GitRepositorySpec](#sourcetoolkitfluxcdiov1gitrepositoryspec) + - [SourceToolkitFluxcdIoV1GitRepositorySpecIncludeItems0](#sourcetoolkitfluxcdiov1gitrepositoryspecincludeitems0) + - [SourceToolkitFluxcdIoV1GitRepositorySpecIncludeItems0Repository](#sourcetoolkitfluxcdiov1gitrepositoryspecincludeitems0repository) + - [SourceToolkitFluxcdIoV1GitRepositorySpecProxySecretRef](#sourcetoolkitfluxcdiov1gitrepositoryspecproxysecretref) + - [SourceToolkitFluxcdIoV1GitRepositorySpecRef](#sourcetoolkitfluxcdiov1gitrepositoryspecref) + - [SourceToolkitFluxcdIoV1GitRepositorySpecSecretRef](#sourcetoolkitfluxcdiov1gitrepositoryspecsecretref) + - [SourceToolkitFluxcdIoV1GitRepositorySpecVerify](#sourcetoolkitfluxcdiov1gitrepositoryspecverify) + - [SourceToolkitFluxcdIoV1GitRepositorySpecVerifySecretRef](#sourcetoolkitfluxcdiov1gitrepositoryspecverifysecretref) + - [SourceToolkitFluxcdIoV1GitRepositoryStatus](#sourcetoolkitfluxcdiov1gitrepositorystatus) + - [SourceToolkitFluxcdIoV1GitRepositoryStatusArtifact](#sourcetoolkitfluxcdiov1gitrepositorystatusartifact) + - [SourceToolkitFluxcdIoV1GitRepositoryStatusConditionsItems0](#sourcetoolkitfluxcdiov1gitrepositorystatusconditionsitems0) + - [SourceToolkitFluxcdIoV1GitRepositoryStatusIncludedArtifactsItems0](#sourcetoolkitfluxcdiov1gitrepositorystatusincludedartifactsitems0) + - [SourceToolkitFluxcdIoV1GitRepositoryStatusObservedIncludeItems0](#sourcetoolkitfluxcdiov1gitrepositorystatusobservedincludeitems0) + - [SourceToolkitFluxcdIoV1GitRepositoryStatusObservedIncludeItems0Repository](#sourcetoolkitfluxcdiov1gitrepositorystatusobservedincludeitems0repository) + - [SourceToolkitFluxcdIoV1HelmChartSpec](#sourcetoolkitfluxcdiov1helmchartspec) + - [SourceToolkitFluxcdIoV1HelmChartSpecSourceRef](#sourcetoolkitfluxcdiov1helmchartspecsourceref) + - [SourceToolkitFluxcdIoV1HelmChartSpecVerify](#sourcetoolkitfluxcdiov1helmchartspecverify) + - [SourceToolkitFluxcdIoV1HelmChartSpecVerifyMatchOIDCIdentityItems0](#sourcetoolkitfluxcdiov1helmchartspecverifymatchoidcidentityitems0) + - [SourceToolkitFluxcdIoV1HelmChartSpecVerifySecretRef](#sourcetoolkitfluxcdiov1helmchartspecverifysecretref) + - [SourceToolkitFluxcdIoV1HelmChartStatus](#sourcetoolkitfluxcdiov1helmchartstatus) + - [SourceToolkitFluxcdIoV1HelmChartStatusArtifact](#sourcetoolkitfluxcdiov1helmchartstatusartifact) + - [SourceToolkitFluxcdIoV1HelmChartStatusConditionsItems0](#sourcetoolkitfluxcdiov1helmchartstatusconditionsitems0) + - [SourceToolkitFluxcdIoV1HelmRepositorySpec](#sourcetoolkitfluxcdiov1helmrepositoryspec) + - [SourceToolkitFluxcdIoV1HelmRepositorySpecAccessFrom](#sourcetoolkitfluxcdiov1helmrepositoryspecaccessfrom) + - [SourceToolkitFluxcdIoV1HelmRepositorySpecAccessFromNamespaceSelectorsItems0](#sourcetoolkitfluxcdiov1helmrepositoryspecaccessfromnamespaceselectorsitems0) + - [SourceToolkitFluxcdIoV1HelmRepositorySpecCertSecretRef](#sourcetoolkitfluxcdiov1helmrepositoryspeccertsecretref) + - [SourceToolkitFluxcdIoV1HelmRepositorySpecSecretRef](#sourcetoolkitfluxcdiov1helmrepositoryspecsecretref) + - [SourceToolkitFluxcdIoV1HelmRepositoryStatus](#sourcetoolkitfluxcdiov1helmrepositorystatus) + - [SourceToolkitFluxcdIoV1HelmRepositoryStatusArtifact](#sourcetoolkitfluxcdiov1helmrepositorystatusartifact) + - [SourceToolkitFluxcdIoV1HelmRepositoryStatusConditionsItems0](#sourcetoolkitfluxcdiov1helmrepositorystatusconditionsitems0) +- v1beta1 + - [Bucket](#bucket) + - [GitRepository](#gitrepository) + - [HelmChart](#helmchart) + - [HelmRepository](#helmrepository) + - [SourceToolkitFluxcdIoV1beta1BucketSpec](#sourcetoolkitfluxcdiov1beta1bucketspec) + - [SourceToolkitFluxcdIoV1beta1BucketSpecAccessFrom](#sourcetoolkitfluxcdiov1beta1bucketspecaccessfrom) + - [SourceToolkitFluxcdIoV1beta1BucketSpecAccessFromNamespaceSelectorsItems0](#sourcetoolkitfluxcdiov1beta1bucketspecaccessfromnamespaceselectorsitems0) + - [SourceToolkitFluxcdIoV1beta1BucketSpecSecretRef](#sourcetoolkitfluxcdiov1beta1bucketspecsecretref) + - [SourceToolkitFluxcdIoV1beta1BucketStatus](#sourcetoolkitfluxcdiov1beta1bucketstatus) + - [SourceToolkitFluxcdIoV1beta1BucketStatusArtifact](#sourcetoolkitfluxcdiov1beta1bucketstatusartifact) + - [SourceToolkitFluxcdIoV1beta1BucketStatusConditionsItems0](#sourcetoolkitfluxcdiov1beta1bucketstatusconditionsitems0) + - [SourceToolkitFluxcdIoV1beta1GitRepositorySpec](#sourcetoolkitfluxcdiov1beta1gitrepositoryspec) + - [SourceToolkitFluxcdIoV1beta1GitRepositorySpecAccessFrom](#sourcetoolkitfluxcdiov1beta1gitrepositoryspecaccessfrom) + - [SourceToolkitFluxcdIoV1beta1GitRepositorySpecAccessFromNamespaceSelectorsItems0](#sourcetoolkitfluxcdiov1beta1gitrepositoryspecaccessfromnamespaceselectorsitems0) + - [SourceToolkitFluxcdIoV1beta1GitRepositorySpecIncludeItems0](#sourcetoolkitfluxcdiov1beta1gitrepositoryspecincludeitems0) + - [SourceToolkitFluxcdIoV1beta1GitRepositorySpecIncludeItems0Repository](#sourcetoolkitfluxcdiov1beta1gitrepositoryspecincludeitems0repository) + - [SourceToolkitFluxcdIoV1beta1GitRepositorySpecRef](#sourcetoolkitfluxcdiov1beta1gitrepositoryspecref) + - [SourceToolkitFluxcdIoV1beta1GitRepositorySpecSecretRef](#sourcetoolkitfluxcdiov1beta1gitrepositoryspecsecretref) + - [SourceToolkitFluxcdIoV1beta1GitRepositorySpecVerify](#sourcetoolkitfluxcdiov1beta1gitrepositoryspecverify) + - [SourceToolkitFluxcdIoV1beta1GitRepositorySpecVerifySecretRef](#sourcetoolkitfluxcdiov1beta1gitrepositoryspecverifysecretref) + - [SourceToolkitFluxcdIoV1beta1GitRepositoryStatus](#sourcetoolkitfluxcdiov1beta1gitrepositorystatus) + - [SourceToolkitFluxcdIoV1beta1GitRepositoryStatusArtifact](#sourcetoolkitfluxcdiov1beta1gitrepositorystatusartifact) + - [SourceToolkitFluxcdIoV1beta1GitRepositoryStatusConditionsItems0](#sourcetoolkitfluxcdiov1beta1gitrepositorystatusconditionsitems0) + - [SourceToolkitFluxcdIoV1beta1GitRepositoryStatusIncludedArtifactsItems0](#sourcetoolkitfluxcdiov1beta1gitrepositorystatusincludedartifactsitems0) + - [SourceToolkitFluxcdIoV1beta1HelmChartSpec](#sourcetoolkitfluxcdiov1beta1helmchartspec) + - [SourceToolkitFluxcdIoV1beta1HelmChartSpecAccessFrom](#sourcetoolkitfluxcdiov1beta1helmchartspecaccessfrom) + - [SourceToolkitFluxcdIoV1beta1HelmChartSpecAccessFromNamespaceSelectorsItems0](#sourcetoolkitfluxcdiov1beta1helmchartspecaccessfromnamespaceselectorsitems0) + - [SourceToolkitFluxcdIoV1beta1HelmChartSpecSourceRef](#sourcetoolkitfluxcdiov1beta1helmchartspecsourceref) + - [SourceToolkitFluxcdIoV1beta1HelmChartStatus](#sourcetoolkitfluxcdiov1beta1helmchartstatus) + - [SourceToolkitFluxcdIoV1beta1HelmChartStatusArtifact](#sourcetoolkitfluxcdiov1beta1helmchartstatusartifact) + - [SourceToolkitFluxcdIoV1beta1HelmChartStatusConditionsItems0](#sourcetoolkitfluxcdiov1beta1helmchartstatusconditionsitems0) + - [SourceToolkitFluxcdIoV1beta1HelmRepositorySpec](#sourcetoolkitfluxcdiov1beta1helmrepositoryspec) + - [SourceToolkitFluxcdIoV1beta1HelmRepositorySpecAccessFrom](#sourcetoolkitfluxcdiov1beta1helmrepositoryspecaccessfrom) + - [SourceToolkitFluxcdIoV1beta1HelmRepositorySpecAccessFromNamespaceSelectorsItems0](#sourcetoolkitfluxcdiov1beta1helmrepositoryspecaccessfromnamespaceselectorsitems0) + - [SourceToolkitFluxcdIoV1beta1HelmRepositorySpecSecretRef](#sourcetoolkitfluxcdiov1beta1helmrepositoryspecsecretref) + - [SourceToolkitFluxcdIoV1beta1HelmRepositoryStatus](#sourcetoolkitfluxcdiov1beta1helmrepositorystatus) + - [SourceToolkitFluxcdIoV1beta1HelmRepositoryStatusArtifact](#sourcetoolkitfluxcdiov1beta1helmrepositorystatusartifact) + - [SourceToolkitFluxcdIoV1beta1HelmRepositoryStatusConditionsItems0](#sourcetoolkitfluxcdiov1beta1helmrepositorystatusconditionsitems0) +- v1beta2 + - [Bucket](#bucket) + - [GitRepository](#gitrepository) + - [HelmChart](#helmchart) + - [HelmRepository](#helmrepository) + - [OCIRepository](#ocirepository) + - [SourceToolkitFluxcdIoV1beta2BucketSpec](#sourcetoolkitfluxcdiov1beta2bucketspec) + - [SourceToolkitFluxcdIoV1beta2BucketSpecAccessFrom](#sourcetoolkitfluxcdiov1beta2bucketspecaccessfrom) + - [SourceToolkitFluxcdIoV1beta2BucketSpecAccessFromNamespaceSelectorsItems0](#sourcetoolkitfluxcdiov1beta2bucketspecaccessfromnamespaceselectorsitems0) + - [SourceToolkitFluxcdIoV1beta2BucketSpecSecretRef](#sourcetoolkitfluxcdiov1beta2bucketspecsecretref) + - [SourceToolkitFluxcdIoV1beta2BucketStatus](#sourcetoolkitfluxcdiov1beta2bucketstatus) + - [SourceToolkitFluxcdIoV1beta2BucketStatusArtifact](#sourcetoolkitfluxcdiov1beta2bucketstatusartifact) + - [SourceToolkitFluxcdIoV1beta2BucketStatusConditionsItems0](#sourcetoolkitfluxcdiov1beta2bucketstatusconditionsitems0) + - [SourceToolkitFluxcdIoV1beta2GitRepositorySpec](#sourcetoolkitfluxcdiov1beta2gitrepositoryspec) + - [SourceToolkitFluxcdIoV1beta2GitRepositorySpecAccessFrom](#sourcetoolkitfluxcdiov1beta2gitrepositoryspecaccessfrom) + - [SourceToolkitFluxcdIoV1beta2GitRepositorySpecAccessFromNamespaceSelectorsItems0](#sourcetoolkitfluxcdiov1beta2gitrepositoryspecaccessfromnamespaceselectorsitems0) + - [SourceToolkitFluxcdIoV1beta2GitRepositorySpecIncludeItems0](#sourcetoolkitfluxcdiov1beta2gitrepositoryspecincludeitems0) + - [SourceToolkitFluxcdIoV1beta2GitRepositorySpecIncludeItems0Repository](#sourcetoolkitfluxcdiov1beta2gitrepositoryspecincludeitems0repository) + - [SourceToolkitFluxcdIoV1beta2GitRepositorySpecRef](#sourcetoolkitfluxcdiov1beta2gitrepositoryspecref) + - [SourceToolkitFluxcdIoV1beta2GitRepositorySpecSecretRef](#sourcetoolkitfluxcdiov1beta2gitrepositoryspecsecretref) + - [SourceToolkitFluxcdIoV1beta2GitRepositorySpecVerify](#sourcetoolkitfluxcdiov1beta2gitrepositoryspecverify) + - [SourceToolkitFluxcdIoV1beta2GitRepositorySpecVerifySecretRef](#sourcetoolkitfluxcdiov1beta2gitrepositoryspecverifysecretref) + - [SourceToolkitFluxcdIoV1beta2GitRepositoryStatus](#sourcetoolkitfluxcdiov1beta2gitrepositorystatus) + - [SourceToolkitFluxcdIoV1beta2GitRepositoryStatusArtifact](#sourcetoolkitfluxcdiov1beta2gitrepositorystatusartifact) + - [SourceToolkitFluxcdIoV1beta2GitRepositoryStatusConditionsItems0](#sourcetoolkitfluxcdiov1beta2gitrepositorystatusconditionsitems0) + - [SourceToolkitFluxcdIoV1beta2GitRepositoryStatusIncludedArtifactsItems0](#sourcetoolkitfluxcdiov1beta2gitrepositorystatusincludedartifactsitems0) + - [SourceToolkitFluxcdIoV1beta2GitRepositoryStatusObservedIncludeItems0](#sourcetoolkitfluxcdiov1beta2gitrepositorystatusobservedincludeitems0) + - [SourceToolkitFluxcdIoV1beta2GitRepositoryStatusObservedIncludeItems0Repository](#sourcetoolkitfluxcdiov1beta2gitrepositorystatusobservedincludeitems0repository) + - [SourceToolkitFluxcdIoV1beta2HelmChartSpec](#sourcetoolkitfluxcdiov1beta2helmchartspec) + - [SourceToolkitFluxcdIoV1beta2HelmChartSpecAccessFrom](#sourcetoolkitfluxcdiov1beta2helmchartspecaccessfrom) + - [SourceToolkitFluxcdIoV1beta2HelmChartSpecAccessFromNamespaceSelectorsItems0](#sourcetoolkitfluxcdiov1beta2helmchartspecaccessfromnamespaceselectorsitems0) + - [SourceToolkitFluxcdIoV1beta2HelmChartSpecSourceRef](#sourcetoolkitfluxcdiov1beta2helmchartspecsourceref) + - [SourceToolkitFluxcdIoV1beta2HelmChartSpecVerify](#sourcetoolkitfluxcdiov1beta2helmchartspecverify) + - [SourceToolkitFluxcdIoV1beta2HelmChartSpecVerifyMatchOIDCIdentityItems0](#sourcetoolkitfluxcdiov1beta2helmchartspecverifymatchoidcidentityitems0) + - [SourceToolkitFluxcdIoV1beta2HelmChartSpecVerifySecretRef](#sourcetoolkitfluxcdiov1beta2helmchartspecverifysecretref) + - [SourceToolkitFluxcdIoV1beta2HelmChartStatus](#sourcetoolkitfluxcdiov1beta2helmchartstatus) + - [SourceToolkitFluxcdIoV1beta2HelmChartStatusArtifact](#sourcetoolkitfluxcdiov1beta2helmchartstatusartifact) + - [SourceToolkitFluxcdIoV1beta2HelmChartStatusConditionsItems0](#sourcetoolkitfluxcdiov1beta2helmchartstatusconditionsitems0) + - [SourceToolkitFluxcdIoV1beta2HelmRepositorySpec](#sourcetoolkitfluxcdiov1beta2helmrepositoryspec) + - [SourceToolkitFluxcdIoV1beta2HelmRepositorySpecAccessFrom](#sourcetoolkitfluxcdiov1beta2helmrepositoryspecaccessfrom) + - [SourceToolkitFluxcdIoV1beta2HelmRepositorySpecAccessFromNamespaceSelectorsItems0](#sourcetoolkitfluxcdiov1beta2helmrepositoryspecaccessfromnamespaceselectorsitems0) + - [SourceToolkitFluxcdIoV1beta2HelmRepositorySpecCertSecretRef](#sourcetoolkitfluxcdiov1beta2helmrepositoryspeccertsecretref) + - [SourceToolkitFluxcdIoV1beta2HelmRepositorySpecSecretRef](#sourcetoolkitfluxcdiov1beta2helmrepositoryspecsecretref) + - [SourceToolkitFluxcdIoV1beta2HelmRepositoryStatus](#sourcetoolkitfluxcdiov1beta2helmrepositorystatus) + - [SourceToolkitFluxcdIoV1beta2HelmRepositoryStatusArtifact](#sourcetoolkitfluxcdiov1beta2helmrepositorystatusartifact) + - [SourceToolkitFluxcdIoV1beta2HelmRepositoryStatusConditionsItems0](#sourcetoolkitfluxcdiov1beta2helmrepositorystatusconditionsitems0) + - [SourceToolkitFluxcdIoV1beta2OCIRepositorySpec](#sourcetoolkitfluxcdiov1beta2ocirepositoryspec) + - [SourceToolkitFluxcdIoV1beta2OCIRepositorySpecCertSecretRef](#sourcetoolkitfluxcdiov1beta2ocirepositoryspeccertsecretref) + - [SourceToolkitFluxcdIoV1beta2OCIRepositorySpecLayerSelector](#sourcetoolkitfluxcdiov1beta2ocirepositoryspeclayerselector) + - [SourceToolkitFluxcdIoV1beta2OCIRepositorySpecRef](#sourcetoolkitfluxcdiov1beta2ocirepositoryspecref) + - [SourceToolkitFluxcdIoV1beta2OCIRepositorySpecSecretRef](#sourcetoolkitfluxcdiov1beta2ocirepositoryspecsecretref) + - [SourceToolkitFluxcdIoV1beta2OCIRepositorySpecVerify](#sourcetoolkitfluxcdiov1beta2ocirepositoryspecverify) + - [SourceToolkitFluxcdIoV1beta2OCIRepositorySpecVerifyMatchOIDCIdentityItems0](#sourcetoolkitfluxcdiov1beta2ocirepositoryspecverifymatchoidcidentityitems0) + - [SourceToolkitFluxcdIoV1beta2OCIRepositorySpecVerifySecretRef](#sourcetoolkitfluxcdiov1beta2ocirepositoryspecverifysecretref) + - [SourceToolkitFluxcdIoV1beta2OCIRepositoryStatus](#sourcetoolkitfluxcdiov1beta2ocirepositorystatus) + - [SourceToolkitFluxcdIoV1beta2OCIRepositoryStatusArtifact](#sourcetoolkitfluxcdiov1beta2ocirepositorystatusartifact) + - [SourceToolkitFluxcdIoV1beta2OCIRepositoryStatusConditionsItems0](#sourcetoolkitfluxcdiov1beta2ocirepositorystatusconditionsitems0) + - [SourceToolkitFluxcdIoV1beta2OCIRepositoryStatusObservedLayerSelector](#sourcetoolkitfluxcdiov1beta2ocirepositorystatusobservedlayerselector) + +## Schemas + +### GitRepository + +GitRepository is the Schema for the gitrepositories API. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**apiVersion** `required` `readOnly`|"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|"source.toolkit.fluxcd.io/v1"| +|**kind** `required` `readOnly`|"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|"GitRepository"| +|**metadata**|[ObjectMeta](#objectmeta)|metadata|| +|**spec**|[SourceToolkitFluxcdIoV1GitRepositorySpec](#sourcetoolkitfluxcdiov1gitrepositoryspec)|spec|| +|**status**|[SourceToolkitFluxcdIoV1GitRepositoryStatus](#sourcetoolkitfluxcdiov1gitrepositorystatus)|status|| +### HelmChart + +HelmChart is the Schema for the helmcharts API. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**apiVersion** `required` `readOnly`|"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|"source.toolkit.fluxcd.io/v1"| +|**kind** `required` `readOnly`|"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|"HelmChart"| +|**metadata**|[ObjectMeta](#objectmeta)|metadata|| +|**spec**|[SourceToolkitFluxcdIoV1HelmChartSpec](#sourcetoolkitfluxcdiov1helmchartspec)|spec|| +|**status**|[SourceToolkitFluxcdIoV1HelmChartStatus](#sourcetoolkitfluxcdiov1helmchartstatus)|status|| +### HelmRepository + +HelmRepository is the Schema for the helmrepositories API. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**apiVersion** `required` `readOnly`|"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|"source.toolkit.fluxcd.io/v1"| +|**kind** `required` `readOnly`|"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|"HelmRepository"| +|**metadata**|[ObjectMeta](#objectmeta)|metadata|| +|**spec**|[SourceToolkitFluxcdIoV1HelmRepositorySpec](#sourcetoolkitfluxcdiov1helmrepositoryspec)|spec|| +|**status**|[SourceToolkitFluxcdIoV1HelmRepositoryStatus](#sourcetoolkitfluxcdiov1helmrepositorystatus)|status|| +### SourceToolkitFluxcdIoV1GitRepositorySpec + +GitRepositorySpec specifies the required configuration to produce an Artifact for a Git repository. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**ignore**|str|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**|[[SourceToolkitFluxcdIoV1GitRepositorySpecIncludeItems0](#sourcetoolkitfluxcdiov1gitrepositoryspecincludeitems0)]|Include specifies a list of GitRepository resources which Artifacts
should be included in the Artifact produced for this GitRepository.|| +|**interval** `required`|str|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.|| +|**proxySecretRef**|[SourceToolkitFluxcdIoV1GitRepositorySpecProxySecretRef](#sourcetoolkitfluxcdiov1gitrepositoryspecproxysecretref)|proxy secret ref|| +|**recurseSubmodules**|bool|RecurseSubmodules enables the initialization of all submodules within
the GitRepository as cloned from the URL, using their default settings.|| +|**ref**|[SourceToolkitFluxcdIoV1GitRepositorySpecRef](#sourcetoolkitfluxcdiov1gitrepositoryspecref)|ref|| +|**secretRef**|[SourceToolkitFluxcdIoV1GitRepositorySpecSecretRef](#sourcetoolkitfluxcdiov1gitrepositoryspecsecretref)|secret ref|| +|**suspend**|bool|Suspend tells the controller to suspend the reconciliation of this
GitRepository.|| +|**timeout**|str|Timeout for Git operations like cloning, defaults to 60s.|"60s"| +|**url** `required`|str|URL specifies the Git repository URL, it can be an HTTP/S or SSH address.|| +|**verify**|[SourceToolkitFluxcdIoV1GitRepositorySpecVerify](#sourcetoolkitfluxcdiov1gitrepositoryspecverify)|verify|| +### SourceToolkitFluxcdIoV1GitRepositorySpecIncludeItems0 + +GitRepositoryInclude specifies a local reference to a GitRepository which Artifact (sub-)contents must be included, and where they should be placed. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**fromPath**|str|FromPath specifies the path to copy contents from, defaults to the root
of the Artifact.|| +|**repository** `required`|[SourceToolkitFluxcdIoV1GitRepositorySpecIncludeItems0Repository](#sourcetoolkitfluxcdiov1gitrepositoryspecincludeitems0repository)|repository|| +|**toPath**|str|ToPath specifies the path to copy contents to, defaults to the name of
the GitRepositoryRef.|| +### SourceToolkitFluxcdIoV1GitRepositorySpecIncludeItems0Repository + +GitRepositoryRef specifies the GitRepository which Artifact contents must be included. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**name** `required`|str|Name of the referent.|| +### SourceToolkitFluxcdIoV1GitRepositorySpecProxySecretRef + +ProxySecretRef specifies the Secret containing the proxy configuration to use while communicating with the Git server. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**name** `required`|str|Name of the referent.|| +### SourceToolkitFluxcdIoV1GitRepositorySpecRef + +Reference specifies the Git reference to resolve and monitor for changes, defaults to the 'master' branch. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**branch**|str|Branch to check out, defaults to 'master' if no other field is defined.|| +|**commit**|str|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**|str|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**|str|SemVer tag expression to check out, takes precedence over Tag.|| +|**tag**|str|Tag to check out, takes precedence over Branch.|| +### SourceToolkitFluxcdIoV1GitRepositorySpecSecretRef + +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. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**name** `required`|str|Name of the referent.|| +### SourceToolkitFluxcdIoV1GitRepositorySpecVerify + +Verification specifies the configuration to verify the Git commit signature(s). + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**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.|"HEAD"| +|**secretRef** `required`|[SourceToolkitFluxcdIoV1GitRepositorySpecVerifySecretRef](#sourcetoolkitfluxcdiov1gitrepositoryspecverifysecretref)|secret ref|| +### SourceToolkitFluxcdIoV1GitRepositorySpecVerifySecretRef + +SecretRef specifies the Secret containing the public keys of trusted Git authors. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**name** `required`|str|Name of the referent.|| +### SourceToolkitFluxcdIoV1GitRepositoryStatus + +GitRepositoryStatus records the observed state of a Git repository. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**artifact**|[SourceToolkitFluxcdIoV1GitRepositoryStatusArtifact](#sourcetoolkitfluxcdiov1gitrepositorystatusartifact)|artifact|| +|**conditions**|[[SourceToolkitFluxcdIoV1GitRepositoryStatusConditionsItems0](#sourcetoolkitfluxcdiov1gitrepositorystatusconditionsitems0)]|Conditions holds the conditions for the GitRepository.|| +|**includedArtifacts**|[[SourceToolkitFluxcdIoV1GitRepositoryStatusIncludedArtifactsItems0](#sourcetoolkitfluxcdiov1gitrepositorystatusincludedartifactsitems0)]|IncludedArtifacts contains a list of the last successfully included
Artifacts as instructed by GitRepositorySpec.Include.|| +|**lastHandledReconcileAt**|str|LastHandledReconcileAt holds the value of the most recent
reconcile request value, so a change of the annotation value
can be detected.|| +|**observedGeneration**|int|ObservedGeneration is the last observed generation of the GitRepository
object.|| +|**observedIgnore**|str|ObservedIgnore is the observed exclusion patterns used for constructing
the source artifact.|| +|**observedInclude**|[[SourceToolkitFluxcdIoV1GitRepositoryStatusObservedIncludeItems0](#sourcetoolkitfluxcdiov1gitrepositorystatusobservedincludeitems0)]|ObservedInclude is the observed list of GitRepository resources used to
produce the current Artifact.|| +|**observedRecurseSubmodules**|bool|ObservedRecurseSubmodules is the observed resource submodules
configuration used to produce the current Artifact.|| +|**sourceVerificationMode**|str|SourceVerificationMode is the last used verification mode indicating
which Git object(s) have been verified.|| +### SourceToolkitFluxcdIoV1GitRepositoryStatusArtifact + +Artifact represents the last successful GitRepository reconciliation. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**digest**|str|Digest is the digest of the file in the form of ':'.|| +|**lastUpdateTime** `required`|str|LastUpdateTime is the timestamp corresponding to the last update of the
Artifact.|| +|**metadata**|{str:str}|Metadata holds upstream information such as OCI annotations.|| +|**path** `required`|str|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** `required`|str|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**|int|Size is the number of bytes in the file.|| +|**url** `required`|str|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.|| +### SourceToolkitFluxcdIoV1GitRepositoryStatusConditionsItems0 + +Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` // other fields } + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**lastTransitionTime** `required`|str|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** `required`|str|message is a human readable message indicating details about the transition.
This may be an empty string.|| +|**observedGeneration**|int|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** `required`|str|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** `required`|"True" | "False" | "Unknown"|status of the condition, one of True, False, Unknown.|| +|**type** `required`|str||| +### SourceToolkitFluxcdIoV1GitRepositoryStatusIncludedArtifactsItems0 + +Artifact represents the output of a Source reconciliation. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**digest**|str|Digest is the digest of the file in the form of ':'.|| +|**lastUpdateTime** `required`|str|LastUpdateTime is the timestamp corresponding to the last update of the
Artifact.|| +|**metadata**|{str:str}|Metadata holds upstream information such as OCI annotations.|| +|**path** `required`|str|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** `required`|str|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**|int|Size is the number of bytes in the file.|| +|**url** `required`|str|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.|| +### SourceToolkitFluxcdIoV1GitRepositoryStatusObservedIncludeItems0 + +GitRepositoryInclude specifies a local reference to a GitRepository which Artifact (sub-)contents must be included, and where they should be placed. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**fromPath**|str|FromPath specifies the path to copy contents from, defaults to the root
of the Artifact.|| +|**repository** `required`|[SourceToolkitFluxcdIoV1GitRepositoryStatusObservedIncludeItems0Repository](#sourcetoolkitfluxcdiov1gitrepositorystatusobservedincludeitems0repository)|repository|| +|**toPath**|str|ToPath specifies the path to copy contents to, defaults to the name of
the GitRepositoryRef.|| +### SourceToolkitFluxcdIoV1GitRepositoryStatusObservedIncludeItems0Repository + +GitRepositoryRef specifies the GitRepository which Artifact contents must be included. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**name** `required`|str|Name of the referent.|| +### SourceToolkitFluxcdIoV1HelmChartSpec + +HelmChartSpec specifies the desired state of a Helm chart. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**chart** `required`|str|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** `required`|str|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.|"ChartVersion"| +|**sourceRef** `required`|[SourceToolkitFluxcdIoV1HelmChartSpecSourceRef](#sourcetoolkitfluxcdiov1helmchartspecsourceref)|source ref|| +|**suspend**|bool|Suspend tells the controller to suspend the reconciliation of this
source.|| +|**valuesFiles**|[str]|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**|[SourceToolkitFluxcdIoV1HelmChartSpecVerify](#sourcetoolkitfluxcdiov1helmchartspecverify)|verify|| +|**version**|str|Version is the chart version semver expression, ignored for charts from
GitRepository and Bucket sources. Defaults to latest when omitted.|"*"| +### SourceToolkitFluxcdIoV1HelmChartSpecSourceRef + +SourceRef is the reference to the Source the chart is available at. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**apiVersion**|str|APIVersion of the referent.|| +|**kind** `required`|"HelmRepository" | "GitRepository" | "Bucket"|Kind of the referent, valid values are ('HelmRepository', 'GitRepository',
'Bucket').|| +|**name** `required`|str|Name of the referent.|| +### SourceToolkitFluxcdIoV1HelmChartSpecVerify + +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. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**matchOIDCIdentity**|[[SourceToolkitFluxcdIoV1HelmChartSpecVerifyMatchOIDCIdentityItems0](#sourcetoolkitfluxcdiov1helmchartspecverifymatchoidcidentityitems0)]|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.|| +|**provider** `required`|"cosign" | "notation"|Provider specifies the technology used to sign the OCI Artifact.|"cosign"| +|**secretRef**|[SourceToolkitFluxcdIoV1HelmChartSpecVerifySecretRef](#sourcetoolkitfluxcdiov1helmchartspecverifysecretref)|secret ref|| +### SourceToolkitFluxcdIoV1HelmChartSpecVerifyMatchOIDCIdentityItems0 + +OIDCIdentityMatch specifies options for verifying the certificate identity, i.e. the issuer and the subject of the certificate. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**issuer** `required`|str|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** `required`|str|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.|| +### SourceToolkitFluxcdIoV1HelmChartSpecVerifySecretRef + +SecretRef specifies the Kubernetes Secret containing the trusted public keys. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**name** `required`|str|Name of the referent.|| +### SourceToolkitFluxcdIoV1HelmChartStatus + +HelmChartStatus records the observed state of the HelmChart. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**artifact**|[SourceToolkitFluxcdIoV1HelmChartStatusArtifact](#sourcetoolkitfluxcdiov1helmchartstatusartifact)|artifact|| +|**conditions**|[[SourceToolkitFluxcdIoV1HelmChartStatusConditionsItems0](#sourcetoolkitfluxcdiov1helmchartstatusconditionsitems0)]|Conditions holds the conditions for the HelmChart.|| +|**lastHandledReconcileAt**|str|LastHandledReconcileAt holds the value of the most recent
reconcile request value, so a change of the annotation value
can be detected.|| +|**observedChartName**|str|ObservedChartName is the last observed chart name as specified by the
resolved chart reference.|| +|**observedGeneration**|int|ObservedGeneration is the last observed generation of the HelmChart
object.|| +|**observedSourceArtifactRevision**|str|ObservedSourceArtifactRevision is the last observed Artifact.Revision
of the HelmChartSpec.SourceRef.|| +|**observedValuesFiles**|[str]|ObservedValuesFiles are the observed value files of the last successful
reconciliation.
It matches the chart in the last successfully reconciled artifact.|| +|**url**|str|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.|| +### SourceToolkitFluxcdIoV1HelmChartStatusArtifact + +Artifact represents the output of the last successful reconciliation. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**digest**|str|Digest is the digest of the file in the form of ':'.|| +|**lastUpdateTime** `required`|str|LastUpdateTime is the timestamp corresponding to the last update of the
Artifact.|| +|**metadata**|{str:str}|Metadata holds upstream information such as OCI annotations.|| +|**path** `required`|str|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** `required`|str|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**|int|Size is the number of bytes in the file.|| +|**url** `required`|str|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.|| +### SourceToolkitFluxcdIoV1HelmChartStatusConditionsItems0 + +Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` // other fields } + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**lastTransitionTime** `required`|str|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** `required`|str|message is a human readable message indicating details about the transition.
This may be an empty string.|| +|**observedGeneration**|int|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** `required`|str|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** `required`|"True" | "False" | "Unknown"|status of the condition, one of True, False, Unknown.|| +|**type** `required`|str||| +### SourceToolkitFluxcdIoV1HelmRepositorySpec + +HelmRepositorySpec specifies the required configuration to produce an Artifact for a Helm repository index YAML. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**accessFrom**|[SourceToolkitFluxcdIoV1HelmRepositorySpecAccessFrom](#sourcetoolkitfluxcdiov1helmrepositoryspecaccessfrom)|access from|| +|**certSecretRef**|[SourceToolkitFluxcdIoV1HelmRepositorySpecCertSecretRef](#sourcetoolkitfluxcdiov1helmrepositoryspeccertsecretref)|cert secret ref|| +|**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**|str|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'.|"generic"| +|**secretRef**|[SourceToolkitFluxcdIoV1HelmRepositorySpecSecretRef](#sourcetoolkitfluxcdiov1helmrepositoryspecsecretref)|secret ref|| +|**suspend**|bool|Suspend tells the controller to suspend the reconciliation of this
HelmRepository.|| +|**timeout**|str|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"||| +|**url** `required`|str|URL of the Helm repository, a valid URL contains at least a protocol and
host.|| +### SourceToolkitFluxcdIoV1HelmRepositorySpecAccessFrom + +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 + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**namespaceSelectors** `required`|[[SourceToolkitFluxcdIoV1HelmRepositorySpecAccessFromNamespaceSelectorsItems0](#sourcetoolkitfluxcdiov1helmrepositoryspecaccessfromnamespaceselectorsitems0)]|NamespaceSelectors is the list of namespace selectors to which this ACL applies.
Items in this list are evaluated using a logical OR operation.|| +### SourceToolkitFluxcdIoV1HelmRepositorySpecAccessFromNamespaceSelectorsItems0 + +NamespaceSelector selects the namespaces to which this ACL applies. An empty map of MatchLabels matches all namespaces in a cluster. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**matchLabels**|{str:str}|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.|| +### SourceToolkitFluxcdIoV1HelmRepositorySpecCertSecretRef + +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`. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**name** `required`|str|Name of the referent.|| +### SourceToolkitFluxcdIoV1HelmRepositorySpecSecretRef + +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. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**name** `required`|str|Name of the referent.|| +### SourceToolkitFluxcdIoV1HelmRepositoryStatus + +HelmRepositoryStatus records the observed state of the HelmRepository. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**artifact**|[SourceToolkitFluxcdIoV1HelmRepositoryStatusArtifact](#sourcetoolkitfluxcdiov1helmrepositorystatusartifact)|artifact|| +|**conditions**|[[SourceToolkitFluxcdIoV1HelmRepositoryStatusConditionsItems0](#sourcetoolkitfluxcdiov1helmrepositorystatusconditionsitems0)]|Conditions holds the conditions for the HelmRepository.|| +|**lastHandledReconcileAt**|str|LastHandledReconcileAt holds the value of the most recent
reconcile request value, so a change of the annotation value
can be detected.|| +|**observedGeneration**|int|ObservedGeneration is the last observed generation of the HelmRepository
object.|| +|**url**|str|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.|| +### SourceToolkitFluxcdIoV1HelmRepositoryStatusArtifact + +Artifact represents the last successful HelmRepository reconciliation. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**digest**|str|Digest is the digest of the file in the form of ':'.|| +|**lastUpdateTime** `required`|str|LastUpdateTime is the timestamp corresponding to the last update of the
Artifact.|| +|**metadata**|{str:str}|Metadata holds upstream information such as OCI annotations.|| +|**path** `required`|str|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** `required`|str|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**|int|Size is the number of bytes in the file.|| +|**url** `required`|str|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.|| +### SourceToolkitFluxcdIoV1HelmRepositoryStatusConditionsItems0 + +Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` // other fields } + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**lastTransitionTime** `required`|str|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** `required`|str|message is a human readable message indicating details about the transition.
This may be an empty string.|| +|**observedGeneration**|int|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** `required`|str|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** `required`|"True" | "False" | "Unknown"|status of the condition, one of True, False, Unknown.|| +|**type** `required`|str||| +### Bucket + +Bucket is the Schema for the buckets API + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**apiVersion** `required` `readOnly`|"source.toolkit.fluxcd.io/v1beta1"|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|"source.toolkit.fluxcd.io/v1beta1"| +|**kind** `required` `readOnly`|"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|"Bucket"| +|**metadata**|[ObjectMeta](#objectmeta)|metadata|| +|**spec**|[SourceToolkitFluxcdIoV1beta1BucketSpec](#sourcetoolkitfluxcdiov1beta1bucketspec)|spec|| +|**status**|[SourceToolkitFluxcdIoV1beta1BucketStatus](#sourcetoolkitfluxcdiov1beta1bucketstatus)|status|| +### GitRepository + +GitRepository is the Schema for the gitrepositories API + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**apiVersion** `required` `readOnly`|"source.toolkit.fluxcd.io/v1beta1"|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|"source.toolkit.fluxcd.io/v1beta1"| +|**kind** `required` `readOnly`|"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|"GitRepository"| +|**metadata**|[ObjectMeta](#objectmeta)|metadata|| +|**spec**|[SourceToolkitFluxcdIoV1beta1GitRepositorySpec](#sourcetoolkitfluxcdiov1beta1gitrepositoryspec)|spec|| +|**status**|[SourceToolkitFluxcdIoV1beta1GitRepositoryStatus](#sourcetoolkitfluxcdiov1beta1gitrepositorystatus)|status|| +### HelmChart + +HelmChart is the Schema for the helmcharts API + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**apiVersion** `required` `readOnly`|"source.toolkit.fluxcd.io/v1beta1"|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|"source.toolkit.fluxcd.io/v1beta1"| +|**kind** `required` `readOnly`|"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|"HelmChart"| +|**metadata**|[ObjectMeta](#objectmeta)|metadata|| +|**spec**|[SourceToolkitFluxcdIoV1beta1HelmChartSpec](#sourcetoolkitfluxcdiov1beta1helmchartspec)|spec|| +|**status**|[SourceToolkitFluxcdIoV1beta1HelmChartStatus](#sourcetoolkitfluxcdiov1beta1helmchartstatus)|status|| +### HelmRepository + +HelmRepository is the Schema for the helmrepositories API + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**apiVersion** `required` `readOnly`|"source.toolkit.fluxcd.io/v1beta1"|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|"source.toolkit.fluxcd.io/v1beta1"| +|**kind** `required` `readOnly`|"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|"HelmRepository"| +|**metadata**|[ObjectMeta](#objectmeta)|metadata|| +|**spec**|[SourceToolkitFluxcdIoV1beta1HelmRepositorySpec](#sourcetoolkitfluxcdiov1beta1helmrepositoryspec)|spec|| +|**status**|[SourceToolkitFluxcdIoV1beta1HelmRepositoryStatus](#sourcetoolkitfluxcdiov1beta1helmrepositorystatus)|status|| +### SourceToolkitFluxcdIoV1beta1BucketSpec + +BucketSpec defines the desired state of an S3 compatible bucket + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**accessFrom**|[SourceToolkitFluxcdIoV1beta1BucketSpecAccessFrom](#sourcetoolkitfluxcdiov1beta1bucketspecaccessfrom)|access from|| +|**bucketName** `required`|str|The bucket name.|| +|**endpoint** `required`|str|The bucket endpoint address.|| +|**ignore**|str|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 S3 HTTP endpoint.|| +|**interval** `required`|str|The interval at which to check for bucket updates.|| +|**provider**|"generic" | "aws" | "gcp"|The S3 compatible storage provider name, default ('generic').|"generic"| +|**region**|str|The bucket region.|| +|**secretRef**|[SourceToolkitFluxcdIoV1beta1BucketSpecSecretRef](#sourcetoolkitfluxcdiov1beta1bucketspecsecretref)|secret ref|| +|**suspend**|bool|This flag tells the controller to suspend the reconciliation of this source.|| +|**timeout**|str|The timeout for download operations, defaults to 60s.|"60s"| +### SourceToolkitFluxcdIoV1beta1BucketSpecAccessFrom + +AccessFrom defines an Access Control List for allowing cross-namespace references to this object. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**namespaceSelectors** `required`|[[SourceToolkitFluxcdIoV1beta1BucketSpecAccessFromNamespaceSelectorsItems0](#sourcetoolkitfluxcdiov1beta1bucketspecaccessfromnamespaceselectorsitems0)]|NamespaceSelectors is the list of namespace selectors to which this ACL applies.
Items in this list are evaluated using a logical OR operation.|| +### SourceToolkitFluxcdIoV1beta1BucketSpecAccessFromNamespaceSelectorsItems0 + +NamespaceSelector selects the namespaces to which this ACL applies. An empty map of MatchLabels matches all namespaces in a cluster. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**matchLabels**|{str:str}|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.|| +### SourceToolkitFluxcdIoV1beta1BucketSpecSecretRef + +The name of the secret containing authentication credentials for the Bucket. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**name** `required`|str|Name of the referent.|| +### SourceToolkitFluxcdIoV1beta1BucketStatus + +BucketStatus defines the observed state of a bucket + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**artifact**|[SourceToolkitFluxcdIoV1beta1BucketStatusArtifact](#sourcetoolkitfluxcdiov1beta1bucketstatusartifact)|artifact|| +|**conditions**|[[SourceToolkitFluxcdIoV1beta1BucketStatusConditionsItems0](#sourcetoolkitfluxcdiov1beta1bucketstatusconditionsitems0)]|Conditions holds the conditions for the Bucket.|| +|**lastHandledReconcileAt**|str|LastHandledReconcileAt holds the value of the most recent
reconcile request value, so a change of the annotation value
can be detected.|| +|**observedGeneration**|int|ObservedGeneration is the last observed generation.|| +|**url**|str|URL is the download link for the artifact output of the last Bucket sync.|| +### SourceToolkitFluxcdIoV1beta1BucketStatusArtifact + +Artifact represents the output of the last successful Bucket sync. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**checksum**|str|Checksum is the SHA256 checksum of the artifact.|| +|**lastUpdateTime**|str|LastUpdateTime is the timestamp corresponding to the last update of this
artifact.|| +|**path** `required`|str|Path is the relative file path of this artifact.|| +|**revision**|str|Revision is a human readable identifier traceable in the origin source
system. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm
chart version, etc.|| +|**url** `required`|str|URL is the HTTP address of this artifact.|| +### SourceToolkitFluxcdIoV1beta1BucketStatusConditionsItems0 + +Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` // other fields } + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**lastTransitionTime** `required`|str|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** `required`|str|message is a human readable message indicating details about the transition.
This may be an empty string.|| +|**observedGeneration**|int|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** `required`|str|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** `required`|"True" | "False" | "Unknown"|status of the condition, one of True, False, Unknown.|| +|**type** `required`|str||| +### SourceToolkitFluxcdIoV1beta1GitRepositorySpec + +GitRepositorySpec defines the desired state of a Git repository. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**accessFrom**|[SourceToolkitFluxcdIoV1beta1GitRepositorySpecAccessFrom](#sourcetoolkitfluxcdiov1beta1gitrepositoryspecaccessfrom)|access from|| +|**gitImplementation**|"go-git" | "libgit2"|Determines which git client library to use.
Defaults to go-git, valid values are ('go-git', 'libgit2').|"go-git"| +|**ignore**|str|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**|[[SourceToolkitFluxcdIoV1beta1GitRepositorySpecIncludeItems0](#sourcetoolkitfluxcdiov1beta1gitrepositoryspecincludeitems0)]|Extra git repositories to map into the repository|| +|**interval** `required`|str|The interval at which to check for repository updates.|| +|**recurseSubmodules**|bool|When enabled, after the clone is created, initializes all submodules within,
using their default settings.
This option is available only when using the 'go-git' GitImplementation.|| +|**ref**|[SourceToolkitFluxcdIoV1beta1GitRepositorySpecRef](#sourcetoolkitfluxcdiov1beta1gitrepositoryspecref)|ref|| +|**secretRef**|[SourceToolkitFluxcdIoV1beta1GitRepositorySpecSecretRef](#sourcetoolkitfluxcdiov1beta1gitrepositoryspecsecretref)|secret ref|| +|**suspend**|bool|This flag tells the controller to suspend the reconciliation of this source.|| +|**timeout**|str|The timeout for remote Git operations like cloning, defaults to 60s.|"60s"| +|**url** `required`|str|The repository URL, can be a HTTP/S or SSH address.|| +|**verify**|[SourceToolkitFluxcdIoV1beta1GitRepositorySpecVerify](#sourcetoolkitfluxcdiov1beta1gitrepositoryspecverify)|verify|| +### SourceToolkitFluxcdIoV1beta1GitRepositorySpecAccessFrom + +AccessFrom defines an Access Control List for allowing cross-namespace references to this object. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**namespaceSelectors** `required`|[[SourceToolkitFluxcdIoV1beta1GitRepositorySpecAccessFromNamespaceSelectorsItems0](#sourcetoolkitfluxcdiov1beta1gitrepositoryspecaccessfromnamespaceselectorsitems0)]|NamespaceSelectors is the list of namespace selectors to which this ACL applies.
Items in this list are evaluated using a logical OR operation.|| +### SourceToolkitFluxcdIoV1beta1GitRepositorySpecAccessFromNamespaceSelectorsItems0 + +NamespaceSelector selects the namespaces to which this ACL applies. An empty map of MatchLabels matches all namespaces in a cluster. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**matchLabels**|{str:str}|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.|| +### SourceToolkitFluxcdIoV1beta1GitRepositorySpecIncludeItems0 + +GitRepositoryInclude defines a source with a from and to path. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**fromPath**|str|The path to copy contents from, defaults to the root directory.|| +|**repository** `required`|[SourceToolkitFluxcdIoV1beta1GitRepositorySpecIncludeItems0Repository](#sourcetoolkitfluxcdiov1beta1gitrepositoryspecincludeitems0repository)|repository|| +|**toPath**|str|The path to copy contents to, defaults to the name of the source ref.|| +### SourceToolkitFluxcdIoV1beta1GitRepositorySpecIncludeItems0Repository + +Reference to a GitRepository to include. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**name** `required`|str|Name of the referent.|| +### SourceToolkitFluxcdIoV1beta1GitRepositorySpecRef + +The Git reference to checkout and monitor for changes, defaults to master branch. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**branch**|str|The Git branch to checkout, defaults to master.|| +|**commit**|str|The Git commit SHA to checkout, if specified Tag filters will be ignored.|| +|**semver**|str|The Git tag semver expression, takes precedence over Tag.|| +|**tag**|str|The Git tag to checkout, takes precedence over Branch.|| +### SourceToolkitFluxcdIoV1beta1GitRepositorySpecSecretRef + +The secret name containing the Git credentials. For HTTPS repositories the secret must contain username and password fields. For SSH repositories the secret must contain identity and known_hosts fields. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**name** `required`|str|Name of the referent.|| +### SourceToolkitFluxcdIoV1beta1GitRepositorySpecVerify + +Verify OpenPGP signature for the Git commit HEAD points to. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**mode** `required` `readOnly`|"head"|Mode describes what git object should be verified, currently ('head').|"head"| +|**secretRef**|[SourceToolkitFluxcdIoV1beta1GitRepositorySpecVerifySecretRef](#sourcetoolkitfluxcdiov1beta1gitrepositoryspecverifysecretref)|secret ref|| +### SourceToolkitFluxcdIoV1beta1GitRepositorySpecVerifySecretRef + +The secret name containing the public keys of all trusted Git authors. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**name** `required`|str|Name of the referent.|| +### SourceToolkitFluxcdIoV1beta1GitRepositoryStatus + +GitRepositoryStatus defines the observed state of a Git repository. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**artifact**|[SourceToolkitFluxcdIoV1beta1GitRepositoryStatusArtifact](#sourcetoolkitfluxcdiov1beta1gitrepositorystatusartifact)|artifact|| +|**conditions**|[[SourceToolkitFluxcdIoV1beta1GitRepositoryStatusConditionsItems0](#sourcetoolkitfluxcdiov1beta1gitrepositorystatusconditionsitems0)]|Conditions holds the conditions for the GitRepository.|| +|**includedArtifacts**|[[SourceToolkitFluxcdIoV1beta1GitRepositoryStatusIncludedArtifactsItems0](#sourcetoolkitfluxcdiov1beta1gitrepositorystatusincludedartifactsitems0)]|IncludedArtifacts represents the included artifacts from the last successful repository sync.|| +|**lastHandledReconcileAt**|str|LastHandledReconcileAt holds the value of the most recent
reconcile request value, so a change of the annotation value
can be detected.|| +|**observedGeneration**|int|ObservedGeneration is the last observed generation.|| +|**url**|str|URL is the download link for the artifact output of the last repository
sync.|| +### SourceToolkitFluxcdIoV1beta1GitRepositoryStatusArtifact + +Artifact represents the output of the last successful repository sync. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**checksum**|str|Checksum is the SHA256 checksum of the artifact.|| +|**lastUpdateTime**|str|LastUpdateTime is the timestamp corresponding to the last update of this
artifact.|| +|**path** `required`|str|Path is the relative file path of this artifact.|| +|**revision**|str|Revision is a human readable identifier traceable in the origin source
system. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm
chart version, etc.|| +|**url** `required`|str|URL is the HTTP address of this artifact.|| +### SourceToolkitFluxcdIoV1beta1GitRepositoryStatusConditionsItems0 + +Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` // other fields } + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**lastTransitionTime** `required`|str|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** `required`|str|message is a human readable message indicating details about the transition.
This may be an empty string.|| +|**observedGeneration**|int|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** `required`|str|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** `required`|"True" | "False" | "Unknown"|status of the condition, one of True, False, Unknown.|| +|**type** `required`|str||| +### SourceToolkitFluxcdIoV1beta1GitRepositoryStatusIncludedArtifactsItems0 + +Artifact represents the output of a source synchronisation. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**checksum**|str|Checksum is the SHA256 checksum of the artifact.|| +|**lastUpdateTime**|str|LastUpdateTime is the timestamp corresponding to the last update of this
artifact.|| +|**path** `required`|str|Path is the relative file path of this artifact.|| +|**revision**|str|Revision is a human readable identifier traceable in the origin source
system. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm
chart version, etc.|| +|**url** `required`|str|URL is the HTTP address of this artifact.|| +### SourceToolkitFluxcdIoV1beta1HelmChartSpec + +HelmChartSpec defines the desired state of a Helm chart. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**accessFrom**|[SourceToolkitFluxcdIoV1beta1HelmChartSpecAccessFrom](#sourcetoolkitfluxcdiov1beta1helmchartspecaccessfrom)|access from|| +|**chart** `required`|str|The name or path the Helm chart is available at in the SourceRef.|| +|**interval** `required`|str|The interval at which to check the Source for updates.|| +|**reconcileStrategy**|"ChartVersion" | "Revision"|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.|"ChartVersion"| +|**sourceRef** `required`|[SourceToolkitFluxcdIoV1beta1HelmChartSpecSourceRef](#sourcetoolkitfluxcdiov1beta1helmchartspecsourceref)|source ref|| +|**suspend**|bool|This flag tells the controller to suspend the reconciliation of this source.|| +|**valuesFile**|str|Alternative values file to use as the default chart values, expected to
be a relative path in the SourceRef. Deprecated in favor of ValuesFiles,
for backwards compatibility the file defined here is merged before the
ValuesFiles items. Ignored when omitted.|| +|**valuesFiles**|[str]|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.|| +|**version**|str|The chart version semver expression, ignored for charts from GitRepository
and Bucket sources. Defaults to latest when omitted.|"*"| +### SourceToolkitFluxcdIoV1beta1HelmChartSpecAccessFrom + +AccessFrom defines an Access Control List for allowing cross-namespace references to this object. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**namespaceSelectors** `required`|[[SourceToolkitFluxcdIoV1beta1HelmChartSpecAccessFromNamespaceSelectorsItems0](#sourcetoolkitfluxcdiov1beta1helmchartspecaccessfromnamespaceselectorsitems0)]|NamespaceSelectors is the list of namespace selectors to which this ACL applies.
Items in this list are evaluated using a logical OR operation.|| +### SourceToolkitFluxcdIoV1beta1HelmChartSpecAccessFromNamespaceSelectorsItems0 + +NamespaceSelector selects the namespaces to which this ACL applies. An empty map of MatchLabels matches all namespaces in a cluster. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**matchLabels**|{str:str}|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.|| +### SourceToolkitFluxcdIoV1beta1HelmChartSpecSourceRef + +The reference to the Source the chart is available at. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**apiVersion**|str|APIVersion of the referent.|| +|**kind** `required`|"HelmRepository" | "GitRepository" | "Bucket"|Kind of the referent, valid values are ('HelmRepository', 'GitRepository',
'Bucket').|| +|**name** `required`|str|Name of the referent.|| +### SourceToolkitFluxcdIoV1beta1HelmChartStatus + +HelmChartStatus defines the observed state of the HelmChart. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**artifact**|[SourceToolkitFluxcdIoV1beta1HelmChartStatusArtifact](#sourcetoolkitfluxcdiov1beta1helmchartstatusartifact)|artifact|| +|**conditions**|[[SourceToolkitFluxcdIoV1beta1HelmChartStatusConditionsItems0](#sourcetoolkitfluxcdiov1beta1helmchartstatusconditionsitems0)]|Conditions holds the conditions for the HelmChart.|| +|**lastHandledReconcileAt**|str|LastHandledReconcileAt holds the value of the most recent
reconcile request value, so a change of the annotation value
can be detected.|| +|**observedGeneration**|int|ObservedGeneration is the last observed generation.|| +|**url**|str|URL is the download link for the last chart pulled.|| +### SourceToolkitFluxcdIoV1beta1HelmChartStatusArtifact + +Artifact represents the output of the last successful chart sync. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**checksum**|str|Checksum is the SHA256 checksum of the artifact.|| +|**lastUpdateTime**|str|LastUpdateTime is the timestamp corresponding to the last update of this
artifact.|| +|**path** `required`|str|Path is the relative file path of this artifact.|| +|**revision**|str|Revision is a human readable identifier traceable in the origin source
system. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm
chart version, etc.|| +|**url** `required`|str|URL is the HTTP address of this artifact.|| +### SourceToolkitFluxcdIoV1beta1HelmChartStatusConditionsItems0 + +Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` // other fields } + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**lastTransitionTime** `required`|str|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** `required`|str|message is a human readable message indicating details about the transition.
This may be an empty string.|| +|**observedGeneration**|int|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** `required`|str|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** `required`|"True" | "False" | "Unknown"|status of the condition, one of True, False, Unknown.|| +|**type** `required`|str||| +### SourceToolkitFluxcdIoV1beta1HelmRepositorySpec + +HelmRepositorySpec defines the reference to a Helm repository. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**accessFrom**|[SourceToolkitFluxcdIoV1beta1HelmRepositorySpecAccessFrom](#sourcetoolkitfluxcdiov1beta1helmrepositoryspecaccessfrom)|access from|| +|**interval** `required`|str|The interval at which to check the upstream for updates.|| +|**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.|| +|**secretRef**|[SourceToolkitFluxcdIoV1beta1HelmRepositorySpecSecretRef](#sourcetoolkitfluxcdiov1beta1helmrepositoryspecsecretref)|secret ref|| +|**suspend**|bool|This flag tells the controller to suspend the reconciliation of this source.|| +|**timeout**|str|The timeout of index downloading, defaults to 60s.|"60s"| +|**url** `required`|str|The Helm repository URL, a valid URL contains at least a protocol and host.|| +### SourceToolkitFluxcdIoV1beta1HelmRepositorySpecAccessFrom + +AccessFrom defines an Access Control List for allowing cross-namespace references to this object. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**namespaceSelectors** `required`|[[SourceToolkitFluxcdIoV1beta1HelmRepositorySpecAccessFromNamespaceSelectorsItems0](#sourcetoolkitfluxcdiov1beta1helmrepositoryspecaccessfromnamespaceselectorsitems0)]|NamespaceSelectors is the list of namespace selectors to which this ACL applies.
Items in this list are evaluated using a logical OR operation.|| +### SourceToolkitFluxcdIoV1beta1HelmRepositorySpecAccessFromNamespaceSelectorsItems0 + +NamespaceSelector selects the namespaces to which this ACL applies. An empty map of MatchLabels matches all namespaces in a cluster. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**matchLabels**|{str:str}|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.|| +### SourceToolkitFluxcdIoV1beta1HelmRepositorySpecSecretRef + +The name of the secret containing authentication credentials for the Helm repository. For HTTP/S basic auth the secret must contain username and password fields. For TLS the secret must contain a certFile and keyFile, and/or caFile fields. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**name** `required`|str|Name of the referent.|| +### SourceToolkitFluxcdIoV1beta1HelmRepositoryStatus + +HelmRepositoryStatus defines the observed state of the HelmRepository. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**artifact**|[SourceToolkitFluxcdIoV1beta1HelmRepositoryStatusArtifact](#sourcetoolkitfluxcdiov1beta1helmrepositorystatusartifact)|artifact|| +|**conditions**|[[SourceToolkitFluxcdIoV1beta1HelmRepositoryStatusConditionsItems0](#sourcetoolkitfluxcdiov1beta1helmrepositorystatusconditionsitems0)]|Conditions holds the conditions for the HelmRepository.|| +|**lastHandledReconcileAt**|str|LastHandledReconcileAt holds the value of the most recent
reconcile request value, so a change of the annotation value
can be detected.|| +|**observedGeneration**|int|ObservedGeneration is the last observed generation.|| +|**url**|str|URL is the download link for the last index fetched.|| +### SourceToolkitFluxcdIoV1beta1HelmRepositoryStatusArtifact + +Artifact represents the output of the last successful repository sync. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**checksum**|str|Checksum is the SHA256 checksum of the artifact.|| +|**lastUpdateTime**|str|LastUpdateTime is the timestamp corresponding to the last update of this
artifact.|| +|**path** `required`|str|Path is the relative file path of this artifact.|| +|**revision**|str|Revision is a human readable identifier traceable in the origin source
system. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm
chart version, etc.|| +|**url** `required`|str|URL is the HTTP address of this artifact.|| +### SourceToolkitFluxcdIoV1beta1HelmRepositoryStatusConditionsItems0 + +Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` // other fields } + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**lastTransitionTime** `required`|str|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** `required`|str|message is a human readable message indicating details about the transition.
This may be an empty string.|| +|**observedGeneration**|int|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** `required`|str|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** `required`|"True" | "False" | "Unknown"|status of the condition, one of True, False, Unknown.|| +|**type** `required`|str||| +### Bucket + +Bucket is the Schema for the buckets API. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**apiVersion** `required` `readOnly`|"source.toolkit.fluxcd.io/v1beta2"|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|"source.toolkit.fluxcd.io/v1beta2"| +|**kind** `required` `readOnly`|"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|"Bucket"| +|**metadata**|[ObjectMeta](#objectmeta)|metadata|| +|**spec**|[SourceToolkitFluxcdIoV1beta2BucketSpec](#sourcetoolkitfluxcdiov1beta2bucketspec)|spec|| +|**status**|[SourceToolkitFluxcdIoV1beta2BucketStatus](#sourcetoolkitfluxcdiov1beta2bucketstatus)|status|| +### GitRepository + +GitRepository is the Schema for the gitrepositories API. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**apiVersion** `required` `readOnly`|"source.toolkit.fluxcd.io/v1beta2"|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|"source.toolkit.fluxcd.io/v1beta2"| +|**kind** `required` `readOnly`|"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|"GitRepository"| +|**metadata**|[ObjectMeta](#objectmeta)|metadata|| +|**spec**|[SourceToolkitFluxcdIoV1beta2GitRepositorySpec](#sourcetoolkitfluxcdiov1beta2gitrepositoryspec)|spec|| +|**status**|[SourceToolkitFluxcdIoV1beta2GitRepositoryStatus](#sourcetoolkitfluxcdiov1beta2gitrepositorystatus)|status|| +### HelmChart + +HelmChart is the Schema for the helmcharts API. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**apiVersion** `required` `readOnly`|"source.toolkit.fluxcd.io/v1beta2"|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|"source.toolkit.fluxcd.io/v1beta2"| +|**kind** `required` `readOnly`|"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|"HelmChart"| +|**metadata**|[ObjectMeta](#objectmeta)|metadata|| +|**spec**|[SourceToolkitFluxcdIoV1beta2HelmChartSpec](#sourcetoolkitfluxcdiov1beta2helmchartspec)|spec|| +|**status**|[SourceToolkitFluxcdIoV1beta2HelmChartStatus](#sourcetoolkitfluxcdiov1beta2helmchartstatus)|status|| +### HelmRepository + +HelmRepository is the Schema for the helmrepositories API. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**apiVersion** `required` `readOnly`|"source.toolkit.fluxcd.io/v1beta2"|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|"source.toolkit.fluxcd.io/v1beta2"| +|**kind** `required` `readOnly`|"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|"HelmRepository"| +|**metadata**|[ObjectMeta](#objectmeta)|metadata|| +|**spec**|[SourceToolkitFluxcdIoV1beta2HelmRepositorySpec](#sourcetoolkitfluxcdiov1beta2helmrepositoryspec)|spec|| +|**status**|[SourceToolkitFluxcdIoV1beta2HelmRepositoryStatus](#sourcetoolkitfluxcdiov1beta2helmrepositorystatus)|status|| +### OCIRepository + +OCIRepository is the Schema for the ocirepositories API + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**apiVersion** `required` `readOnly`|"source.toolkit.fluxcd.io/v1beta2"|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|"source.toolkit.fluxcd.io/v1beta2"| +|**kind** `required` `readOnly`|"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|"OCIRepository"| +|**metadata**|[ObjectMeta](#objectmeta)|metadata|| +|**spec**|[SourceToolkitFluxcdIoV1beta2OCIRepositorySpec](#sourcetoolkitfluxcdiov1beta2ocirepositoryspec)|spec|| +|**status**|[SourceToolkitFluxcdIoV1beta2OCIRepositoryStatus](#sourcetoolkitfluxcdiov1beta2ocirepositorystatus)|status|| +### SourceToolkitFluxcdIoV1beta2BucketSpec + +BucketSpec specifies the required configuration to produce an Artifact for an object storage bucket. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**accessFrom**|[SourceToolkitFluxcdIoV1beta2BucketSpecAccessFrom](#sourcetoolkitfluxcdiov1beta2bucketspecaccessfrom)|access from|| +|**bucketName** `required`|str|BucketName is the name of the object storage bucket.|| +|**endpoint** `required`|str|Endpoint is the object storage address the BucketName is located at.|| +|**ignore**|str|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** `required`|str|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**|str|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.|"generic"| +|**region**|str|Region of the Endpoint where the BucketName is located in.|| +|**secretRef**|[SourceToolkitFluxcdIoV1beta2BucketSpecSecretRef](#sourcetoolkitfluxcdiov1beta2bucketspecsecretref)|secret ref|| +|**suspend**|bool|Suspend tells the controller to suspend the reconciliation of this
Bucket.|| +|**timeout**|str|Timeout for fetch operations, defaults to 60s.|"60s"| +### SourceToolkitFluxcdIoV1beta2BucketSpecAccessFrom + +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 + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**namespaceSelectors** `required`|[[SourceToolkitFluxcdIoV1beta2BucketSpecAccessFromNamespaceSelectorsItems0](#sourcetoolkitfluxcdiov1beta2bucketspecaccessfromnamespaceselectorsitems0)]|NamespaceSelectors is the list of namespace selectors to which this ACL applies.
Items in this list are evaluated using a logical OR operation.|| +### SourceToolkitFluxcdIoV1beta2BucketSpecAccessFromNamespaceSelectorsItems0 + +NamespaceSelector selects the namespaces to which this ACL applies. An empty map of MatchLabels matches all namespaces in a cluster. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**matchLabels**|{str:str}|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.|| +### SourceToolkitFluxcdIoV1beta2BucketSpecSecretRef + +SecretRef specifies the Secret containing authentication credentials for the Bucket. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**name** `required`|str|Name of the referent.|| +### SourceToolkitFluxcdIoV1beta2BucketStatus + +BucketStatus records the observed state of a Bucket. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**artifact**|[SourceToolkitFluxcdIoV1beta2BucketStatusArtifact](#sourcetoolkitfluxcdiov1beta2bucketstatusartifact)|artifact|| +|**conditions**|[[SourceToolkitFluxcdIoV1beta2BucketStatusConditionsItems0](#sourcetoolkitfluxcdiov1beta2bucketstatusconditionsitems0)]|Conditions holds the conditions for the Bucket.|| +|**lastHandledReconcileAt**|str|LastHandledReconcileAt holds the value of the most recent
reconcile request value, so a change of the annotation value
can be detected.|| +|**observedGeneration**|int|ObservedGeneration is the last observed generation of the Bucket object.|| +|**observedIgnore**|str|ObservedIgnore is the observed exclusion patterns used for constructing
the source artifact.|| +|**url**|str|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.|| +### SourceToolkitFluxcdIoV1beta2BucketStatusArtifact + +Artifact represents the last successful Bucket reconciliation. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**digest**|str|Digest is the digest of the file in the form of ':'.|| +|**lastUpdateTime** `required`|str|LastUpdateTime is the timestamp corresponding to the last update of the
Artifact.|| +|**metadata**|{str:str}|Metadata holds upstream information such as OCI annotations.|| +|**path** `required`|str|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** `required`|str|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**|int|Size is the number of bytes in the file.|| +|**url** `required`|str|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.|| +### SourceToolkitFluxcdIoV1beta2BucketStatusConditionsItems0 + +Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` // other fields } + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**lastTransitionTime** `required`|str|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** `required`|str|message is a human readable message indicating details about the transition.
This may be an empty string.|| +|**observedGeneration**|int|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** `required`|str|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** `required`|"True" | "False" | "Unknown"|status of the condition, one of True, False, Unknown.|| +|**type** `required`|str||| +### SourceToolkitFluxcdIoV1beta2GitRepositorySpec + +GitRepositorySpec specifies the required configuration to produce an Artifact for a Git repository. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**accessFrom**|[SourceToolkitFluxcdIoV1beta2GitRepositorySpecAccessFrom](#sourcetoolkitfluxcdiov1beta2gitrepositoryspecaccessfrom)|access from|| +|**gitImplementation**|"go-git" | "libgit2"|GitImplementation specifies which Git client library implementation to
use. Defaults to 'go-git', valid values are ('go-git', 'libgit2').
Deprecated: gitImplementation is deprecated now that 'go-git' is the
only supported implementation.|"go-git"| +|**ignore**|str|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**|[[SourceToolkitFluxcdIoV1beta2GitRepositorySpecIncludeItems0](#sourcetoolkitfluxcdiov1beta2gitrepositoryspecincludeitems0)]|Include specifies a list of GitRepository resources which Artifacts
should be included in the Artifact produced for this GitRepository.|| +|**interval** `required`|str|Interval at which to check the GitRepository for updates.|| +|**recurseSubmodules**|bool|RecurseSubmodules enables the initialization of all submodules within
the GitRepository as cloned from the URL, using their default settings.|| +|**ref**|[SourceToolkitFluxcdIoV1beta2GitRepositorySpecRef](#sourcetoolkitfluxcdiov1beta2gitrepositoryspecref)|ref|| +|**secretRef**|[SourceToolkitFluxcdIoV1beta2GitRepositorySpecSecretRef](#sourcetoolkitfluxcdiov1beta2gitrepositoryspecsecretref)|secret ref|| +|**suspend**|bool|Suspend tells the controller to suspend the reconciliation of this
GitRepository.|| +|**timeout**|str|Timeout for Git operations like cloning, defaults to 60s.|"60s"| +|**url** `required`|str|URL specifies the Git repository URL, it can be an HTTP/S or SSH address.|| +|**verify**|[SourceToolkitFluxcdIoV1beta2GitRepositorySpecVerify](#sourcetoolkitfluxcdiov1beta2gitrepositoryspecverify)|verify|| +### SourceToolkitFluxcdIoV1beta2GitRepositorySpecAccessFrom + +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 + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**namespaceSelectors** `required`|[[SourceToolkitFluxcdIoV1beta2GitRepositorySpecAccessFromNamespaceSelectorsItems0](#sourcetoolkitfluxcdiov1beta2gitrepositoryspecaccessfromnamespaceselectorsitems0)]|NamespaceSelectors is the list of namespace selectors to which this ACL applies.
Items in this list are evaluated using a logical OR operation.|| +### SourceToolkitFluxcdIoV1beta2GitRepositorySpecAccessFromNamespaceSelectorsItems0 + +NamespaceSelector selects the namespaces to which this ACL applies. An empty map of MatchLabels matches all namespaces in a cluster. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**matchLabels**|{str:str}|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.|| +### SourceToolkitFluxcdIoV1beta2GitRepositorySpecIncludeItems0 + +GitRepositoryInclude specifies a local reference to a GitRepository which Artifact (sub-)contents must be included, and where they should be placed. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**fromPath**|str|FromPath specifies the path to copy contents from, defaults to the root
of the Artifact.|| +|**repository** `required`|[SourceToolkitFluxcdIoV1beta2GitRepositorySpecIncludeItems0Repository](#sourcetoolkitfluxcdiov1beta2gitrepositoryspecincludeitems0repository)|repository|| +|**toPath**|str|ToPath specifies the path to copy contents to, defaults to the name of
the GitRepositoryRef.|| +### SourceToolkitFluxcdIoV1beta2GitRepositorySpecIncludeItems0Repository + +GitRepositoryRef specifies the GitRepository which Artifact contents must be included. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**name** `required`|str|Name of the referent.|| +### SourceToolkitFluxcdIoV1beta2GitRepositorySpecRef + +Reference specifies the Git reference to resolve and monitor for changes, defaults to the 'master' branch. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**branch**|str|Branch to check out, defaults to 'master' if no other field is defined.|| +|**commit**|str|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**|str|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**|str|SemVer tag expression to check out, takes precedence over Tag.|| +|**tag**|str|Tag to check out, takes precedence over Branch.|| +### SourceToolkitFluxcdIoV1beta2GitRepositorySpecSecretRef + +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. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**name** `required`|str|Name of the referent.|| +### SourceToolkitFluxcdIoV1beta2GitRepositorySpecVerify + +Verification specifies the configuration to verify the Git commit signature(s). + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**mode** `required` `readOnly`|"head"|Mode specifies what Git object should be verified, currently ('head').|"head"| +|**secretRef** `required`|[SourceToolkitFluxcdIoV1beta2GitRepositorySpecVerifySecretRef](#sourcetoolkitfluxcdiov1beta2gitrepositoryspecverifysecretref)|secret ref|| +### SourceToolkitFluxcdIoV1beta2GitRepositorySpecVerifySecretRef + +SecretRef specifies the Secret containing the public keys of trusted Git authors. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**name** `required`|str|Name of the referent.|| +### SourceToolkitFluxcdIoV1beta2GitRepositoryStatus + +GitRepositoryStatus records the observed state of a Git repository. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**artifact**|[SourceToolkitFluxcdIoV1beta2GitRepositoryStatusArtifact](#sourcetoolkitfluxcdiov1beta2gitrepositorystatusartifact)|artifact|| +|**conditions**|[[SourceToolkitFluxcdIoV1beta2GitRepositoryStatusConditionsItems0](#sourcetoolkitfluxcdiov1beta2gitrepositorystatusconditionsitems0)]|Conditions holds the conditions for the GitRepository.|| +|**contentConfigChecksum**|str|ContentConfigChecksum is a checksum of all the configurations related to
the content of the source artifact:
- .spec.ignore
- .spec.recurseSubmodules
- .spec.included and the checksum of the included artifacts
observed in .status.observedGeneration version of the object. This can
be used to determine if the content of the included repository has
changed.
It has the format of `:`, for example: `sha256:`.

Deprecated: Replaced with explicit fields for observed artifact content
config in the status.|| +|**includedArtifacts**|[[SourceToolkitFluxcdIoV1beta2GitRepositoryStatusIncludedArtifactsItems0](#sourcetoolkitfluxcdiov1beta2gitrepositorystatusincludedartifactsitems0)]|IncludedArtifacts contains a list of the last successfully included
Artifacts as instructed by GitRepositorySpec.Include.|| +|**lastHandledReconcileAt**|str|LastHandledReconcileAt holds the value of the most recent
reconcile request value, so a change of the annotation value
can be detected.|| +|**observedGeneration**|int|ObservedGeneration is the last observed generation of the GitRepository
object.|| +|**observedIgnore**|str|ObservedIgnore is the observed exclusion patterns used for constructing
the source artifact.|| +|**observedInclude**|[[SourceToolkitFluxcdIoV1beta2GitRepositoryStatusObservedIncludeItems0](#sourcetoolkitfluxcdiov1beta2gitrepositorystatusobservedincludeitems0)]|ObservedInclude is the observed list of GitRepository resources used to
to produce the current Artifact.|| +|**observedRecurseSubmodules**|bool|ObservedRecurseSubmodules is the observed resource submodules
configuration used to produce the current Artifact.|| +|**url**|str|URL is the dynamic fetch link for the latest Artifact.
It is provided on a "best effort" basis, and using the precise
GitRepositoryStatus.Artifact data is recommended.|| +### SourceToolkitFluxcdIoV1beta2GitRepositoryStatusArtifact + +Artifact represents the last successful GitRepository reconciliation. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**digest**|str|Digest is the digest of the file in the form of ':'.|| +|**lastUpdateTime** `required`|str|LastUpdateTime is the timestamp corresponding to the last update of the
Artifact.|| +|**metadata**|{str:str}|Metadata holds upstream information such as OCI annotations.|| +|**path** `required`|str|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** `required`|str|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**|int|Size is the number of bytes in the file.|| +|**url** `required`|str|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.|| +### SourceToolkitFluxcdIoV1beta2GitRepositoryStatusConditionsItems0 + +Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` // other fields } + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**lastTransitionTime** `required`|str|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** `required`|str|message is a human readable message indicating details about the transition.
This may be an empty string.|| +|**observedGeneration**|int|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** `required`|str|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** `required`|"True" | "False" | "Unknown"|status of the condition, one of True, False, Unknown.|| +|**type** `required`|str||| +### SourceToolkitFluxcdIoV1beta2GitRepositoryStatusIncludedArtifactsItems0 + +Artifact represents the output of a Source reconciliation. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**digest**|str|Digest is the digest of the file in the form of ':'.|| +|**lastUpdateTime** `required`|str|LastUpdateTime is the timestamp corresponding to the last update of the
Artifact.|| +|**metadata**|{str:str}|Metadata holds upstream information such as OCI annotations.|| +|**path** `required`|str|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** `required`|str|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**|int|Size is the number of bytes in the file.|| +|**url** `required`|str|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.|| +### SourceToolkitFluxcdIoV1beta2GitRepositoryStatusObservedIncludeItems0 + +GitRepositoryInclude specifies a local reference to a GitRepository which Artifact (sub-)contents must be included, and where they should be placed. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**fromPath**|str|FromPath specifies the path to copy contents from, defaults to the root
of the Artifact.|| +|**repository** `required`|[SourceToolkitFluxcdIoV1beta2GitRepositoryStatusObservedIncludeItems0Repository](#sourcetoolkitfluxcdiov1beta2gitrepositorystatusobservedincludeitems0repository)|repository|| +|**toPath**|str|ToPath specifies the path to copy contents to, defaults to the name of
the GitRepositoryRef.|| +### SourceToolkitFluxcdIoV1beta2GitRepositoryStatusObservedIncludeItems0Repository + +GitRepositoryRef specifies the GitRepository which Artifact contents must be included. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**name** `required`|str|Name of the referent.|| +### SourceToolkitFluxcdIoV1beta2HelmChartSpec + +HelmChartSpec specifies the desired state of a Helm chart. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**accessFrom**|[SourceToolkitFluxcdIoV1beta2HelmChartSpecAccessFrom](#sourcetoolkitfluxcdiov1beta2helmchartspecaccessfrom)|access from|| +|**chart** `required`|str|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** `required`|str|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.|"ChartVersion"| +|**sourceRef** `required`|[SourceToolkitFluxcdIoV1beta2HelmChartSpecSourceRef](#sourcetoolkitfluxcdiov1beta2helmchartspecsourceref)|source ref|| +|**suspend**|bool|Suspend tells the controller to suspend the reconciliation of this
source.|| +|**valuesFile**|str|ValuesFile is an alternative values file to use as the default chart
values, expected to be a relative path in the SourceRef. Deprecated in
favor of ValuesFiles, for backwards compatibility the file specified here
is merged before the ValuesFiles items. Ignored when omitted.|| +|**valuesFiles**|[str]|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**|[SourceToolkitFluxcdIoV1beta2HelmChartSpecVerify](#sourcetoolkitfluxcdiov1beta2helmchartspecverify)|verify|| +|**version**|str|Version is the chart version semver expression, ignored for charts from
GitRepository and Bucket sources. Defaults to latest when omitted.|"*"| +### SourceToolkitFluxcdIoV1beta2HelmChartSpecAccessFrom + +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 + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**namespaceSelectors** `required`|[[SourceToolkitFluxcdIoV1beta2HelmChartSpecAccessFromNamespaceSelectorsItems0](#sourcetoolkitfluxcdiov1beta2helmchartspecaccessfromnamespaceselectorsitems0)]|NamespaceSelectors is the list of namespace selectors to which this ACL applies.
Items in this list are evaluated using a logical OR operation.|| +### SourceToolkitFluxcdIoV1beta2HelmChartSpecAccessFromNamespaceSelectorsItems0 + +NamespaceSelector selects the namespaces to which this ACL applies. An empty map of MatchLabels matches all namespaces in a cluster. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**matchLabels**|{str:str}|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.|| +### SourceToolkitFluxcdIoV1beta2HelmChartSpecSourceRef + +SourceRef is the reference to the Source the chart is available at. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**apiVersion**|str|APIVersion of the referent.|| +|**kind** `required`|"HelmRepository" | "GitRepository" | "Bucket"|Kind of the referent, valid values are ('HelmRepository', 'GitRepository',
'Bucket').|| +|**name** `required`|str|Name of the referent.|| +### SourceToolkitFluxcdIoV1beta2HelmChartSpecVerify + +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. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**matchOIDCIdentity**|[[SourceToolkitFluxcdIoV1beta2HelmChartSpecVerifyMatchOIDCIdentityItems0](#sourcetoolkitfluxcdiov1beta2helmchartspecverifymatchoidcidentityitems0)]|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.|| +|**provider** `required`|"cosign" | "notation"|Provider specifies the technology used to sign the OCI Artifact.|"cosign"| +|**secretRef**|[SourceToolkitFluxcdIoV1beta2HelmChartSpecVerifySecretRef](#sourcetoolkitfluxcdiov1beta2helmchartspecverifysecretref)|secret ref|| +### SourceToolkitFluxcdIoV1beta2HelmChartSpecVerifyMatchOIDCIdentityItems0 + +OIDCIdentityMatch specifies options for verifying the certificate identity, i.e. the issuer and the subject of the certificate. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**issuer** `required`|str|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** `required`|str|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.|| +### SourceToolkitFluxcdIoV1beta2HelmChartSpecVerifySecretRef + +SecretRef specifies the Kubernetes Secret containing the trusted public keys. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**name** `required`|str|Name of the referent.|| +### SourceToolkitFluxcdIoV1beta2HelmChartStatus + +HelmChartStatus records the observed state of the HelmChart. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**artifact**|[SourceToolkitFluxcdIoV1beta2HelmChartStatusArtifact](#sourcetoolkitfluxcdiov1beta2helmchartstatusartifact)|artifact|| +|**conditions**|[[SourceToolkitFluxcdIoV1beta2HelmChartStatusConditionsItems0](#sourcetoolkitfluxcdiov1beta2helmchartstatusconditionsitems0)]|Conditions holds the conditions for the HelmChart.|| +|**lastHandledReconcileAt**|str|LastHandledReconcileAt holds the value of the most recent
reconcile request value, so a change of the annotation value
can be detected.|| +|**observedChartName**|str|ObservedChartName is the last observed chart name as specified by the
resolved chart reference.|| +|**observedGeneration**|int|ObservedGeneration is the last observed generation of the HelmChart
object.|| +|**observedSourceArtifactRevision**|str|ObservedSourceArtifactRevision is the last observed Artifact.Revision
of the HelmChartSpec.SourceRef.|| +|**observedValuesFiles**|[str]|ObservedValuesFiles are the observed value files of the last successful
reconciliation.
It matches the chart in the last successfully reconciled artifact.|| +|**url**|str|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.|| +### SourceToolkitFluxcdIoV1beta2HelmChartStatusArtifact + +Artifact represents the output of the last successful reconciliation. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**digest**|str|Digest is the digest of the file in the form of ':'.|| +|**lastUpdateTime** `required`|str|LastUpdateTime is the timestamp corresponding to the last update of the
Artifact.|| +|**metadata**|{str:str}|Metadata holds upstream information such as OCI annotations.|| +|**path** `required`|str|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** `required`|str|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**|int|Size is the number of bytes in the file.|| +|**url** `required`|str|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.|| +### SourceToolkitFluxcdIoV1beta2HelmChartStatusConditionsItems0 + +Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` // other fields } + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**lastTransitionTime** `required`|str|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** `required`|str|message is a human readable message indicating details about the transition.
This may be an empty string.|| +|**observedGeneration**|int|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** `required`|str|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** `required`|"True" | "False" | "Unknown"|status of the condition, one of True, False, Unknown.|| +|**type** `required`|str||| +### SourceToolkitFluxcdIoV1beta2HelmRepositorySpec + +HelmRepositorySpec specifies the required configuration to produce an Artifact for a Helm repository index YAML. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**accessFrom**|[SourceToolkitFluxcdIoV1beta2HelmRepositorySpecAccessFrom](#sourcetoolkitfluxcdiov1beta2helmrepositoryspecaccessfrom)|access from|| +|**certSecretRef**|[SourceToolkitFluxcdIoV1beta2HelmRepositorySpecCertSecretRef](#sourcetoolkitfluxcdiov1beta2helmrepositoryspeccertsecretref)|cert secret ref|| +|**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**|str|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'.|"generic"| +|**secretRef**|[SourceToolkitFluxcdIoV1beta2HelmRepositorySpecSecretRef](#sourcetoolkitfluxcdiov1beta2helmrepositoryspecsecretref)|secret ref|| +|**suspend**|bool|Suspend tells the controller to suspend the reconciliation of this
HelmRepository.|| +|**timeout**|str|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"||| +|**url** `required`|str|URL of the Helm repository, a valid URL contains at least a protocol and
host.|| +### SourceToolkitFluxcdIoV1beta2HelmRepositorySpecAccessFrom + +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 + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**namespaceSelectors** `required`|[[SourceToolkitFluxcdIoV1beta2HelmRepositorySpecAccessFromNamespaceSelectorsItems0](#sourcetoolkitfluxcdiov1beta2helmrepositoryspecaccessfromnamespaceselectorsitems0)]|NamespaceSelectors is the list of namespace selectors to which this ACL applies.
Items in this list are evaluated using a logical OR operation.|| +### SourceToolkitFluxcdIoV1beta2HelmRepositorySpecAccessFromNamespaceSelectorsItems0 + +NamespaceSelector selects the namespaces to which this ACL applies. An empty map of MatchLabels matches all namespaces in a cluster. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**matchLabels**|{str:str}|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.|| +### SourceToolkitFluxcdIoV1beta2HelmRepositorySpecCertSecretRef + +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`. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**name** `required`|str|Name of the referent.|| +### SourceToolkitFluxcdIoV1beta2HelmRepositorySpecSecretRef + +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. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**name** `required`|str|Name of the referent.|| +### SourceToolkitFluxcdIoV1beta2HelmRepositoryStatus + +HelmRepositoryStatus records the observed state of the HelmRepository. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**artifact**|[SourceToolkitFluxcdIoV1beta2HelmRepositoryStatusArtifact](#sourcetoolkitfluxcdiov1beta2helmrepositorystatusartifact)|artifact|| +|**conditions**|[[SourceToolkitFluxcdIoV1beta2HelmRepositoryStatusConditionsItems0](#sourcetoolkitfluxcdiov1beta2helmrepositorystatusconditionsitems0)]|Conditions holds the conditions for the HelmRepository.|| +|**lastHandledReconcileAt**|str|LastHandledReconcileAt holds the value of the most recent
reconcile request value, so a change of the annotation value
can be detected.|| +|**observedGeneration**|int|ObservedGeneration is the last observed generation of the HelmRepository
object.|| +|**url**|str|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.|| +### SourceToolkitFluxcdIoV1beta2HelmRepositoryStatusArtifact + +Artifact represents the last successful HelmRepository reconciliation. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**digest**|str|Digest is the digest of the file in the form of ':'.|| +|**lastUpdateTime** `required`|str|LastUpdateTime is the timestamp corresponding to the last update of the
Artifact.|| +|**metadata**|{str:str}|Metadata holds upstream information such as OCI annotations.|| +|**path** `required`|str|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** `required`|str|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**|int|Size is the number of bytes in the file.|| +|**url** `required`|str|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.|| +### SourceToolkitFluxcdIoV1beta2HelmRepositoryStatusConditionsItems0 + +Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` // other fields } + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**lastTransitionTime** `required`|str|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** `required`|str|message is a human readable message indicating details about the transition.
This may be an empty string.|| +|**observedGeneration**|int|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** `required`|str|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** `required`|"True" | "False" | "Unknown"|status of the condition, one of True, False, Unknown.|| +|**type** `required`|str||| +### SourceToolkitFluxcdIoV1beta2OCIRepositorySpec + +OCIRepositorySpec defines the desired state of OCIRepository + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**certSecretRef**|[SourceToolkitFluxcdIoV1beta2OCIRepositorySpecCertSecretRef](#sourcetoolkitfluxcdiov1beta2ocirepositoryspeccertsecretref)|cert secret ref|| +|**ignore**|str|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** `required`|str|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**|[SourceToolkitFluxcdIoV1beta2OCIRepositorySpecLayerSelector](#sourcetoolkitfluxcdiov1beta2ocirepositoryspeclayerselector)|layer selector|| +|**provider**|"generic" | "aws" | "azure" | "gcp"|The provider used for authentication, can be 'aws', 'azure', 'gcp' or 'generic'.
When not specified, defaults to 'generic'.|"generic"| +|**ref**|[SourceToolkitFluxcdIoV1beta2OCIRepositorySpecRef](#sourcetoolkitfluxcdiov1beta2ocirepositoryspecref)|ref|| +|**secretRef**|[SourceToolkitFluxcdIoV1beta2OCIRepositorySpecSecretRef](#sourcetoolkitfluxcdiov1beta2ocirepositoryspecsecretref)|secret ref|| +|**serviceAccountName**|str|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**|str|The timeout for remote OCI Repository operations like pulling, defaults to 60s.|"60s"| +|**url** `required`|str|URL is a reference to an OCI artifact repository hosted
on a remote container registry.|| +|**verify**|[SourceToolkitFluxcdIoV1beta2OCIRepositorySpecVerify](#sourcetoolkitfluxcdiov1beta2ocirepositoryspecverify)|verify|| +### SourceToolkitFluxcdIoV1beta2OCIRepositorySpecCertSecretRef + +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`. Note: Support for the `caFile`, `certFile` and `keyFile` keys have been deprecated. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**name** `required`|str|Name of the referent.|| +### SourceToolkitFluxcdIoV1beta2OCIRepositorySpecLayerSelector + +LayerSelector specifies which layer should be extracted from the OCI artifact. When not specified, the first layer found in the artifact is selected. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**mediaType**|str|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.|| +### SourceToolkitFluxcdIoV1beta2OCIRepositorySpecRef + +The OCI reference to pull and monitor for changes, defaults to the latest tag. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**digest**|str|Digest is the image digest to pull, takes precedence over SemVer.
The value should be in the format 'sha256:'.|| +|**semver**|str|SemVer is the range of tags to pull selecting the latest within
the range, takes precedence over Tag.|| +|**semverFilter**|str|SemverFilter is a regex pattern to filter the tags within the SemVer range.|| +|**tag**|str|Tag is the image tag to pull, defaults to latest.|| +### SourceToolkitFluxcdIoV1beta2OCIRepositorySpecSecretRef + +SecretRef contains the secret name containing the registry login credentials to resolve image metadata. The secret must be of type kubernetes.io/dockerconfigjson. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**name** `required`|str|Name of the referent.|| +### SourceToolkitFluxcdIoV1beta2OCIRepositorySpecVerify + +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. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**matchOIDCIdentity**|[[SourceToolkitFluxcdIoV1beta2OCIRepositorySpecVerifyMatchOIDCIdentityItems0](#sourcetoolkitfluxcdiov1beta2ocirepositoryspecverifymatchoidcidentityitems0)]|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.|| +|**provider** `required`|"cosign" | "notation"|Provider specifies the technology used to sign the OCI Artifact.|"cosign"| +|**secretRef**|[SourceToolkitFluxcdIoV1beta2OCIRepositorySpecVerifySecretRef](#sourcetoolkitfluxcdiov1beta2ocirepositoryspecverifysecretref)|secret ref|| +### SourceToolkitFluxcdIoV1beta2OCIRepositorySpecVerifyMatchOIDCIdentityItems0 + +OIDCIdentityMatch specifies options for verifying the certificate identity, i.e. the issuer and the subject of the certificate. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**issuer** `required`|str|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** `required`|str|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.|| +### SourceToolkitFluxcdIoV1beta2OCIRepositorySpecVerifySecretRef + +SecretRef specifies the Kubernetes Secret containing the trusted public keys. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**name** `required`|str|Name of the referent.|| +### SourceToolkitFluxcdIoV1beta2OCIRepositoryStatus + +OCIRepositoryStatus defines the observed state of OCIRepository + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**artifact**|[SourceToolkitFluxcdIoV1beta2OCIRepositoryStatusArtifact](#sourcetoolkitfluxcdiov1beta2ocirepositorystatusartifact)|artifact|| +|**conditions**|[[SourceToolkitFluxcdIoV1beta2OCIRepositoryStatusConditionsItems0](#sourcetoolkitfluxcdiov1beta2ocirepositorystatusconditionsitems0)]|Conditions holds the conditions for the OCIRepository.|| +|**contentConfigChecksum**|str|ContentConfigChecksum is a checksum of all the configurations related to
the content of the source artifact:
- .spec.ignore
- .spec.layerSelector
observed in .status.observedGeneration version of the object. This can
be used to determine if the content configuration has changed and the
artifact needs to be rebuilt.
It has the format of `:`, for example: `sha256:`.

Deprecated: Replaced with explicit fields for observed artifact content
config in the status.|| +|**lastHandledReconcileAt**|str|LastHandledReconcileAt holds the value of the most recent
reconcile request value, so a change of the annotation value
can be detected.|| +|**observedGeneration**|int|ObservedGeneration is the last observed generation.|| +|**observedIgnore**|str|ObservedIgnore is the observed exclusion patterns used for constructing
the source artifact.|| +|**observedLayerSelector**|[SourceToolkitFluxcdIoV1beta2OCIRepositoryStatusObservedLayerSelector](#sourcetoolkitfluxcdiov1beta2ocirepositorystatusobservedlayerselector)|observed layer selector|| +|**url**|str|URL is the download link for the artifact output of the last OCI Repository sync.|| +### SourceToolkitFluxcdIoV1beta2OCIRepositoryStatusArtifact + +Artifact represents the output of the last successful OCI Repository sync. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**digest**|str|Digest is the digest of the file in the form of ':'.|| +|**lastUpdateTime** `required`|str|LastUpdateTime is the timestamp corresponding to the last update of the
Artifact.|| +|**metadata**|{str:str}|Metadata holds upstream information such as OCI annotations.|| +|**path** `required`|str|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** `required`|str|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**|int|Size is the number of bytes in the file.|| +|**url** `required`|str|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.|| +### SourceToolkitFluxcdIoV1beta2OCIRepositoryStatusConditionsItems0 + +Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` // other fields } + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**lastTransitionTime** `required`|str|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** `required`|str|message is a human readable message indicating details about the transition.
This may be an empty string.|| +|**observedGeneration**|int|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** `required`|str|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** `required`|"True" | "False" | "Unknown"|status of the condition, one of True, False, Unknown.|| +|**type** `required`|str||| +### SourceToolkitFluxcdIoV1beta2OCIRepositoryStatusObservedLayerSelector + +ObservedLayerSelector is the observed layer selector used for constructing the source artifact. + +#### Attributes + +| name | type | description | default value | +| --- | --- | --- | --- | +|**mediaType**|str|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.|| + diff --git a/fluxcd-source-controller/crds/source-controller@v1.3.0.yaml b/fluxcd-source-controller/crds/source-controller@v1.3.0.yaml new file mode 100644 index 00000000..02d891af --- /dev/null +++ b/fluxcd-source-controller/crds/source-controller@v1.3.0.yaml @@ -0,0 +1,4193 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + creationTimestamp: null + name: gitrepositories.source.toolkit.fluxcd.io +spec: + group: source.toolkit.fluxcd.io + names: + kind: GitRepository + listKind: GitRepositoryList + plural: gitrepositories + shortNames: + - gitrepo + singular: gitrepository + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.url + name: URL + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + - jsonPath: .status.conditions[?(@.type=="Ready")].status + name: Ready + type: string + - jsonPath: .status.conditions[?(@.type=="Ready")].message + name: Status + type: string + name: v1 + schema: + openAPIV3Schema: + description: GitRepository is the Schema for the gitrepositories API. + properties: + apiVersion: + description: |- + 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 + type: string + kind: + description: |- + 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 + type: string + metadata: + type: object + spec: + description: |- + GitRepositorySpec specifies the required configuration to produce an + Artifact for a Git repository. + properties: + ignore: + description: |- + 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. + type: string + include: + description: |- + Include specifies a list of GitRepository resources which Artifacts + should be included in the Artifact produced for this GitRepository. + items: + description: |- + GitRepositoryInclude specifies a local reference to a GitRepository which + Artifact (sub-)contents must be included, and where they should be placed. + properties: + fromPath: + description: |- + FromPath specifies the path to copy contents from, defaults to the root + of the Artifact. + type: string + repository: + description: |- + GitRepositoryRef specifies the GitRepository which Artifact contents + must be included. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + toPath: + description: |- + ToPath specifies the path to copy contents to, defaults to the name of + the GitRepositoryRef. + type: string + required: + - repository + type: object + type: array + interval: + description: |- + 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. + pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$ + type: string + proxySecretRef: + description: |- + ProxySecretRef specifies the Secret containing the proxy configuration + to use while communicating with the Git server. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + recurseSubmodules: + description: |- + RecurseSubmodules enables the initialization of all submodules within + the GitRepository as cloned from the URL, using their default settings. + type: boolean + ref: + description: |- + Reference specifies the Git reference to resolve and monitor for + changes, defaults to the 'master' branch. + properties: + branch: + description: Branch to check out, defaults to 'master' if no other + field is defined. + type: string + commit: + description: |- + 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. + type: string + name: + description: |- + 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" + type: string + semver: + description: SemVer tag expression to check out, takes precedence + over Tag. + type: string + tag: + description: Tag to check out, takes precedence over Branch. + type: string + type: object + secretRef: + description: |- + 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. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + suspend: + description: |- + Suspend tells the controller to suspend the reconciliation of this + GitRepository. + type: boolean + timeout: + default: 60s + description: Timeout for Git operations like cloning, defaults to + 60s. + pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m))+$ + type: string + url: + description: URL specifies the Git repository URL, it can be an HTTP/S + or SSH address. + pattern: ^(http|https|ssh)://.*$ + type: string + verify: + description: |- + Verification specifies the configuration to verify the Git commit + signature(s). + properties: + mode: + default: HEAD + description: |- + 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. + enum: + - head + - HEAD + - Tag + - TagAndHEAD + type: string + secretRef: + description: |- + SecretRef specifies the Secret containing the public keys of trusted Git + authors. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + required: + - secretRef + type: object + required: + - interval + - url + type: object + status: + default: + observedGeneration: -1 + description: GitRepositoryStatus records the observed state of a Git repository. + properties: + artifact: + description: Artifact represents the last successful GitRepository + reconciliation. + properties: + digest: + description: Digest is the digest of the file in the form of ':'. + pattern: ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$ + type: string + lastUpdateTime: + description: |- + LastUpdateTime is the timestamp corresponding to the last update of the + Artifact. + format: date-time + type: string + metadata: + additionalProperties: + type: string + description: Metadata holds upstream information such as OCI annotations. + type: object + path: + description: |- + 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. + type: string + revision: + description: |- + 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. + type: string + size: + description: Size is the number of bytes in the file. + format: int64 + type: integer + url: + description: |- + 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. + type: string + required: + - lastUpdateTime + - path + - revision + - url + type: object + conditions: + description: Conditions holds the conditions for the GitRepository. + items: + description: "Condition contains details for one aspect of the current + state of this API Resource.\n---\nThis struct is intended for + direct use as an array at the field path .status.conditions. For + example,\n\n\n\ttype FooStatus struct{\n\t // Represents the + observations of a foo's current state.\n\t // Known .status.conditions.type + are: \"Available\", \"Progressing\", and \"Degraded\"\n\t // + +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t + \ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\" + patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t + \ // other fields\n\t}" + properties: + lastTransitionTime: + description: |- + 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. + format: date-time + type: string + message: + description: |- + message is a human readable message indicating details about the transition. + This may be an empty string. + maxLength: 32768 + type: string + observedGeneration: + description: |- + 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. + format: int64 + minimum: 0 + type: integer + reason: + description: |- + 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. + maxLength: 1024 + minLength: 1 + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ + type: string + status: + description: status of the condition, one of True, False, Unknown. + enum: + - "True" + - "False" + - Unknown + type: string + type: + description: |- + type of condition in CamelCase or in foo.example.com/CamelCase. + --- + Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be + useful (see .node.status.conditions), the ability to deconflict is important. + The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + maxLength: 316 + pattern: ^([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: string + required: + - lastTransitionTime + - message + - reason + - status + - type + type: object + type: array + includedArtifacts: + description: |- + IncludedArtifacts contains a list of the last successfully included + Artifacts as instructed by GitRepositorySpec.Include. + items: + description: Artifact represents the output of a Source reconciliation. + properties: + digest: + description: Digest is the digest of the file in the form of + ':'. + pattern: ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$ + type: string + lastUpdateTime: + description: |- + LastUpdateTime is the timestamp corresponding to the last update of the + Artifact. + format: date-time + type: string + metadata: + additionalProperties: + type: string + description: Metadata holds upstream information such as OCI + annotations. + type: object + path: + description: |- + 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. + type: string + revision: + description: |- + 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. + type: string + size: + description: Size is the number of bytes in the file. + format: int64 + type: integer + url: + description: |- + 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. + type: string + required: + - lastUpdateTime + - path + - revision + - url + type: object + type: array + lastHandledReconcileAt: + description: |- + LastHandledReconcileAt holds the value of the most recent + reconcile request value, so a change of the annotation value + can be detected. + type: string + observedGeneration: + description: |- + ObservedGeneration is the last observed generation of the GitRepository + object. + format: int64 + type: integer + observedIgnore: + description: |- + ObservedIgnore is the observed exclusion patterns used for constructing + the source artifact. + type: string + observedInclude: + description: |- + ObservedInclude is the observed list of GitRepository resources used to + produce the current Artifact. + items: + description: |- + GitRepositoryInclude specifies a local reference to a GitRepository which + Artifact (sub-)contents must be included, and where they should be placed. + properties: + fromPath: + description: |- + FromPath specifies the path to copy contents from, defaults to the root + of the Artifact. + type: string + repository: + description: |- + GitRepositoryRef specifies the GitRepository which Artifact contents + must be included. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + toPath: + description: |- + ToPath specifies the path to copy contents to, defaults to the name of + the GitRepositoryRef. + type: string + required: + - repository + type: object + type: array + observedRecurseSubmodules: + description: |- + ObservedRecurseSubmodules is the observed resource submodules + configuration used to produce the current Artifact. + type: boolean + sourceVerificationMode: + description: |- + SourceVerificationMode is the last used verification mode indicating + which Git object(s) have been verified. + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} + - additionalPrinterColumns: + - jsonPath: .spec.url + name: URL + type: string + - jsonPath: .status.conditions[?(@.type=="Ready")].status + name: Ready + type: string + - jsonPath: .status.conditions[?(@.type=="Ready")].message + name: Status + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1beta1 + schema: + openAPIV3Schema: + description: GitRepository is the Schema for the gitrepositories API + properties: + apiVersion: + description: |- + 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 + type: string + kind: + description: |- + 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 + type: string + metadata: + type: object + spec: + description: GitRepositorySpec defines the desired state of a Git repository. + properties: + accessFrom: + description: AccessFrom defines an Access Control List for allowing + cross-namespace references to this object. + properties: + namespaceSelectors: + description: |- + NamespaceSelectors is the list of namespace selectors to which this ACL applies. + Items in this list are evaluated using a logical OR operation. + items: + description: |- + NamespaceSelector selects the namespaces to which this ACL applies. + An empty map of MatchLabels matches all namespaces in a cluster. + properties: + matchLabels: + additionalProperties: + type: string + description: |- + 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. + type: object + type: object + type: array + required: + - namespaceSelectors + type: object + gitImplementation: + default: go-git + description: |- + Determines which git client library to use. + Defaults to go-git, valid values are ('go-git', 'libgit2'). + enum: + - go-git + - libgit2 + type: string + ignore: + description: |- + 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. + type: string + include: + description: Extra git repositories to map into the repository + items: + description: GitRepositoryInclude defines a source with a from and + to path. + properties: + fromPath: + description: The path to copy contents from, defaults to the + root directory. + type: string + repository: + description: Reference to a GitRepository to include. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + toPath: + description: The path to copy contents to, defaults to the name + of the source ref. + type: string + required: + - repository + type: object + type: array + interval: + description: The interval at which to check for repository updates. + type: string + recurseSubmodules: + description: |- + When enabled, after the clone is created, initializes all submodules within, + using their default settings. + This option is available only when using the 'go-git' GitImplementation. + type: boolean + ref: + description: |- + The Git reference to checkout and monitor for changes, defaults to + master branch. + properties: + branch: + description: The Git branch to checkout, defaults to master. + type: string + commit: + description: The Git commit SHA to checkout, if specified Tag + filters will be ignored. + type: string + semver: + description: The Git tag semver expression, takes precedence over + Tag. + type: string + tag: + description: The Git tag to checkout, takes precedence over Branch. + type: string + type: object + secretRef: + description: |- + The secret name containing the Git credentials. + For HTTPS repositories the secret must contain username and password + fields. + For SSH repositories the secret must contain identity and known_hosts + fields. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + suspend: + description: This flag tells the controller to suspend the reconciliation + of this source. + type: boolean + timeout: + default: 60s + description: The timeout for remote Git operations like cloning, defaults + to 60s. + type: string + url: + description: The repository URL, can be a HTTP/S or SSH address. + pattern: ^(http|https|ssh)://.*$ + type: string + verify: + description: Verify OpenPGP signature for the Git commit HEAD points + to. + properties: + mode: + description: Mode describes what git object should be verified, + currently ('head'). + enum: + - head + type: string + secretRef: + description: The secret name containing the public keys of all + trusted Git authors. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + required: + - mode + type: object + required: + - interval + - url + type: object + status: + default: + observedGeneration: -1 + description: GitRepositoryStatus defines the observed state of a Git repository. + properties: + artifact: + description: Artifact represents the output of the last successful + repository sync. + properties: + checksum: + description: Checksum is the SHA256 checksum of the artifact. + type: string + lastUpdateTime: + description: |- + LastUpdateTime is the timestamp corresponding to the last update of this + artifact. + format: date-time + type: string + path: + description: Path is the relative file path of this artifact. + type: string + revision: + description: |- + Revision is a human readable identifier traceable in the origin source + system. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm + chart version, etc. + type: string + url: + description: URL is the HTTP address of this artifact. + type: string + required: + - path + - url + type: object + conditions: + description: Conditions holds the conditions for the GitRepository. + items: + description: "Condition contains details for one aspect of the current + state of this API Resource.\n---\nThis struct is intended for + direct use as an array at the field path .status.conditions. For + example,\n\n\n\ttype FooStatus struct{\n\t // Represents the + observations of a foo's current state.\n\t // Known .status.conditions.type + are: \"Available\", \"Progressing\", and \"Degraded\"\n\t // + +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t + \ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\" + patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t + \ // other fields\n\t}" + properties: + lastTransitionTime: + description: |- + 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. + format: date-time + type: string + message: + description: |- + message is a human readable message indicating details about the transition. + This may be an empty string. + maxLength: 32768 + type: string + observedGeneration: + description: |- + 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. + format: int64 + minimum: 0 + type: integer + reason: + description: |- + 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. + maxLength: 1024 + minLength: 1 + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ + type: string + status: + description: status of the condition, one of True, False, Unknown. + enum: + - "True" + - "False" + - Unknown + type: string + type: + description: |- + type of condition in CamelCase or in foo.example.com/CamelCase. + --- + Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be + useful (see .node.status.conditions), the ability to deconflict is important. + The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + maxLength: 316 + pattern: ^([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: string + required: + - lastTransitionTime + - message + - reason + - status + - type + type: object + type: array + includedArtifacts: + description: IncludedArtifacts represents the included artifacts from + the last successful repository sync. + items: + description: Artifact represents the output of a source synchronisation. + properties: + checksum: + description: Checksum is the SHA256 checksum of the artifact. + type: string + lastUpdateTime: + description: |- + LastUpdateTime is the timestamp corresponding to the last update of this + artifact. + format: date-time + type: string + path: + description: Path is the relative file path of this artifact. + type: string + revision: + description: |- + Revision is a human readable identifier traceable in the origin source + system. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm + chart version, etc. + type: string + url: + description: URL is the HTTP address of this artifact. + type: string + required: + - path + - url + type: object + type: array + lastHandledReconcileAt: + description: |- + LastHandledReconcileAt holds the value of the most recent + reconcile request value, so a change of the annotation value + can be detected. + type: string + observedGeneration: + description: ObservedGeneration is the last observed generation. + format: int64 + type: integer + url: + description: |- + URL is the download link for the artifact output of the last repository + sync. + type: string + type: object + type: object + served: true + storage: false + subresources: + status: {} + - additionalPrinterColumns: + - jsonPath: .spec.url + name: URL + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + - jsonPath: .status.conditions[?(@.type=="Ready")].status + name: Ready + type: string + - jsonPath: .status.conditions[?(@.type=="Ready")].message + name: Status + type: string + name: v1beta2 + schema: + openAPIV3Schema: + description: GitRepository is the Schema for the gitrepositories API. + properties: + apiVersion: + description: |- + 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 + type: string + kind: + description: |- + 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 + type: string + metadata: + type: object + spec: + description: |- + GitRepositorySpec specifies the required configuration to produce an + Artifact for a Git repository. + properties: + accessFrom: + description: |- + 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 + properties: + namespaceSelectors: + description: |- + NamespaceSelectors is the list of namespace selectors to which this ACL applies. + Items in this list are evaluated using a logical OR operation. + items: + description: |- + NamespaceSelector selects the namespaces to which this ACL applies. + An empty map of MatchLabels matches all namespaces in a cluster. + properties: + matchLabels: + additionalProperties: + type: string + description: |- + 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. + type: object + type: object + type: array + required: + - namespaceSelectors + type: object + gitImplementation: + default: go-git + description: |- + GitImplementation specifies which Git client library implementation to + use. Defaults to 'go-git', valid values are ('go-git', 'libgit2'). + Deprecated: gitImplementation is deprecated now that 'go-git' is the + only supported implementation. + enum: + - go-git + - libgit2 + type: string + ignore: + description: |- + 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. + type: string + include: + description: |- + Include specifies a list of GitRepository resources which Artifacts + should be included in the Artifact produced for this GitRepository. + items: + description: |- + GitRepositoryInclude specifies a local reference to a GitRepository which + Artifact (sub-)contents must be included, and where they should be placed. + properties: + fromPath: + description: |- + FromPath specifies the path to copy contents from, defaults to the root + of the Artifact. + type: string + repository: + description: |- + GitRepositoryRef specifies the GitRepository which Artifact contents + must be included. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + toPath: + description: |- + ToPath specifies the path to copy contents to, defaults to the name of + the GitRepositoryRef. + type: string + required: + - repository + type: object + type: array + interval: + description: Interval at which to check the GitRepository for updates. + pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$ + type: string + recurseSubmodules: + description: |- + RecurseSubmodules enables the initialization of all submodules within + the GitRepository as cloned from the URL, using their default settings. + type: boolean + ref: + description: |- + Reference specifies the Git reference to resolve and monitor for + changes, defaults to the 'master' branch. + properties: + branch: + description: Branch to check out, defaults to 'master' if no other + field is defined. + type: string + commit: + description: |- + 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. + type: string + name: + description: |- + 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" + type: string + semver: + description: SemVer tag expression to check out, takes precedence + over Tag. + type: string + tag: + description: Tag to check out, takes precedence over Branch. + type: string + type: object + secretRef: + description: |- + 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. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + suspend: + description: |- + Suspend tells the controller to suspend the reconciliation of this + GitRepository. + type: boolean + timeout: + default: 60s + description: Timeout for Git operations like cloning, defaults to + 60s. + pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m))+$ + type: string + url: + description: URL specifies the Git repository URL, it can be an HTTP/S + or SSH address. + pattern: ^(http|https|ssh)://.*$ + type: string + verify: + description: |- + Verification specifies the configuration to verify the Git commit + signature(s). + properties: + mode: + description: Mode specifies what Git object should be verified, + currently ('head'). + enum: + - head + type: string + secretRef: + description: |- + SecretRef specifies the Secret containing the public keys of trusted Git + authors. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + required: + - mode + - secretRef + type: object + required: + - interval + - url + type: object + status: + default: + observedGeneration: -1 + description: GitRepositoryStatus records the observed state of a Git repository. + properties: + artifact: + description: Artifact represents the last successful GitRepository + reconciliation. + properties: + digest: + description: Digest is the digest of the file in the form of ':'. + pattern: ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$ + type: string + lastUpdateTime: + description: |- + LastUpdateTime is the timestamp corresponding to the last update of the + Artifact. + format: date-time + type: string + metadata: + additionalProperties: + type: string + description: Metadata holds upstream information such as OCI annotations. + type: object + path: + description: |- + 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. + type: string + revision: + description: |- + 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. + type: string + size: + description: Size is the number of bytes in the file. + format: int64 + type: integer + url: + description: |- + 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. + type: string + required: + - lastUpdateTime + - path + - revision + - url + type: object + conditions: + description: Conditions holds the conditions for the GitRepository. + items: + description: "Condition contains details for one aspect of the current + state of this API Resource.\n---\nThis struct is intended for + direct use as an array at the field path .status.conditions. For + example,\n\n\n\ttype FooStatus struct{\n\t // Represents the + observations of a foo's current state.\n\t // Known .status.conditions.type + are: \"Available\", \"Progressing\", and \"Degraded\"\n\t // + +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t + \ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\" + patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t + \ // other fields\n\t}" + properties: + lastTransitionTime: + description: |- + 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. + format: date-time + type: string + message: + description: |- + message is a human readable message indicating details about the transition. + This may be an empty string. + maxLength: 32768 + type: string + observedGeneration: + description: |- + 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. + format: int64 + minimum: 0 + type: integer + reason: + description: |- + 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. + maxLength: 1024 + minLength: 1 + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ + type: string + status: + description: status of the condition, one of True, False, Unknown. + enum: + - "True" + - "False" + - Unknown + type: string + type: + description: |- + type of condition in CamelCase or in foo.example.com/CamelCase. + --- + Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be + useful (see .node.status.conditions), the ability to deconflict is important. + The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + maxLength: 316 + pattern: ^([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: string + required: + - lastTransitionTime + - message + - reason + - status + - type + type: object + type: array + contentConfigChecksum: + description: |- + ContentConfigChecksum is a checksum of all the configurations related to + the content of the source artifact: + - .spec.ignore + - .spec.recurseSubmodules + - .spec.included and the checksum of the included artifacts + observed in .status.observedGeneration version of the object. This can + be used to determine if the content of the included repository has + changed. + It has the format of `:`, for example: `sha256:`. + + + Deprecated: Replaced with explicit fields for observed artifact content + config in the status. + type: string + includedArtifacts: + description: |- + IncludedArtifacts contains a list of the last successfully included + Artifacts as instructed by GitRepositorySpec.Include. + items: + description: Artifact represents the output of a Source reconciliation. + properties: + digest: + description: Digest is the digest of the file in the form of + ':'. + pattern: ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$ + type: string + lastUpdateTime: + description: |- + LastUpdateTime is the timestamp corresponding to the last update of the + Artifact. + format: date-time + type: string + metadata: + additionalProperties: + type: string + description: Metadata holds upstream information such as OCI + annotations. + type: object + path: + description: |- + 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. + type: string + revision: + description: |- + 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. + type: string + size: + description: Size is the number of bytes in the file. + format: int64 + type: integer + url: + description: |- + 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. + type: string + required: + - lastUpdateTime + - path + - revision + - url + type: object + type: array + lastHandledReconcileAt: + description: |- + LastHandledReconcileAt holds the value of the most recent + reconcile request value, so a change of the annotation value + can be detected. + type: string + observedGeneration: + description: |- + ObservedGeneration is the last observed generation of the GitRepository + object. + format: int64 + type: integer + observedIgnore: + description: |- + ObservedIgnore is the observed exclusion patterns used for constructing + the source artifact. + type: string + observedInclude: + description: |- + ObservedInclude is the observed list of GitRepository resources used to + to produce the current Artifact. + items: + description: |- + GitRepositoryInclude specifies a local reference to a GitRepository which + Artifact (sub-)contents must be included, and where they should be placed. + properties: + fromPath: + description: |- + FromPath specifies the path to copy contents from, defaults to the root + of the Artifact. + type: string + repository: + description: |- + GitRepositoryRef specifies the GitRepository which Artifact contents + must be included. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + toPath: + description: |- + ToPath specifies the path to copy contents to, defaults to the name of + the GitRepositoryRef. + type: string + required: + - repository + type: object + type: array + observedRecurseSubmodules: + description: |- + ObservedRecurseSubmodules is the observed resource submodules + configuration used to produce the current Artifact. + type: boolean + url: + description: |- + URL is the dynamic fetch link for the latest Artifact. + It is provided on a "best effort" basis, and using the precise + GitRepositoryStatus.Artifact data is recommended. + type: string + type: object + type: object + served: true + storage: false + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: null + storedVersions: + - v1 + +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + creationTimestamp: null + name: helmcharts.source.toolkit.fluxcd.io +spec: + group: source.toolkit.fluxcd.io + names: + kind: HelmChart + listKind: HelmChartList + plural: helmcharts + shortNames: + - hc + singular: helmchart + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.chart + name: Chart + type: string + - jsonPath: .spec.version + name: Version + type: string + - jsonPath: .spec.sourceRef.kind + name: Source Kind + type: string + - jsonPath: .spec.sourceRef.name + name: Source Name + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + - jsonPath: .status.conditions[?(@.type=="Ready")].status + name: Ready + type: string + - jsonPath: .status.conditions[?(@.type=="Ready")].message + name: Status + type: string + name: v1 + schema: + openAPIV3Schema: + description: HelmChart is the Schema for the helmcharts API. + properties: + apiVersion: + description: |- + 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 + type: string + kind: + description: |- + 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 + type: string + metadata: + type: object + spec: + description: HelmChartSpec specifies the desired state of a Helm chart. + properties: + chart: + description: |- + Chart is the name or path the Helm chart is available at in the + SourceRef. + type: string + ignoreMissingValuesFiles: + description: |- + IgnoreMissingValuesFiles controls whether to silently ignore missing values + files rather than failing. + type: boolean + interval: + description: |- + 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. + pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$ + type: string + reconcileStrategy: + default: ChartVersion + description: |- + 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. + enum: + - ChartVersion + - Revision + type: string + sourceRef: + description: SourceRef is the reference to the Source the chart is + available at. + properties: + apiVersion: + description: APIVersion of the referent. + type: string + kind: + description: |- + Kind of the referent, valid values are ('HelmRepository', 'GitRepository', + 'Bucket'). + enum: + - HelmRepository + - GitRepository + - Bucket + type: string + name: + description: Name of the referent. + type: string + required: + - kind + - name + type: object + suspend: + description: |- + Suspend tells the controller to suspend the reconciliation of this + source. + type: boolean + valuesFiles: + description: |- + 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. + items: + type: string + type: array + verify: + description: |- + 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. + properties: + matchOIDCIdentity: + description: |- + 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. + items: + description: |- + OIDCIdentityMatch specifies options for verifying the certificate identity, + i.e. the issuer and the subject of the certificate. + properties: + issuer: + description: |- + 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. + type: string + subject: + description: |- + 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. + type: string + required: + - issuer + - subject + type: object + type: array + provider: + default: cosign + description: Provider specifies the technology used to sign the + OCI Artifact. + enum: + - cosign + - notation + type: string + secretRef: + description: |- + SecretRef specifies the Kubernetes Secret containing the + trusted public keys. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + required: + - provider + type: object + version: + default: '*' + description: |- + Version is the chart version semver expression, ignored for charts from + GitRepository and Bucket sources. Defaults to latest when omitted. + type: string + required: + - chart + - interval + - sourceRef + type: object + status: + default: + observedGeneration: -1 + description: HelmChartStatus records the observed state of the HelmChart. + properties: + artifact: + description: Artifact represents the output of the last successful + reconciliation. + properties: + digest: + description: Digest is the digest of the file in the form of ':'. + pattern: ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$ + type: string + lastUpdateTime: + description: |- + LastUpdateTime is the timestamp corresponding to the last update of the + Artifact. + format: date-time + type: string + metadata: + additionalProperties: + type: string + description: Metadata holds upstream information such as OCI annotations. + type: object + path: + description: |- + 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. + type: string + revision: + description: |- + 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. + type: string + size: + description: Size is the number of bytes in the file. + format: int64 + type: integer + url: + description: |- + 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. + type: string + required: + - lastUpdateTime + - path + - revision + - url + type: object + conditions: + description: Conditions holds the conditions for the HelmChart. + items: + description: "Condition contains details for one aspect of the current + state of this API Resource.\n---\nThis struct is intended for + direct use as an array at the field path .status.conditions. For + example,\n\n\n\ttype FooStatus struct{\n\t // Represents the + observations of a foo's current state.\n\t // Known .status.conditions.type + are: \"Available\", \"Progressing\", and \"Degraded\"\n\t // + +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t + \ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\" + patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t + \ // other fields\n\t}" + properties: + lastTransitionTime: + description: |- + 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. + format: date-time + type: string + message: + description: |- + message is a human readable message indicating details about the transition. + This may be an empty string. + maxLength: 32768 + type: string + observedGeneration: + description: |- + 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. + format: int64 + minimum: 0 + type: integer + reason: + description: |- + 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. + maxLength: 1024 + minLength: 1 + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ + type: string + status: + description: status of the condition, one of True, False, Unknown. + enum: + - "True" + - "False" + - Unknown + type: string + type: + description: |- + type of condition in CamelCase or in foo.example.com/CamelCase. + --- + Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be + useful (see .node.status.conditions), the ability to deconflict is important. + The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + maxLength: 316 + pattern: ^([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: string + required: + - lastTransitionTime + - message + - reason + - status + - type + type: object + type: array + lastHandledReconcileAt: + description: |- + LastHandledReconcileAt holds the value of the most recent + reconcile request value, so a change of the annotation value + can be detected. + type: string + observedChartName: + description: |- + ObservedChartName is the last observed chart name as specified by the + resolved chart reference. + type: string + observedGeneration: + description: |- + ObservedGeneration is the last observed generation of the HelmChart + object. + format: int64 + type: integer + observedSourceArtifactRevision: + description: |- + ObservedSourceArtifactRevision is the last observed Artifact.Revision + of the HelmChartSpec.SourceRef. + type: string + observedValuesFiles: + description: |- + ObservedValuesFiles are the observed value files of the last successful + reconciliation. + It matches the chart in the last successfully reconciled artifact. + items: + type: string + type: array + url: + description: |- + 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. + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} + - additionalPrinterColumns: + - jsonPath: .spec.chart + name: Chart + type: string + - jsonPath: .spec.version + name: Version + type: string + - jsonPath: .spec.sourceRef.kind + name: Source Kind + type: string + - jsonPath: .spec.sourceRef.name + name: Source Name + type: string + - jsonPath: .status.conditions[?(@.type=="Ready")].status + name: Ready + type: string + - jsonPath: .status.conditions[?(@.type=="Ready")].message + name: Status + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1beta1 + schema: + openAPIV3Schema: + description: HelmChart is the Schema for the helmcharts API + properties: + apiVersion: + description: |- + 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 + type: string + kind: + description: |- + 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 + type: string + metadata: + type: object + spec: + description: HelmChartSpec defines the desired state of a Helm chart. + properties: + accessFrom: + description: AccessFrom defines an Access Control List for allowing + cross-namespace references to this object. + properties: + namespaceSelectors: + description: |- + NamespaceSelectors is the list of namespace selectors to which this ACL applies. + Items in this list are evaluated using a logical OR operation. + items: + description: |- + NamespaceSelector selects the namespaces to which this ACL applies. + An empty map of MatchLabels matches all namespaces in a cluster. + properties: + matchLabels: + additionalProperties: + type: string + description: |- + 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. + type: object + type: object + type: array + required: + - namespaceSelectors + type: object + chart: + description: The name or path the Helm chart is available at in the + SourceRef. + type: string + interval: + description: The interval at which to check the Source for updates. + type: string + reconcileStrategy: + default: ChartVersion + description: |- + 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. + enum: + - ChartVersion + - Revision + type: string + sourceRef: + description: The reference to the Source the chart is available at. + properties: + apiVersion: + description: APIVersion of the referent. + type: string + kind: + description: |- + Kind of the referent, valid values are ('HelmRepository', 'GitRepository', + 'Bucket'). + enum: + - HelmRepository + - GitRepository + - Bucket + type: string + name: + description: Name of the referent. + type: string + required: + - kind + - name + type: object + suspend: + description: This flag tells the controller to suspend the reconciliation + of this source. + type: boolean + valuesFile: + description: |- + Alternative values file to use as the default chart values, expected to + be a relative path in the SourceRef. Deprecated in favor of ValuesFiles, + for backwards compatibility the file defined here is merged before the + ValuesFiles items. Ignored when omitted. + type: string + valuesFiles: + description: |- + 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. + items: + type: string + type: array + version: + default: '*' + description: |- + The chart version semver expression, ignored for charts from GitRepository + and Bucket sources. Defaults to latest when omitted. + type: string + required: + - chart + - interval + - sourceRef + type: object + status: + default: + observedGeneration: -1 + description: HelmChartStatus defines the observed state of the HelmChart. + properties: + artifact: + description: Artifact represents the output of the last successful + chart sync. + properties: + checksum: + description: Checksum is the SHA256 checksum of the artifact. + type: string + lastUpdateTime: + description: |- + LastUpdateTime is the timestamp corresponding to the last update of this + artifact. + format: date-time + type: string + path: + description: Path is the relative file path of this artifact. + type: string + revision: + description: |- + Revision is a human readable identifier traceable in the origin source + system. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm + chart version, etc. + type: string + url: + description: URL is the HTTP address of this artifact. + type: string + required: + - path + - url + type: object + conditions: + description: Conditions holds the conditions for the HelmChart. + items: + description: "Condition contains details for one aspect of the current + state of this API Resource.\n---\nThis struct is intended for + direct use as an array at the field path .status.conditions. For + example,\n\n\n\ttype FooStatus struct{\n\t // Represents the + observations of a foo's current state.\n\t // Known .status.conditions.type + are: \"Available\", \"Progressing\", and \"Degraded\"\n\t // + +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t + \ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\" + patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t + \ // other fields\n\t}" + properties: + lastTransitionTime: + description: |- + 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. + format: date-time + type: string + message: + description: |- + message is a human readable message indicating details about the transition. + This may be an empty string. + maxLength: 32768 + type: string + observedGeneration: + description: |- + 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. + format: int64 + minimum: 0 + type: integer + reason: + description: |- + 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. + maxLength: 1024 + minLength: 1 + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ + type: string + status: + description: status of the condition, one of True, False, Unknown. + enum: + - "True" + - "False" + - Unknown + type: string + type: + description: |- + type of condition in CamelCase or in foo.example.com/CamelCase. + --- + Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be + useful (see .node.status.conditions), the ability to deconflict is important. + The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + maxLength: 316 + pattern: ^([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: string + required: + - lastTransitionTime + - message + - reason + - status + - type + type: object + type: array + lastHandledReconcileAt: + description: |- + LastHandledReconcileAt holds the value of the most recent + reconcile request value, so a change of the annotation value + can be detected. + type: string + observedGeneration: + description: ObservedGeneration is the last observed generation. + format: int64 + type: integer + url: + description: URL is the download link for the last chart pulled. + type: string + type: object + type: object + served: true + storage: false + subresources: + status: {} + - additionalPrinterColumns: + - jsonPath: .spec.chart + name: Chart + type: string + - jsonPath: .spec.version + name: Version + type: string + - jsonPath: .spec.sourceRef.kind + name: Source Kind + type: string + - jsonPath: .spec.sourceRef.name + name: Source Name + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + - jsonPath: .status.conditions[?(@.type=="Ready")].status + name: Ready + type: string + - jsonPath: .status.conditions[?(@.type=="Ready")].message + name: Status + type: string + name: v1beta2 + schema: + openAPIV3Schema: + description: HelmChart is the Schema for the helmcharts API. + properties: + apiVersion: + description: |- + 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 + type: string + kind: + description: |- + 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 + type: string + metadata: + type: object + spec: + description: HelmChartSpec specifies the desired state of a Helm chart. + properties: + accessFrom: + description: |- + 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 + properties: + namespaceSelectors: + description: |- + NamespaceSelectors is the list of namespace selectors to which this ACL applies. + Items in this list are evaluated using a logical OR operation. + items: + description: |- + NamespaceSelector selects the namespaces to which this ACL applies. + An empty map of MatchLabels matches all namespaces in a cluster. + properties: + matchLabels: + additionalProperties: + type: string + description: |- + 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. + type: object + type: object + type: array + required: + - namespaceSelectors + type: object + chart: + description: |- + Chart is the name or path the Helm chart is available at in the + SourceRef. + type: string + ignoreMissingValuesFiles: + description: |- + IgnoreMissingValuesFiles controls whether to silently ignore missing values + files rather than failing. + type: boolean + interval: + description: |- + 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. + pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$ + type: string + reconcileStrategy: + default: ChartVersion + description: |- + 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. + enum: + - ChartVersion + - Revision + type: string + sourceRef: + description: SourceRef is the reference to the Source the chart is + available at. + properties: + apiVersion: + description: APIVersion of the referent. + type: string + kind: + description: |- + Kind of the referent, valid values are ('HelmRepository', 'GitRepository', + 'Bucket'). + enum: + - HelmRepository + - GitRepository + - Bucket + type: string + name: + description: Name of the referent. + type: string + required: + - kind + - name + type: object + suspend: + description: |- + Suspend tells the controller to suspend the reconciliation of this + source. + type: boolean + valuesFile: + description: |- + ValuesFile is an alternative values file to use as the default chart + values, expected to be a relative path in the SourceRef. Deprecated in + favor of ValuesFiles, for backwards compatibility the file specified here + is merged before the ValuesFiles items. Ignored when omitted. + type: string + valuesFiles: + description: |- + 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. + items: + type: string + type: array + verify: + description: |- + 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. + properties: + matchOIDCIdentity: + description: |- + 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. + items: + description: |- + OIDCIdentityMatch specifies options for verifying the certificate identity, + i.e. the issuer and the subject of the certificate. + properties: + issuer: + description: |- + 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. + type: string + subject: + description: |- + 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. + type: string + required: + - issuer + - subject + type: object + type: array + provider: + default: cosign + description: Provider specifies the technology used to sign the + OCI Artifact. + enum: + - cosign + - notation + type: string + secretRef: + description: |- + SecretRef specifies the Kubernetes Secret containing the + trusted public keys. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + required: + - provider + type: object + version: + default: '*' + description: |- + Version is the chart version semver expression, ignored for charts from + GitRepository and Bucket sources. Defaults to latest when omitted. + type: string + required: + - chart + - interval + - sourceRef + type: object + status: + default: + observedGeneration: -1 + description: HelmChartStatus records the observed state of the HelmChart. + properties: + artifact: + description: Artifact represents the output of the last successful + reconciliation. + properties: + digest: + description: Digest is the digest of the file in the form of ':'. + pattern: ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$ + type: string + lastUpdateTime: + description: |- + LastUpdateTime is the timestamp corresponding to the last update of the + Artifact. + format: date-time + type: string + metadata: + additionalProperties: + type: string + description: Metadata holds upstream information such as OCI annotations. + type: object + path: + description: |- + 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. + type: string + revision: + description: |- + 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. + type: string + size: + description: Size is the number of bytes in the file. + format: int64 + type: integer + url: + description: |- + 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. + type: string + required: + - lastUpdateTime + - path + - revision + - url + type: object + conditions: + description: Conditions holds the conditions for the HelmChart. + items: + description: "Condition contains details for one aspect of the current + state of this API Resource.\n---\nThis struct is intended for + direct use as an array at the field path .status.conditions. For + example,\n\n\n\ttype FooStatus struct{\n\t // Represents the + observations of a foo's current state.\n\t // Known .status.conditions.type + are: \"Available\", \"Progressing\", and \"Degraded\"\n\t // + +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t + \ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\" + patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t + \ // other fields\n\t}" + properties: + lastTransitionTime: + description: |- + 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. + format: date-time + type: string + message: + description: |- + message is a human readable message indicating details about the transition. + This may be an empty string. + maxLength: 32768 + type: string + observedGeneration: + description: |- + 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. + format: int64 + minimum: 0 + type: integer + reason: + description: |- + 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. + maxLength: 1024 + minLength: 1 + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ + type: string + status: + description: status of the condition, one of True, False, Unknown. + enum: + - "True" + - "False" + - Unknown + type: string + type: + description: |- + type of condition in CamelCase or in foo.example.com/CamelCase. + --- + Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be + useful (see .node.status.conditions), the ability to deconflict is important. + The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + maxLength: 316 + pattern: ^([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: string + required: + - lastTransitionTime + - message + - reason + - status + - type + type: object + type: array + lastHandledReconcileAt: + description: |- + LastHandledReconcileAt holds the value of the most recent + reconcile request value, so a change of the annotation value + can be detected. + type: string + observedChartName: + description: |- + ObservedChartName is the last observed chart name as specified by the + resolved chart reference. + type: string + observedGeneration: + description: |- + ObservedGeneration is the last observed generation of the HelmChart + object. + format: int64 + type: integer + observedSourceArtifactRevision: + description: |- + ObservedSourceArtifactRevision is the last observed Artifact.Revision + of the HelmChartSpec.SourceRef. + type: string + observedValuesFiles: + description: |- + ObservedValuesFiles are the observed value files of the last successful + reconciliation. + It matches the chart in the last successfully reconciled artifact. + items: + type: string + type: array + url: + description: |- + 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. + type: string + type: object + type: object + served: true + storage: false + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: null + storedVersions: + - v1 + +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + creationTimestamp: null + name: helmrepositories.source.toolkit.fluxcd.io +spec: + group: source.toolkit.fluxcd.io + names: + kind: HelmRepository + listKind: HelmRepositoryList + plural: helmrepositories + shortNames: + - helmrepo + singular: helmrepository + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.url + name: URL + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + - jsonPath: .status.conditions[?(@.type=="Ready")].status + name: Ready + type: string + - jsonPath: .status.conditions[?(@.type=="Ready")].message + name: Status + type: string + name: v1 + schema: + openAPIV3Schema: + description: HelmRepository is the Schema for the helmrepositories API. + properties: + apiVersion: + description: |- + 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 + type: string + kind: + description: |- + 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 + type: string + metadata: + type: object + spec: + description: |- + HelmRepositorySpec specifies the required configuration to produce an + Artifact for a Helm repository index YAML. + properties: + accessFrom: + description: |- + 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 + properties: + namespaceSelectors: + description: |- + NamespaceSelectors is the list of namespace selectors to which this ACL applies. + Items in this list are evaluated using a logical OR operation. + items: + description: |- + NamespaceSelector selects the namespaces to which this ACL applies. + An empty map of MatchLabels matches all namespaces in a cluster. + properties: + matchLabels: + additionalProperties: + type: string + description: |- + 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. + type: object + type: object + type: array + required: + - namespaceSelectors + type: object + certSecretRef: + description: |- + 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`. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + insecure: + description: |- + 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'. + type: boolean + interval: + description: |- + 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. + pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$ + type: string + passCredentials: + description: |- + 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. + type: boolean + provider: + default: generic + description: |- + 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'. + enum: + - generic + - aws + - azure + - gcp + type: string + secretRef: + description: |- + 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. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + suspend: + description: |- + Suspend tells the controller to suspend the reconciliation of this + HelmRepository. + type: boolean + timeout: + description: |- + 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. + pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m))+$ + type: string + type: + description: |- + Type of the HelmRepository. + When this field is set to "oci", the URL field value must be prefixed with "oci://". + enum: + - default + - oci + type: string + url: + description: |- + URL of the Helm repository, a valid URL contains at least a protocol and + host. + pattern: ^(http|https|oci)://.*$ + type: string + required: + - url + type: object + status: + default: + observedGeneration: -1 + description: HelmRepositoryStatus records the observed state of the HelmRepository. + properties: + artifact: + description: Artifact represents the last successful HelmRepository + reconciliation. + properties: + digest: + description: Digest is the digest of the file in the form of ':'. + pattern: ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$ + type: string + lastUpdateTime: + description: |- + LastUpdateTime is the timestamp corresponding to the last update of the + Artifact. + format: date-time + type: string + metadata: + additionalProperties: + type: string + description: Metadata holds upstream information such as OCI annotations. + type: object + path: + description: |- + 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. + type: string + revision: + description: |- + 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. + type: string + size: + description: Size is the number of bytes in the file. + format: int64 + type: integer + url: + description: |- + 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. + type: string + required: + - lastUpdateTime + - path + - revision + - url + type: object + conditions: + description: Conditions holds the conditions for the HelmRepository. + items: + description: "Condition contains details for one aspect of the current + state of this API Resource.\n---\nThis struct is intended for + direct use as an array at the field path .status.conditions. For + example,\n\n\n\ttype FooStatus struct{\n\t // Represents the + observations of a foo's current state.\n\t // Known .status.conditions.type + are: \"Available\", \"Progressing\", and \"Degraded\"\n\t // + +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t + \ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\" + patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t + \ // other fields\n\t}" + properties: + lastTransitionTime: + description: |- + 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. + format: date-time + type: string + message: + description: |- + message is a human readable message indicating details about the transition. + This may be an empty string. + maxLength: 32768 + type: string + observedGeneration: + description: |- + 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. + format: int64 + minimum: 0 + type: integer + reason: + description: |- + 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. + maxLength: 1024 + minLength: 1 + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ + type: string + status: + description: status of the condition, one of True, False, Unknown. + enum: + - "True" + - "False" + - Unknown + type: string + type: + description: |- + type of condition in CamelCase or in foo.example.com/CamelCase. + --- + Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be + useful (see .node.status.conditions), the ability to deconflict is important. + The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + maxLength: 316 + pattern: ^([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: string + required: + - lastTransitionTime + - message + - reason + - status + - type + type: object + type: array + lastHandledReconcileAt: + description: |- + LastHandledReconcileAt holds the value of the most recent + reconcile request value, so a change of the annotation value + can be detected. + type: string + observedGeneration: + description: |- + ObservedGeneration is the last observed generation of the HelmRepository + object. + format: int64 + type: integer + url: + description: |- + 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. + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} + - additionalPrinterColumns: + - jsonPath: .spec.url + name: URL + type: string + - jsonPath: .status.conditions[?(@.type=="Ready")].status + name: Ready + type: string + - jsonPath: .status.conditions[?(@.type=="Ready")].message + name: Status + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1beta1 + schema: + openAPIV3Schema: + description: HelmRepository is the Schema for the helmrepositories API + properties: + apiVersion: + description: |- + 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 + type: string + kind: + description: |- + 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 + type: string + metadata: + type: object + spec: + description: HelmRepositorySpec defines the reference to a Helm repository. + properties: + accessFrom: + description: AccessFrom defines an Access Control List for allowing + cross-namespace references to this object. + properties: + namespaceSelectors: + description: |- + NamespaceSelectors is the list of namespace selectors to which this ACL applies. + Items in this list are evaluated using a logical OR operation. + items: + description: |- + NamespaceSelector selects the namespaces to which this ACL applies. + An empty map of MatchLabels matches all namespaces in a cluster. + properties: + matchLabels: + additionalProperties: + type: string + description: |- + 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. + type: object + type: object + type: array + required: + - namespaceSelectors + type: object + interval: + description: The interval at which to check the upstream for updates. + type: string + passCredentials: + description: |- + 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. + type: boolean + secretRef: + description: |- + The name of the secret containing authentication credentials for the Helm + repository. + For HTTP/S basic auth the secret must contain username and + password fields. + For TLS the secret must contain a certFile and keyFile, and/or + caFile fields. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + suspend: + description: This flag tells the controller to suspend the reconciliation + of this source. + type: boolean + timeout: + default: 60s + description: The timeout of index downloading, defaults to 60s. + type: string + url: + description: The Helm repository URL, a valid URL contains at least + a protocol and host. + type: string + required: + - interval + - url + type: object + status: + default: + observedGeneration: -1 + description: HelmRepositoryStatus defines the observed state of the HelmRepository. + properties: + artifact: + description: Artifact represents the output of the last successful + repository sync. + properties: + checksum: + description: Checksum is the SHA256 checksum of the artifact. + type: string + lastUpdateTime: + description: |- + LastUpdateTime is the timestamp corresponding to the last update of this + artifact. + format: date-time + type: string + path: + description: Path is the relative file path of this artifact. + type: string + revision: + description: |- + Revision is a human readable identifier traceable in the origin source + system. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm + chart version, etc. + type: string + url: + description: URL is the HTTP address of this artifact. + type: string + required: + - path + - url + type: object + conditions: + description: Conditions holds the conditions for the HelmRepository. + items: + description: "Condition contains details for one aspect of the current + state of this API Resource.\n---\nThis struct is intended for + direct use as an array at the field path .status.conditions. For + example,\n\n\n\ttype FooStatus struct{\n\t // Represents the + observations of a foo's current state.\n\t // Known .status.conditions.type + are: \"Available\", \"Progressing\", and \"Degraded\"\n\t // + +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t + \ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\" + patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t + \ // other fields\n\t}" + properties: + lastTransitionTime: + description: |- + 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. + format: date-time + type: string + message: + description: |- + message is a human readable message indicating details about the transition. + This may be an empty string. + maxLength: 32768 + type: string + observedGeneration: + description: |- + 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. + format: int64 + minimum: 0 + type: integer + reason: + description: |- + 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. + maxLength: 1024 + minLength: 1 + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ + type: string + status: + description: status of the condition, one of True, False, Unknown. + enum: + - "True" + - "False" + - Unknown + type: string + type: + description: |- + type of condition in CamelCase or in foo.example.com/CamelCase. + --- + Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be + useful (see .node.status.conditions), the ability to deconflict is important. + The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + maxLength: 316 + pattern: ^([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: string + required: + - lastTransitionTime + - message + - reason + - status + - type + type: object + type: array + lastHandledReconcileAt: + description: |- + LastHandledReconcileAt holds the value of the most recent + reconcile request value, so a change of the annotation value + can be detected. + type: string + observedGeneration: + description: ObservedGeneration is the last observed generation. + format: int64 + type: integer + url: + description: URL is the download link for the last index fetched. + type: string + type: object + type: object + served: true + storage: false + subresources: + status: {} + - additionalPrinterColumns: + - jsonPath: .spec.url + name: URL + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + - jsonPath: .status.conditions[?(@.type=="Ready")].status + name: Ready + type: string + - jsonPath: .status.conditions[?(@.type=="Ready")].message + name: Status + type: string + name: v1beta2 + schema: + openAPIV3Schema: + description: HelmRepository is the Schema for the helmrepositories API. + properties: + apiVersion: + description: |- + 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 + type: string + kind: + description: |- + 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 + type: string + metadata: + type: object + spec: + description: |- + HelmRepositorySpec specifies the required configuration to produce an + Artifact for a Helm repository index YAML. + properties: + accessFrom: + description: |- + 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 + properties: + namespaceSelectors: + description: |- + NamespaceSelectors is the list of namespace selectors to which this ACL applies. + Items in this list are evaluated using a logical OR operation. + items: + description: |- + NamespaceSelector selects the namespaces to which this ACL applies. + An empty map of MatchLabels matches all namespaces in a cluster. + properties: + matchLabels: + additionalProperties: + type: string + description: |- + 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. + type: object + type: object + type: array + required: + - namespaceSelectors + type: object + certSecretRef: + description: |- + 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`. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + insecure: + description: |- + 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'. + type: boolean + interval: + description: |- + 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. + pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$ + type: string + passCredentials: + description: |- + 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. + type: boolean + provider: + default: generic + description: |- + 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'. + enum: + - generic + - aws + - azure + - gcp + type: string + secretRef: + description: |- + 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. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + suspend: + description: |- + Suspend tells the controller to suspend the reconciliation of this + HelmRepository. + type: boolean + timeout: + description: |- + 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. + pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m))+$ + type: string + type: + description: |- + Type of the HelmRepository. + When this field is set to "oci", the URL field value must be prefixed with "oci://". + enum: + - default + - oci + type: string + url: + description: |- + URL of the Helm repository, a valid URL contains at least a protocol and + host. + pattern: ^(http|https|oci)://.*$ + type: string + required: + - url + type: object + status: + default: + observedGeneration: -1 + description: HelmRepositoryStatus records the observed state of the HelmRepository. + properties: + artifact: + description: Artifact represents the last successful HelmRepository + reconciliation. + properties: + digest: + description: Digest is the digest of the file in the form of ':'. + pattern: ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$ + type: string + lastUpdateTime: + description: |- + LastUpdateTime is the timestamp corresponding to the last update of the + Artifact. + format: date-time + type: string + metadata: + additionalProperties: + type: string + description: Metadata holds upstream information such as OCI annotations. + type: object + path: + description: |- + 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. + type: string + revision: + description: |- + 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. + type: string + size: + description: Size is the number of bytes in the file. + format: int64 + type: integer + url: + description: |- + 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. + type: string + required: + - lastUpdateTime + - path + - revision + - url + type: object + conditions: + description: Conditions holds the conditions for the HelmRepository. + items: + description: "Condition contains details for one aspect of the current + state of this API Resource.\n---\nThis struct is intended for + direct use as an array at the field path .status.conditions. For + example,\n\n\n\ttype FooStatus struct{\n\t // Represents the + observations of a foo's current state.\n\t // Known .status.conditions.type + are: \"Available\", \"Progressing\", and \"Degraded\"\n\t // + +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t + \ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\" + patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t + \ // other fields\n\t}" + properties: + lastTransitionTime: + description: |- + 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. + format: date-time + type: string + message: + description: |- + message is a human readable message indicating details about the transition. + This may be an empty string. + maxLength: 32768 + type: string + observedGeneration: + description: |- + 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. + format: int64 + minimum: 0 + type: integer + reason: + description: |- + 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. + maxLength: 1024 + minLength: 1 + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ + type: string + status: + description: status of the condition, one of True, False, Unknown. + enum: + - "True" + - "False" + - Unknown + type: string + type: + description: |- + type of condition in CamelCase or in foo.example.com/CamelCase. + --- + Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be + useful (see .node.status.conditions), the ability to deconflict is important. + The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + maxLength: 316 + pattern: ^([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: string + required: + - lastTransitionTime + - message + - reason + - status + - type + type: object + type: array + lastHandledReconcileAt: + description: |- + LastHandledReconcileAt holds the value of the most recent + reconcile request value, so a change of the annotation value + can be detected. + type: string + observedGeneration: + description: |- + ObservedGeneration is the last observed generation of the HelmRepository + object. + format: int64 + type: integer + url: + description: |- + 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. + type: string + type: object + type: object + served: true + storage: false + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: null + storedVersions: + - v1 + +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + creationTimestamp: null + name: buckets.source.toolkit.fluxcd.io +spec: + group: source.toolkit.fluxcd.io + names: + kind: Bucket + listKind: BucketList + plural: buckets + singular: bucket + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.endpoint + name: Endpoint + type: string + - jsonPath: .status.conditions[?(@.type=="Ready")].status + name: Ready + type: string + - jsonPath: .status.conditions[?(@.type=="Ready")].message + name: Status + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1beta1 + schema: + openAPIV3Schema: + description: Bucket is the Schema for the buckets API + properties: + apiVersion: + description: |- + 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 + type: string + kind: + description: |- + 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 + type: string + metadata: + type: object + spec: + description: BucketSpec defines the desired state of an S3 compatible + bucket + properties: + accessFrom: + description: AccessFrom defines an Access Control List for allowing + cross-namespace references to this object. + properties: + namespaceSelectors: + description: |- + NamespaceSelectors is the list of namespace selectors to which this ACL applies. + Items in this list are evaluated using a logical OR operation. + items: + description: |- + NamespaceSelector selects the namespaces to which this ACL applies. + An empty map of MatchLabels matches all namespaces in a cluster. + properties: + matchLabels: + additionalProperties: + type: string + description: |- + 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. + type: object + type: object + type: array + required: + - namespaceSelectors + type: object + bucketName: + description: The bucket name. + type: string + endpoint: + description: The bucket endpoint address. + type: string + ignore: + description: |- + 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. + type: string + insecure: + description: Insecure allows connecting to a non-TLS S3 HTTP endpoint. + type: boolean + interval: + description: The interval at which to check for bucket updates. + type: string + provider: + default: generic + description: The S3 compatible storage provider name, default ('generic'). + enum: + - generic + - aws + - gcp + type: string + region: + description: The bucket region. + type: string + secretRef: + description: |- + The name of the secret containing authentication credentials + for the Bucket. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + suspend: + description: This flag tells the controller to suspend the reconciliation + of this source. + type: boolean + timeout: + default: 60s + description: The timeout for download operations, defaults to 60s. + type: string + required: + - bucketName + - endpoint + - interval + type: object + status: + default: + observedGeneration: -1 + description: BucketStatus defines the observed state of a bucket + properties: + artifact: + description: Artifact represents the output of the last successful + Bucket sync. + properties: + checksum: + description: Checksum is the SHA256 checksum of the artifact. + type: string + lastUpdateTime: + description: |- + LastUpdateTime is the timestamp corresponding to the last update of this + artifact. + format: date-time + type: string + path: + description: Path is the relative file path of this artifact. + type: string + revision: + description: |- + Revision is a human readable identifier traceable in the origin source + system. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm + chart version, etc. + type: string + url: + description: URL is the HTTP address of this artifact. + type: string + required: + - path + - url + type: object + conditions: + description: Conditions holds the conditions for the Bucket. + items: + description: "Condition contains details for one aspect of the current + state of this API Resource.\n---\nThis struct is intended for + direct use as an array at the field path .status.conditions. For + example,\n\n\n\ttype FooStatus struct{\n\t // Represents the + observations of a foo's current state.\n\t // Known .status.conditions.type + are: \"Available\", \"Progressing\", and \"Degraded\"\n\t // + +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t + \ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\" + patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t + \ // other fields\n\t}" + properties: + lastTransitionTime: + description: |- + 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. + format: date-time + type: string + message: + description: |- + message is a human readable message indicating details about the transition. + This may be an empty string. + maxLength: 32768 + type: string + observedGeneration: + description: |- + 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. + format: int64 + minimum: 0 + type: integer + reason: + description: |- + 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. + maxLength: 1024 + minLength: 1 + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ + type: string + status: + description: status of the condition, one of True, False, Unknown. + enum: + - "True" + - "False" + - Unknown + type: string + type: + description: |- + type of condition in CamelCase or in foo.example.com/CamelCase. + --- + Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be + useful (see .node.status.conditions), the ability to deconflict is important. + The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + maxLength: 316 + pattern: ^([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: string + required: + - lastTransitionTime + - message + - reason + - status + - type + type: object + type: array + lastHandledReconcileAt: + description: |- + LastHandledReconcileAt holds the value of the most recent + reconcile request value, so a change of the annotation value + can be detected. + type: string + observedGeneration: + description: ObservedGeneration is the last observed generation. + format: int64 + type: integer + url: + description: URL is the download link for the artifact output of the + last Bucket sync. + type: string + type: object + type: object + served: true + storage: false + subresources: + status: {} + - additionalPrinterColumns: + - jsonPath: .spec.endpoint + name: Endpoint + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + - jsonPath: .status.conditions[?(@.type=="Ready")].status + name: Ready + type: string + - jsonPath: .status.conditions[?(@.type=="Ready")].message + name: Status + type: string + name: v1beta2 + schema: + openAPIV3Schema: + description: Bucket is the Schema for the buckets API. + properties: + apiVersion: + description: |- + 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 + type: string + kind: + description: |- + 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 + type: string + metadata: + type: object + spec: + description: |- + BucketSpec specifies the required configuration to produce an Artifact for + an object storage bucket. + properties: + accessFrom: + description: |- + 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 + properties: + namespaceSelectors: + description: |- + NamespaceSelectors is the list of namespace selectors to which this ACL applies. + Items in this list are evaluated using a logical OR operation. + items: + description: |- + NamespaceSelector selects the namespaces to which this ACL applies. + An empty map of MatchLabels matches all namespaces in a cluster. + properties: + matchLabels: + additionalProperties: + type: string + description: |- + 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. + type: object + type: object + type: array + required: + - namespaceSelectors + type: object + bucketName: + description: BucketName is the name of the object storage bucket. + type: string + endpoint: + description: Endpoint is the object storage address the BucketName + is located at. + type: string + ignore: + description: |- + 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. + type: string + insecure: + description: Insecure allows connecting to a non-TLS HTTP Endpoint. + type: boolean + interval: + description: |- + 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. + pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$ + type: string + prefix: + description: Prefix to use for server-side filtering of files in the + Bucket. + type: string + provider: + default: generic + description: |- + Provider of the object storage bucket. + Defaults to 'generic', which expects an S3 (API) compatible object + storage. + enum: + - generic + - aws + - gcp + - azure + type: string + region: + description: Region of the Endpoint where the BucketName is located + in. + type: string + secretRef: + description: |- + SecretRef specifies the Secret containing authentication credentials + for the Bucket. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + suspend: + description: |- + Suspend tells the controller to suspend the reconciliation of this + Bucket. + type: boolean + timeout: + default: 60s + description: Timeout for fetch operations, defaults to 60s. + pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m))+$ + type: string + required: + - bucketName + - endpoint + - interval + type: object + status: + default: + observedGeneration: -1 + description: BucketStatus records the observed state of a Bucket. + properties: + artifact: + description: Artifact represents the last successful Bucket reconciliation. + properties: + digest: + description: Digest is the digest of the file in the form of ':'. + pattern: ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$ + type: string + lastUpdateTime: + description: |- + LastUpdateTime is the timestamp corresponding to the last update of the + Artifact. + format: date-time + type: string + metadata: + additionalProperties: + type: string + description: Metadata holds upstream information such as OCI annotations. + type: object + path: + description: |- + 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. + type: string + revision: + description: |- + 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. + type: string + size: + description: Size is the number of bytes in the file. + format: int64 + type: integer + url: + description: |- + 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. + type: string + required: + - lastUpdateTime + - path + - revision + - url + type: object + conditions: + description: Conditions holds the conditions for the Bucket. + items: + description: "Condition contains details for one aspect of the current + state of this API Resource.\n---\nThis struct is intended for + direct use as an array at the field path .status.conditions. For + example,\n\n\n\ttype FooStatus struct{\n\t // Represents the + observations of a foo's current state.\n\t // Known .status.conditions.type + are: \"Available\", \"Progressing\", and \"Degraded\"\n\t // + +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t + \ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\" + patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t + \ // other fields\n\t}" + properties: + lastTransitionTime: + description: |- + 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. + format: date-time + type: string + message: + description: |- + message is a human readable message indicating details about the transition. + This may be an empty string. + maxLength: 32768 + type: string + observedGeneration: + description: |- + 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. + format: int64 + minimum: 0 + type: integer + reason: + description: |- + 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. + maxLength: 1024 + minLength: 1 + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ + type: string + status: + description: status of the condition, one of True, False, Unknown. + enum: + - "True" + - "False" + - Unknown + type: string + type: + description: |- + type of condition in CamelCase or in foo.example.com/CamelCase. + --- + Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be + useful (see .node.status.conditions), the ability to deconflict is important. + The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + maxLength: 316 + pattern: ^([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: string + required: + - lastTransitionTime + - message + - reason + - status + - type + type: object + type: array + lastHandledReconcileAt: + description: |- + LastHandledReconcileAt holds the value of the most recent + reconcile request value, so a change of the annotation value + can be detected. + type: string + observedGeneration: + description: ObservedGeneration is the last observed generation of + the Bucket object. + format: int64 + type: integer + observedIgnore: + description: |- + ObservedIgnore is the observed exclusion patterns used for constructing + the source artifact. + type: string + url: + description: |- + 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. + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: null + storedVersions: + - v1beta2 + +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + creationTimestamp: null + name: ocirepositories.source.toolkit.fluxcd.io +spec: + group: source.toolkit.fluxcd.io + names: + kind: OCIRepository + listKind: OCIRepositoryList + plural: ocirepositories + shortNames: + - ocirepo + singular: ocirepository + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.url + name: URL + type: string + - jsonPath: .status.conditions[?(@.type=="Ready")].status + name: Ready + type: string + - jsonPath: .status.conditions[?(@.type=="Ready")].message + name: Status + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1beta2 + schema: + openAPIV3Schema: + description: OCIRepository is the Schema for the ocirepositories API + properties: + apiVersion: + description: |- + 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 + type: string + kind: + description: |- + 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 + type: string + metadata: + type: object + spec: + description: OCIRepositorySpec defines the desired state of OCIRepository + properties: + certSecretRef: + description: |- + 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`. + + + Note: Support for the `caFile`, `certFile` and `keyFile` keys have + been deprecated. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + ignore: + description: |- + 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. + type: string + insecure: + description: Insecure allows connecting to a non-TLS HTTP container + registry. + type: boolean + interval: + description: |- + 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. + pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$ + type: string + layerSelector: + description: |- + LayerSelector specifies which layer should be extracted from the OCI artifact. + When not specified, the first layer found in the artifact is selected. + properties: + mediaType: + description: |- + 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. + type: string + operation: + description: |- + 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. + enum: + - extract + - copy + type: string + type: object + provider: + default: generic + description: |- + The provider used for authentication, can be 'aws', 'azure', 'gcp' or 'generic'. + When not specified, defaults to 'generic'. + enum: + - generic + - aws + - azure + - gcp + type: string + ref: + description: |- + The OCI reference to pull and monitor for changes, + defaults to the latest tag. + properties: + digest: + description: |- + Digest is the image digest to pull, takes precedence over SemVer. + The value should be in the format 'sha256:'. + type: string + semver: + description: |- + SemVer is the range of tags to pull selecting the latest within + the range, takes precedence over Tag. + type: string + semverFilter: + description: SemverFilter is a regex pattern to filter the tags + within the SemVer range. + type: string + tag: + description: Tag is the image tag to pull, defaults to latest. + type: string + type: object + secretRef: + description: |- + SecretRef contains the secret name containing the registry login + credentials to resolve image metadata. + The secret must be of type kubernetes.io/dockerconfigjson. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + serviceAccountName: + description: |- + 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 + type: string + suspend: + description: This flag tells the controller to suspend the reconciliation + of this source. + type: boolean + timeout: + default: 60s + description: The timeout for remote OCI Repository operations like + pulling, defaults to 60s. + pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m))+$ + type: string + url: + description: |- + URL is a reference to an OCI artifact repository hosted + on a remote container registry. + pattern: ^oci://.*$ + type: string + verify: + description: |- + 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. + properties: + matchOIDCIdentity: + description: |- + 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. + items: + description: |- + OIDCIdentityMatch specifies options for verifying the certificate identity, + i.e. the issuer and the subject of the certificate. + properties: + issuer: + description: |- + 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. + type: string + subject: + description: |- + 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. + type: string + required: + - issuer + - subject + type: object + type: array + provider: + default: cosign + description: Provider specifies the technology used to sign the + OCI Artifact. + enum: + - cosign + - notation + type: string + secretRef: + description: |- + SecretRef specifies the Kubernetes Secret containing the + trusted public keys. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + required: + - provider + type: object + required: + - interval + - url + type: object + status: + default: + observedGeneration: -1 + description: OCIRepositoryStatus defines the observed state of OCIRepository + properties: + artifact: + description: Artifact represents the output of the last successful + OCI Repository sync. + properties: + digest: + description: Digest is the digest of the file in the form of ':'. + pattern: ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$ + type: string + lastUpdateTime: + description: |- + LastUpdateTime is the timestamp corresponding to the last update of the + Artifact. + format: date-time + type: string + metadata: + additionalProperties: + type: string + description: Metadata holds upstream information such as OCI annotations. + type: object + path: + description: |- + 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. + type: string + revision: + description: |- + 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. + type: string + size: + description: Size is the number of bytes in the file. + format: int64 + type: integer + url: + description: |- + 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. + type: string + required: + - lastUpdateTime + - path + - revision + - url + type: object + conditions: + description: Conditions holds the conditions for the OCIRepository. + items: + description: "Condition contains details for one aspect of the current + state of this API Resource.\n---\nThis struct is intended for + direct use as an array at the field path .status.conditions. For + example,\n\n\n\ttype FooStatus struct{\n\t // Represents the + observations of a foo's current state.\n\t // Known .status.conditions.type + are: \"Available\", \"Progressing\", and \"Degraded\"\n\t // + +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t + \ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\" + patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t + \ // other fields\n\t}" + properties: + lastTransitionTime: + description: |- + 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. + format: date-time + type: string + message: + description: |- + message is a human readable message indicating details about the transition. + This may be an empty string. + maxLength: 32768 + type: string + observedGeneration: + description: |- + 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. + format: int64 + minimum: 0 + type: integer + reason: + description: |- + 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. + maxLength: 1024 + minLength: 1 + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ + type: string + status: + description: status of the condition, one of True, False, Unknown. + enum: + - "True" + - "False" + - Unknown + type: string + type: + description: |- + type of condition in CamelCase or in foo.example.com/CamelCase. + --- + Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be + useful (see .node.status.conditions), the ability to deconflict is important. + The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + maxLength: 316 + pattern: ^([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: string + required: + - lastTransitionTime + - message + - reason + - status + - type + type: object + type: array + contentConfigChecksum: + description: |- + ContentConfigChecksum is a checksum of all the configurations related to + the content of the source artifact: + - .spec.ignore + - .spec.layerSelector + observed in .status.observedGeneration version of the object. This can + be used to determine if the content configuration has changed and the + artifact needs to be rebuilt. + It has the format of `:`, for example: `sha256:`. + + + Deprecated: Replaced with explicit fields for observed artifact content + config in the status. + type: string + lastHandledReconcileAt: + description: |- + LastHandledReconcileAt holds the value of the most recent + reconcile request value, so a change of the annotation value + can be detected. + type: string + observedGeneration: + description: ObservedGeneration is the last observed generation. + format: int64 + type: integer + observedIgnore: + description: |- + ObservedIgnore is the observed exclusion patterns used for constructing + the source artifact. + type: string + observedLayerSelector: + description: |- + ObservedLayerSelector is the observed layer selector used for constructing + the source artifact. + properties: + mediaType: + description: |- + 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. + type: string + operation: + description: |- + 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. + enum: + - extract + - copy + type: string + type: object + url: + description: URL is the download link for the artifact output of the + last OCI Repository sync. + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: null + storedVersions: + - v1beta2 + +--- diff --git a/fluxcd-source-controller/kcl.mod b/fluxcd-source-controller/kcl.mod new file mode 100644 index 00000000..6f59d601 --- /dev/null +++ b/fluxcd-source-controller/kcl.mod @@ -0,0 +1,8 @@ +[package] +name = "fluxcd-source-controller" +edition = "v0.9.0" +version = "v1.3.0" + +[dependencies] +k8s = "1.30" + diff --git a/fluxcd-source-controller/kcl.mod.lock b/fluxcd-source-controller/kcl.mod.lock new file mode 100644 index 00000000..34b8cdc2 --- /dev/null +++ b/fluxcd-source-controller/kcl.mod.lock @@ -0,0 +1,5 @@ +[dependencies] + [dependencies.k8s] + name = "k8s" + full_name = "k8s_1.30" + version = "1.30" diff --git a/fluxcd-source-controller/v1/source_toolkit_fluxcd_io_v1_git_repository.k b/fluxcd-source-controller/v1/source_toolkit_fluxcd_io_v1_git_repository.k new file mode 100644 index 00000000..96bb6c3c --- /dev/null +++ b/fluxcd-source-controller/v1/source_toolkit_fluxcd_io_v1_git_repository.k @@ -0,0 +1,521 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import regex +import k8s.apimachinery.pkg.apis.meta.v1 +_regex_match = regex.match + + +schema GitRepository: + """ + GitRepository is the Schema for the gitrepositories API. + + Attributes + ---------- + apiVersion : str, default is "source.toolkit.fluxcd.io/v1", required + 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 : str, default is "GitRepository", required + 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 : v1.ObjectMeta, default is Undefined, optional + metadata + spec : SourceToolkitFluxcdIoV1GitRepositorySpec, default is Undefined, optional + spec + status : SourceToolkitFluxcdIoV1GitRepositoryStatus, default is Undefined, optional + status + """ + + + apiVersion: "source.toolkit.fluxcd.io/v1" = "source.toolkit.fluxcd.io/v1" + + kind: "GitRepository" = "GitRepository" + + metadata?: v1.ObjectMeta + + spec?: SourceToolkitFluxcdIoV1GitRepositorySpec + + status?: SourceToolkitFluxcdIoV1GitRepositoryStatus + + +schema SourceToolkitFluxcdIoV1GitRepositorySpec: + """ + GitRepositorySpec specifies the required configuration to produce an + Artifact for a Git repository. + + Attributes + ---------- + ignore : str, default is Undefined, optional + Ignore overrides the set of excluded patterns in the .sourceignore format + (which is the same as .gitignore). If not provided, a default will be used, + consult the documentation for your version to find out what those are. + include : [SourceToolkitFluxcdIoV1GitRepositorySpecIncludeItems0], default is Undefined, optional + Include specifies a list of GitRepository resources which Artifacts + should be included in the Artifact produced for this GitRepository. + interval : str, default is Undefined, required + 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. + proxySecretRef : SourceToolkitFluxcdIoV1GitRepositorySpecProxySecretRef, default is Undefined, optional + proxy secret ref + recurseSubmodules : bool, default is Undefined, optional + RecurseSubmodules enables the initialization of all submodules within + the GitRepository as cloned from the URL, using their default settings. + ref : SourceToolkitFluxcdIoV1GitRepositorySpecRef, default is Undefined, optional + ref + secretRef : SourceToolkitFluxcdIoV1GitRepositorySpecSecretRef, default is Undefined, optional + secret ref + suspend : bool, default is Undefined, optional + Suspend tells the controller to suspend the reconciliation of this + GitRepository. + timeout : str, default is "60s", optional + Timeout for Git operations like cloning, defaults to 60s. + url : str, default is Undefined, required + URL specifies the Git repository URL, it can be an HTTP/S or SSH address. + verify : SourceToolkitFluxcdIoV1GitRepositorySpecVerify, default is Undefined, optional + verify + """ + + + ignore?: str + + include?: [SourceToolkitFluxcdIoV1GitRepositorySpecIncludeItems0] + + interval: str + + proxySecretRef?: SourceToolkitFluxcdIoV1GitRepositorySpecProxySecretRef + + recurseSubmodules?: bool + + ref?: SourceToolkitFluxcdIoV1GitRepositorySpecRef + + secretRef?: SourceToolkitFluxcdIoV1GitRepositorySpecSecretRef + + suspend?: bool + + timeout?: str = "60s" + + url: str + + verify?: SourceToolkitFluxcdIoV1GitRepositorySpecVerify + + + check: + _regex_match(str(interval), r"^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$") + _regex_match(str(timeout), r"^([0-9]+(\.[0-9]+)?(ms|s|m))+$") if timeout + _regex_match(str(url), r"^(http|https|ssh)://.*$") + + +schema SourceToolkitFluxcdIoV1GitRepositorySpecIncludeItems0: + """ + GitRepositoryInclude specifies a local reference to a GitRepository which + Artifact (sub-)contents must be included, and where they should be placed. + + Attributes + ---------- + fromPath : str, default is Undefined, optional + FromPath specifies the path to copy contents from, defaults to the root + of the Artifact. + repository : SourceToolkitFluxcdIoV1GitRepositorySpecIncludeItems0Repository, default is Undefined, required + repository + toPath : str, default is Undefined, optional + ToPath specifies the path to copy contents to, defaults to the name of + the GitRepositoryRef. + """ + + + fromPath?: str + + repository: SourceToolkitFluxcdIoV1GitRepositorySpecIncludeItems0Repository + + toPath?: str + + +schema SourceToolkitFluxcdIoV1GitRepositorySpecIncludeItems0Repository: + """ + GitRepositoryRef specifies the GitRepository which Artifact contents + must be included. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referent. + """ + + + name: str + + +schema SourceToolkitFluxcdIoV1GitRepositorySpecProxySecretRef: + """ + ProxySecretRef specifies the Secret containing the proxy configuration + to use while communicating with the Git server. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referent. + """ + + + name: str + + +schema SourceToolkitFluxcdIoV1GitRepositorySpecRef: + """ + Reference specifies the Git reference to resolve and monitor for + changes, defaults to the 'master' branch. + + Attributes + ---------- + branch : str, default is Undefined, optional + Branch to check out, defaults to 'master' if no other field is defined. + commit : str, default is Undefined, optional + Commit SHA to check out, takes precedence over all reference fields. + + + This can be combined with Branch to shallow clone the branch, in which + the commit is expected to exist. + name : str, default is Undefined, optional + Name of the reference to check out; takes precedence over Branch, Tag and SemVer. + + + It must be a valid Git reference: https://git-scm.com/docs/git-check-ref-format#_description + Examples: "refs/heads/main", "refs/tags/v0.1.0", "refs/pull/420/head", "refs/merge-requests/1/head" + semver : str, default is Undefined, optional + SemVer tag expression to check out, takes precedence over Tag. + tag : str, default is Undefined, optional + Tag to check out, takes precedence over Branch. + """ + + + branch?: str + + commit?: str + + name?: str + + semver?: str + + tag?: str + + +schema SourceToolkitFluxcdIoV1GitRepositorySpecSecretRef: + """ + 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. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referent. + """ + + + name: str + + +schema SourceToolkitFluxcdIoV1GitRepositorySpecVerify: + """ + Verification specifies the configuration to verify the Git commit + signature(s). + + Attributes + ---------- + mode : str, default is "HEAD", optional + 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 : SourceToolkitFluxcdIoV1GitRepositorySpecVerifySecretRef, default is Undefined, required + secret ref + """ + + + mode?: "head" | "HEAD" | "Tag" | "TagAndHEAD" = "HEAD" + + secretRef: SourceToolkitFluxcdIoV1GitRepositorySpecVerifySecretRef + + +schema SourceToolkitFluxcdIoV1GitRepositorySpecVerifySecretRef: + """ + SecretRef specifies the Secret containing the public keys of trusted Git + authors. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referent. + """ + + + name: str + + +schema SourceToolkitFluxcdIoV1GitRepositoryStatus: + """ + GitRepositoryStatus records the observed state of a Git repository. + + Attributes + ---------- + artifact : SourceToolkitFluxcdIoV1GitRepositoryStatusArtifact, default is Undefined, optional + artifact + conditions : [SourceToolkitFluxcdIoV1GitRepositoryStatusConditionsItems0], default is Undefined, optional + Conditions holds the conditions for the GitRepository. + includedArtifacts : [SourceToolkitFluxcdIoV1GitRepositoryStatusIncludedArtifactsItems0], default is Undefined, optional + IncludedArtifacts contains a list of the last successfully included + Artifacts as instructed by GitRepositorySpec.Include. + lastHandledReconcileAt : str, default is Undefined, optional + LastHandledReconcileAt holds the value of the most recent + reconcile request value, so a change of the annotation value + can be detected. + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the last observed generation of the GitRepository + object. + observedIgnore : str, default is Undefined, optional + ObservedIgnore is the observed exclusion patterns used for constructing + the source artifact. + observedInclude : [SourceToolkitFluxcdIoV1GitRepositoryStatusObservedIncludeItems0], default is Undefined, optional + ObservedInclude is the observed list of GitRepository resources used to + produce the current Artifact. + observedRecurseSubmodules : bool, default is Undefined, optional + ObservedRecurseSubmodules is the observed resource submodules + configuration used to produce the current Artifact. + sourceVerificationMode : str, default is Undefined, optional + SourceVerificationMode is the last used verification mode indicating + which Git object(s) have been verified. + """ + + + artifact?: SourceToolkitFluxcdIoV1GitRepositoryStatusArtifact + + conditions?: [SourceToolkitFluxcdIoV1GitRepositoryStatusConditionsItems0] + + includedArtifacts?: [SourceToolkitFluxcdIoV1GitRepositoryStatusIncludedArtifactsItems0] + + lastHandledReconcileAt?: str + + observedGeneration?: int + + observedIgnore?: str + + observedInclude?: [SourceToolkitFluxcdIoV1GitRepositoryStatusObservedIncludeItems0] + + observedRecurseSubmodules?: bool + + sourceVerificationMode?: str + + +schema SourceToolkitFluxcdIoV1GitRepositoryStatusArtifact: + """ + Artifact represents the last successful GitRepository reconciliation. + + Attributes + ---------- + digest : str, default is Undefined, optional + Digest is the digest of the file in the form of ':'. + lastUpdateTime : str, default is Undefined, required + LastUpdateTime is the timestamp corresponding to the last update of the + Artifact. + metadata : {str:str}, default is Undefined, optional + Metadata holds upstream information such as OCI annotations. + path : str, default is Undefined, required + 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 : str, default is Undefined, required + 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 : int, default is Undefined, optional + Size is the number of bytes in the file. + url : str, default is Undefined, required + 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. + """ + + + digest?: str + + lastUpdateTime: str + + metadata?: {str:str} + + path: str + + revision: str + + size?: int + + url: str + + + check: + _regex_match(str(digest), r"^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$") if digest + + +schema SourceToolkitFluxcdIoV1GitRepositoryStatusConditionsItems0: + """ + Condition contains details for one aspect of the current state of this API Resource. + --- + This struct is intended for direct use as an array at the field path .status.conditions. For example, + + + type FooStatus struct{ + // Represents the observations of a foo's current state. + // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" + // +patchMergeKey=type + // +patchStrategy=merge + // +listType=map + // +listMapKey=type + Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` + + + // other fields + } + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + 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 : str, default is Undefined, required + message is a human readable message indicating details about the transition. + This may be an empty string. + observedGeneration : int, default is Undefined, optional + 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 : str, default is Undefined, required + 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 : str, default is Undefined, required + status of the condition, one of True, False, Unknown. + $type : str, default is Undefined, required + type of condition in CamelCase or in foo.example.com/CamelCase. + --- + Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be + useful (see .node.status.conditions), the ability to deconflict is important. + The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + """ + + + lastTransitionTime: str + + message: str + + observedGeneration?: int + + reason: str + + status: "True" | "False" | "Unknown" + + $type: str + + + check: + len(message) <= 32768 + observedGeneration >= 0 if observedGeneration not in [None, Undefined] + len(reason) <= 1024 + len(reason) >= 1 + _regex_match(str(reason), r"^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$") + len($type) <= 316 + _regex_match(str($type), r"^([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])$") + + +schema SourceToolkitFluxcdIoV1GitRepositoryStatusIncludedArtifactsItems0: + """ + Artifact represents the output of a Source reconciliation. + + Attributes + ---------- + digest : str, default is Undefined, optional + Digest is the digest of the file in the form of ':'. + lastUpdateTime : str, default is Undefined, required + LastUpdateTime is the timestamp corresponding to the last update of the + Artifact. + metadata : {str:str}, default is Undefined, optional + Metadata holds upstream information such as OCI annotations. + path : str, default is Undefined, required + 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 : str, default is Undefined, required + 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 : int, default is Undefined, optional + Size is the number of bytes in the file. + url : str, default is Undefined, required + 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. + """ + + + digest?: str + + lastUpdateTime: str + + metadata?: {str:str} + + path: str + + revision: str + + size?: int + + url: str + + + check: + _regex_match(str(digest), r"^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$") if digest + + +schema SourceToolkitFluxcdIoV1GitRepositoryStatusObservedIncludeItems0: + """ + GitRepositoryInclude specifies a local reference to a GitRepository which + Artifact (sub-)contents must be included, and where they should be placed. + + Attributes + ---------- + fromPath : str, default is Undefined, optional + FromPath specifies the path to copy contents from, defaults to the root + of the Artifact. + repository : SourceToolkitFluxcdIoV1GitRepositoryStatusObservedIncludeItems0Repository, default is Undefined, required + repository + toPath : str, default is Undefined, optional + ToPath specifies the path to copy contents to, defaults to the name of + the GitRepositoryRef. + """ + + + fromPath?: str + + repository: SourceToolkitFluxcdIoV1GitRepositoryStatusObservedIncludeItems0Repository + + toPath?: str + + +schema SourceToolkitFluxcdIoV1GitRepositoryStatusObservedIncludeItems0Repository: + """ + GitRepositoryRef specifies the GitRepository which Artifact contents + must be included. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referent. + """ + + + name: str + + diff --git a/fluxcd-source-controller/v1/source_toolkit_fluxcd_io_v1_helm_chart.k b/fluxcd-source-controller/v1/source_toolkit_fluxcd_io_v1_helm_chart.k new file mode 100644 index 00000000..68e12f57 --- /dev/null +++ b/fluxcd-source-controller/v1/source_toolkit_fluxcd_io_v1_helm_chart.k @@ -0,0 +1,363 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import regex +import k8s.apimachinery.pkg.apis.meta.v1 +_regex_match = regex.match + + +schema HelmChart: + """ + HelmChart is the Schema for the helmcharts API. + + Attributes + ---------- + apiVersion : str, default is "source.toolkit.fluxcd.io/v1", required + 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 : str, default is "HelmChart", required + 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 : v1.ObjectMeta, default is Undefined, optional + metadata + spec : SourceToolkitFluxcdIoV1HelmChartSpec, default is Undefined, optional + spec + status : SourceToolkitFluxcdIoV1HelmChartStatus, default is Undefined, optional + status + """ + + + apiVersion: "source.toolkit.fluxcd.io/v1" = "source.toolkit.fluxcd.io/v1" + + kind: "HelmChart" = "HelmChart" + + metadata?: v1.ObjectMeta + + spec?: SourceToolkitFluxcdIoV1HelmChartSpec + + status?: SourceToolkitFluxcdIoV1HelmChartStatus + + +schema SourceToolkitFluxcdIoV1HelmChartSpec: + """ + HelmChartSpec specifies the desired state of a Helm chart. + + Attributes + ---------- + chart : str, default is Undefined, required + Chart is the name or path the Helm chart is available at in the + SourceRef. + ignoreMissingValuesFiles : bool, default is Undefined, optional + IgnoreMissingValuesFiles controls whether to silently ignore missing values + files rather than failing. + interval : str, default is Undefined, required + 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 : str, default is "ChartVersion", optional + ReconcileStrategy determines what enables the creation of a new artifact. + Valid values are ('ChartVersion', 'Revision'). + See the documentation of the values for an explanation on their behavior. + Defaults to ChartVersion when omitted. + sourceRef : SourceToolkitFluxcdIoV1HelmChartSpecSourceRef, default is Undefined, required + source ref + suspend : bool, default is Undefined, optional + Suspend tells the controller to suspend the reconciliation of this + source. + valuesFiles : [str], default is Undefined, optional + ValuesFiles is an alternative list of values files to use as the chart + values (values.yaml is not included by default), expected to be a + relative path in the SourceRef. + Values files are merged in the order of this list with the last file + overriding the first. Ignored when omitted. + verify : SourceToolkitFluxcdIoV1HelmChartSpecVerify, default is Undefined, optional + verify + version : str, default is "*", optional + Version is the chart version semver expression, ignored for charts from + GitRepository and Bucket sources. Defaults to latest when omitted. + """ + + + chart: str + + ignoreMissingValuesFiles?: bool + + interval: str + + reconcileStrategy?: "ChartVersion" | "Revision" = "ChartVersion" + + sourceRef: SourceToolkitFluxcdIoV1HelmChartSpecSourceRef + + suspend?: bool + + valuesFiles?: [str] + + verify?: SourceToolkitFluxcdIoV1HelmChartSpecVerify + + version?: str = "*" + + + check: + _regex_match(str(interval), r"^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$") + + +schema SourceToolkitFluxcdIoV1HelmChartSpecSourceRef: + """ + SourceRef is the reference to the Source the chart is available at. + + Attributes + ---------- + apiVersion : str, default is Undefined, optional + APIVersion of the referent. + kind : str, default is Undefined, required + Kind of the referent, valid values are ('HelmRepository', 'GitRepository', + 'Bucket'). + name : str, default is Undefined, required + Name of the referent. + """ + + + apiVersion?: str + + kind: "HelmRepository" | "GitRepository" | "Bucket" + + name: str + + +schema SourceToolkitFluxcdIoV1HelmChartSpecVerify: + """ + 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. + + Attributes + ---------- + matchOIDCIdentity : [SourceToolkitFluxcdIoV1HelmChartSpecVerifyMatchOIDCIdentityItems0], default is Undefined, optional + 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. + provider : str, default is "cosign", required + Provider specifies the technology used to sign the OCI Artifact. + secretRef : SourceToolkitFluxcdIoV1HelmChartSpecVerifySecretRef, default is Undefined, optional + secret ref + """ + + + matchOIDCIdentity?: [SourceToolkitFluxcdIoV1HelmChartSpecVerifyMatchOIDCIdentityItems0] + + provider: "cosign" | "notation" = "cosign" + + secretRef?: SourceToolkitFluxcdIoV1HelmChartSpecVerifySecretRef + + +schema SourceToolkitFluxcdIoV1HelmChartSpecVerifyMatchOIDCIdentityItems0: + """ + OIDCIdentityMatch specifies options for verifying the certificate identity, + i.e. the issuer and the subject of the certificate. + + Attributes + ---------- + issuer : str, default is Undefined, required + 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 : str, default is Undefined, required + 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. + """ + + + issuer: str + + subject: str + + +schema SourceToolkitFluxcdIoV1HelmChartSpecVerifySecretRef: + """ + SecretRef specifies the Kubernetes Secret containing the + trusted public keys. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referent. + """ + + + name: str + + +schema SourceToolkitFluxcdIoV1HelmChartStatus: + """ + HelmChartStatus records the observed state of the HelmChart. + + Attributes + ---------- + artifact : SourceToolkitFluxcdIoV1HelmChartStatusArtifact, default is Undefined, optional + artifact + conditions : [SourceToolkitFluxcdIoV1HelmChartStatusConditionsItems0], default is Undefined, optional + Conditions holds the conditions for the HelmChart. + lastHandledReconcileAt : str, default is Undefined, optional + LastHandledReconcileAt holds the value of the most recent + reconcile request value, so a change of the annotation value + can be detected. + observedChartName : str, default is Undefined, optional + ObservedChartName is the last observed chart name as specified by the + resolved chart reference. + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the last observed generation of the HelmChart + object. + observedSourceArtifactRevision : str, default is Undefined, optional + ObservedSourceArtifactRevision is the last observed Artifact.Revision + of the HelmChartSpec.SourceRef. + observedValuesFiles : [str], default is Undefined, optional + ObservedValuesFiles are the observed value files of the last successful + reconciliation. + It matches the chart in the last successfully reconciled artifact. + url : str, default is Undefined, optional + URL is the dynamic fetch link for the latest Artifact. + It is provided on a "best effort" basis, and using the precise + BucketStatus.Artifact data is recommended. + """ + + + artifact?: SourceToolkitFluxcdIoV1HelmChartStatusArtifact + + conditions?: [SourceToolkitFluxcdIoV1HelmChartStatusConditionsItems0] + + lastHandledReconcileAt?: str + + observedChartName?: str + + observedGeneration?: int + + observedSourceArtifactRevision?: str + + observedValuesFiles?: [str] + + url?: str + + +schema SourceToolkitFluxcdIoV1HelmChartStatusArtifact: + """ + Artifact represents the output of the last successful reconciliation. + + Attributes + ---------- + digest : str, default is Undefined, optional + Digest is the digest of the file in the form of ':'. + lastUpdateTime : str, default is Undefined, required + LastUpdateTime is the timestamp corresponding to the last update of the + Artifact. + metadata : {str:str}, default is Undefined, optional + Metadata holds upstream information such as OCI annotations. + path : str, default is Undefined, required + 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 : str, default is Undefined, required + 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 : int, default is Undefined, optional + Size is the number of bytes in the file. + url : str, default is Undefined, required + 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. + """ + + + digest?: str + + lastUpdateTime: str + + metadata?: {str:str} + + path: str + + revision: str + + size?: int + + url: str + + + check: + _regex_match(str(digest), r"^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$") if digest + + +schema SourceToolkitFluxcdIoV1HelmChartStatusConditionsItems0: + """ + Condition contains details for one aspect of the current state of this API Resource. + --- + This struct is intended for direct use as an array at the field path .status.conditions. For example, + + + type FooStatus struct{ + // Represents the observations of a foo's current state. + // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" + // +patchMergeKey=type + // +patchStrategy=merge + // +listType=map + // +listMapKey=type + Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` + + + // other fields + } + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + 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 : str, default is Undefined, required + message is a human readable message indicating details about the transition. + This may be an empty string. + observedGeneration : int, default is Undefined, optional + 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 : str, default is Undefined, required + 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 : str, default is Undefined, required + status of the condition, one of True, False, Unknown. + $type : str, default is Undefined, required + type of condition in CamelCase or in foo.example.com/CamelCase. + --- + Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be + useful (see .node.status.conditions), the ability to deconflict is important. + The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + """ + + + lastTransitionTime: str + + message: str + + observedGeneration?: int + + reason: str + + status: "True" | "False" | "Unknown" + + $type: str + + + check: + len(message) <= 32768 + observedGeneration >= 0 if observedGeneration not in [None, Undefined] + len(reason) <= 1024 + len(reason) >= 1 + _regex_match(str(reason), r"^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$") + len($type) <= 316 + _regex_match(str($type), r"^([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])$") + + diff --git a/fluxcd-source-controller/v1/source_toolkit_fluxcd_io_v1_helm_repository.k b/fluxcd-source-controller/v1/source_toolkit_fluxcd_io_v1_helm_repository.k new file mode 100644 index 00000000..afd44f8a --- /dev/null +++ b/fluxcd-source-controller/v1/source_toolkit_fluxcd_io_v1_helm_repository.k @@ -0,0 +1,355 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import regex +import k8s.apimachinery.pkg.apis.meta.v1 +_regex_match = regex.match + + +schema HelmRepository: + """ + HelmRepository is the Schema for the helmrepositories API. + + Attributes + ---------- + apiVersion : str, default is "source.toolkit.fluxcd.io/v1", required + 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 : str, default is "HelmRepository", required + 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 : v1.ObjectMeta, default is Undefined, optional + metadata + spec : SourceToolkitFluxcdIoV1HelmRepositorySpec, default is Undefined, optional + spec + status : SourceToolkitFluxcdIoV1HelmRepositoryStatus, default is Undefined, optional + status + """ + + + apiVersion: "source.toolkit.fluxcd.io/v1" = "source.toolkit.fluxcd.io/v1" + + kind: "HelmRepository" = "HelmRepository" + + metadata?: v1.ObjectMeta + + spec?: SourceToolkitFluxcdIoV1HelmRepositorySpec + + status?: SourceToolkitFluxcdIoV1HelmRepositoryStatus + + +schema SourceToolkitFluxcdIoV1HelmRepositorySpec: + """ + HelmRepositorySpec specifies the required configuration to produce an + Artifact for a Helm repository index YAML. + + Attributes + ---------- + accessFrom : SourceToolkitFluxcdIoV1HelmRepositorySpecAccessFrom, default is Undefined, optional + access from + certSecretRef : SourceToolkitFluxcdIoV1HelmRepositorySpecCertSecretRef, default is Undefined, optional + cert secret ref + insecure : bool, default is Undefined, optional + Insecure allows connecting to a non-TLS HTTP container registry. + This field is only taken into account if the .spec.type field is set to 'oci'. + interval : str, default is Undefined, optional + Interval at which the HelmRepository URL is checked for updates. + This interval is approximate and may be subject to jitter to ensure + efficient use of resources. + passCredentials : bool, default is Undefined, optional + PassCredentials allows the credentials from the SecretRef to be passed + on to a host that does not match the host as defined in URL. + This may be required if the host of the advertised chart URLs in the + index differ from the defined URL. + Enabling this should be done with caution, as it can potentially result + in credentials getting stolen in a MITM-attack. + provider : str, default is "generic", optional + Provider used for authentication, can be 'aws', 'azure', 'gcp' or 'generic'. + This field is optional, and only taken into account if the .spec.type field is set to 'oci'. + When not specified, defaults to 'generic'. + secretRef : SourceToolkitFluxcdIoV1HelmRepositorySpecSecretRef, default is Undefined, optional + secret ref + suspend : bool, default is Undefined, optional + Suspend tells the controller to suspend the reconciliation of this + HelmRepository. + timeout : str, default is Undefined, optional + Timeout is used for the index fetch operation for an HTTPS helm repository, + and for remote OCI Repository operations like pulling for an OCI helm + chart by the associated HelmChart. + Its default value is 60s. + $type : str, default is Undefined, optional + Type of the HelmRepository. + When this field is set to "oci", the URL field value must be prefixed with "oci://". + url : str, default is Undefined, required + URL of the Helm repository, a valid URL contains at least a protocol and + host. + """ + + + accessFrom?: SourceToolkitFluxcdIoV1HelmRepositorySpecAccessFrom + + certSecretRef?: SourceToolkitFluxcdIoV1HelmRepositorySpecCertSecretRef + + insecure?: bool + + interval?: str + + passCredentials?: bool + + provider?: "generic" | "aws" | "azure" | "gcp" = "generic" + + secretRef?: SourceToolkitFluxcdIoV1HelmRepositorySpecSecretRef + + suspend?: bool + + timeout?: str + + $type?: "default" | "oci" + + url: str + + + check: + _regex_match(str(interval), r"^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$") if interval + _regex_match(str(timeout), r"^([0-9]+(\.[0-9]+)?(ms|s|m))+$") if timeout + _regex_match(str(url), r"^(http|https|oci)://.*$") + + +schema SourceToolkitFluxcdIoV1HelmRepositorySpecAccessFrom: + """ + 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 + + Attributes + ---------- + namespaceSelectors : [SourceToolkitFluxcdIoV1HelmRepositorySpecAccessFromNamespaceSelectorsItems0], default is Undefined, required + NamespaceSelectors is the list of namespace selectors to which this ACL applies. + Items in this list are evaluated using a logical OR operation. + """ + + + namespaceSelectors: [SourceToolkitFluxcdIoV1HelmRepositorySpecAccessFromNamespaceSelectorsItems0] + + +schema SourceToolkitFluxcdIoV1HelmRepositorySpecAccessFromNamespaceSelectorsItems0: + """ + NamespaceSelector selects the namespaces to which this ACL applies. + An empty map of MatchLabels matches all namespaces in a cluster. + + Attributes + ---------- + matchLabels : {str:str}, default is Undefined, optional + 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?: {str:str} + + +schema SourceToolkitFluxcdIoV1HelmRepositorySpecCertSecretRef: + """ + 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`. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referent. + """ + + + name: str + + +schema SourceToolkitFluxcdIoV1HelmRepositorySpecSecretRef: + """ + 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. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referent. + """ + + + name: str + + +schema SourceToolkitFluxcdIoV1HelmRepositoryStatus: + """ + HelmRepositoryStatus records the observed state of the HelmRepository. + + Attributes + ---------- + artifact : SourceToolkitFluxcdIoV1HelmRepositoryStatusArtifact, default is Undefined, optional + artifact + conditions : [SourceToolkitFluxcdIoV1HelmRepositoryStatusConditionsItems0], default is Undefined, optional + Conditions holds the conditions for the HelmRepository. + lastHandledReconcileAt : str, default is Undefined, optional + LastHandledReconcileAt holds the value of the most recent + reconcile request value, so a change of the annotation value + can be detected. + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the last observed generation of the HelmRepository + object. + url : str, default is Undefined, optional + URL is the dynamic fetch link for the latest Artifact. + It is provided on a "best effort" basis, and using the precise + HelmRepositoryStatus.Artifact data is recommended. + """ + + + artifact?: SourceToolkitFluxcdIoV1HelmRepositoryStatusArtifact + + conditions?: [SourceToolkitFluxcdIoV1HelmRepositoryStatusConditionsItems0] + + lastHandledReconcileAt?: str + + observedGeneration?: int + + url?: str + + +schema SourceToolkitFluxcdIoV1HelmRepositoryStatusArtifact: + """ + Artifact represents the last successful HelmRepository reconciliation. + + Attributes + ---------- + digest : str, default is Undefined, optional + Digest is the digest of the file in the form of ':'. + lastUpdateTime : str, default is Undefined, required + LastUpdateTime is the timestamp corresponding to the last update of the + Artifact. + metadata : {str:str}, default is Undefined, optional + Metadata holds upstream information such as OCI annotations. + path : str, default is Undefined, required + 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 : str, default is Undefined, required + 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 : int, default is Undefined, optional + Size is the number of bytes in the file. + url : str, default is Undefined, required + 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. + """ + + + digest?: str + + lastUpdateTime: str + + metadata?: {str:str} + + path: str + + revision: str + + size?: int + + url: str + + + check: + _regex_match(str(digest), r"^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$") if digest + + +schema SourceToolkitFluxcdIoV1HelmRepositoryStatusConditionsItems0: + """ + Condition contains details for one aspect of the current state of this API Resource. + --- + This struct is intended for direct use as an array at the field path .status.conditions. For example, + + + type FooStatus struct{ + // Represents the observations of a foo's current state. + // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" + // +patchMergeKey=type + // +patchStrategy=merge + // +listType=map + // +listMapKey=type + Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` + + + // other fields + } + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + 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 : str, default is Undefined, required + message is a human readable message indicating details about the transition. + This may be an empty string. + observedGeneration : int, default is Undefined, optional + 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 : str, default is Undefined, required + 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 : str, default is Undefined, required + status of the condition, one of True, False, Unknown. + $type : str, default is Undefined, required + type of condition in CamelCase or in foo.example.com/CamelCase. + --- + Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be + useful (see .node.status.conditions), the ability to deconflict is important. + The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + """ + + + lastTransitionTime: str + + message: str + + observedGeneration?: int + + reason: str + + status: "True" | "False" | "Unknown" + + $type: str + + + check: + len(message) <= 32768 + observedGeneration >= 0 if observedGeneration not in [None, Undefined] + len(reason) <= 1024 + len(reason) >= 1 + _regex_match(str(reason), r"^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$") + len($type) <= 316 + _regex_match(str($type), r"^([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])$") + + diff --git a/fluxcd-source-controller/v1beta1/source_toolkit_fluxcd_io_v1beta1_bucket.k b/fluxcd-source-controller/v1beta1/source_toolkit_fluxcd_io_v1beta1_bucket.k new file mode 100644 index 00000000..f64332e5 --- /dev/null +++ b/fluxcd-source-controller/v1beta1/source_toolkit_fluxcd_io_v1beta1_bucket.k @@ -0,0 +1,279 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import regex +import k8s.apimachinery.pkg.apis.meta.v1 +_regex_match = regex.match + + +schema Bucket: + """ + Bucket is the Schema for the buckets API + + Attributes + ---------- + apiVersion : str, default is "source.toolkit.fluxcd.io/v1beta1", required + 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 : str, default is "Bucket", required + 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 : v1.ObjectMeta, default is Undefined, optional + metadata + spec : SourceToolkitFluxcdIoV1beta1BucketSpec, default is Undefined, optional + spec + status : SourceToolkitFluxcdIoV1beta1BucketStatus, default is Undefined, optional + status + """ + + + apiVersion: "source.toolkit.fluxcd.io/v1beta1" = "source.toolkit.fluxcd.io/v1beta1" + + kind: "Bucket" = "Bucket" + + metadata?: v1.ObjectMeta + + spec?: SourceToolkitFluxcdIoV1beta1BucketSpec + + status?: SourceToolkitFluxcdIoV1beta1BucketStatus + + +schema SourceToolkitFluxcdIoV1beta1BucketSpec: + """ + BucketSpec defines the desired state of an S3 compatible bucket + + Attributes + ---------- + accessFrom : SourceToolkitFluxcdIoV1beta1BucketSpecAccessFrom, default is Undefined, optional + access from + bucketName : str, default is Undefined, required + The bucket name. + endpoint : str, default is Undefined, required + The bucket endpoint address. + ignore : str, default is Undefined, optional + Ignore overrides the set of excluded patterns in the .sourceignore format + (which is the same as .gitignore). If not provided, a default will be used, + consult the documentation for your version to find out what those are. + insecure : bool, default is Undefined, optional + Insecure allows connecting to a non-TLS S3 HTTP endpoint. + interval : str, default is Undefined, required + The interval at which to check for bucket updates. + provider : str, default is "generic", optional + The S3 compatible storage provider name, default ('generic'). + region : str, default is Undefined, optional + The bucket region. + secretRef : SourceToolkitFluxcdIoV1beta1BucketSpecSecretRef, default is Undefined, optional + secret ref + suspend : bool, default is Undefined, optional + This flag tells the controller to suspend the reconciliation of this source. + timeout : str, default is "60s", optional + The timeout for download operations, defaults to 60s. + """ + + + accessFrom?: SourceToolkitFluxcdIoV1beta1BucketSpecAccessFrom + + bucketName: str + + endpoint: str + + ignore?: str + + insecure?: bool + + interval: str + + provider?: "generic" | "aws" | "gcp" = "generic" + + region?: str + + secretRef?: SourceToolkitFluxcdIoV1beta1BucketSpecSecretRef + + suspend?: bool + + timeout?: str = "60s" + + +schema SourceToolkitFluxcdIoV1beta1BucketSpecAccessFrom: + """ + AccessFrom defines an Access Control List for allowing cross-namespace references to this object. + + Attributes + ---------- + namespaceSelectors : [SourceToolkitFluxcdIoV1beta1BucketSpecAccessFromNamespaceSelectorsItems0], default is Undefined, required + NamespaceSelectors is the list of namespace selectors to which this ACL applies. + Items in this list are evaluated using a logical OR operation. + """ + + + namespaceSelectors: [SourceToolkitFluxcdIoV1beta1BucketSpecAccessFromNamespaceSelectorsItems0] + + +schema SourceToolkitFluxcdIoV1beta1BucketSpecAccessFromNamespaceSelectorsItems0: + """ + NamespaceSelector selects the namespaces to which this ACL applies. + An empty map of MatchLabels matches all namespaces in a cluster. + + Attributes + ---------- + matchLabels : {str:str}, default is Undefined, optional + 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?: {str:str} + + +schema SourceToolkitFluxcdIoV1beta1BucketSpecSecretRef: + """ + The name of the secret containing authentication credentials + for the Bucket. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referent. + """ + + + name: str + + +schema SourceToolkitFluxcdIoV1beta1BucketStatus: + """ + BucketStatus defines the observed state of a bucket + + Attributes + ---------- + artifact : SourceToolkitFluxcdIoV1beta1BucketStatusArtifact, default is Undefined, optional + artifact + conditions : [SourceToolkitFluxcdIoV1beta1BucketStatusConditionsItems0], default is Undefined, optional + Conditions holds the conditions for the Bucket. + lastHandledReconcileAt : str, default is Undefined, optional + LastHandledReconcileAt holds the value of the most recent + reconcile request value, so a change of the annotation value + can be detected. + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the last observed generation. + url : str, default is Undefined, optional + URL is the download link for the artifact output of the last Bucket sync. + """ + + + artifact?: SourceToolkitFluxcdIoV1beta1BucketStatusArtifact + + conditions?: [SourceToolkitFluxcdIoV1beta1BucketStatusConditionsItems0] + + lastHandledReconcileAt?: str + + observedGeneration?: int + + url?: str + + +schema SourceToolkitFluxcdIoV1beta1BucketStatusArtifact: + """ + Artifact represents the output of the last successful Bucket sync. + + Attributes + ---------- + checksum : str, default is Undefined, optional + Checksum is the SHA256 checksum of the artifact. + lastUpdateTime : str, default is Undefined, optional + LastUpdateTime is the timestamp corresponding to the last update of this + artifact. + path : str, default is Undefined, required + Path is the relative file path of this artifact. + revision : str, default is Undefined, optional + Revision is a human readable identifier traceable in the origin source + system. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm + chart version, etc. + url : str, default is Undefined, required + URL is the HTTP address of this artifact. + """ + + + checksum?: str + + lastUpdateTime?: str + + path: str + + revision?: str + + url: str + + +schema SourceToolkitFluxcdIoV1beta1BucketStatusConditionsItems0: + """ + Condition contains details for one aspect of the current state of this API Resource. + --- + This struct is intended for direct use as an array at the field path .status.conditions. For example, + + + type FooStatus struct{ + // Represents the observations of a foo's current state. + // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" + // +patchMergeKey=type + // +patchStrategy=merge + // +listType=map + // +listMapKey=type + Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` + + + // other fields + } + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + 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 : str, default is Undefined, required + message is a human readable message indicating details about the transition. + This may be an empty string. + observedGeneration : int, default is Undefined, optional + 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 : str, default is Undefined, required + 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 : str, default is Undefined, required + status of the condition, one of True, False, Unknown. + $type : str, default is Undefined, required + type of condition in CamelCase or in foo.example.com/CamelCase. + --- + Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be + useful (see .node.status.conditions), the ability to deconflict is important. + The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + """ + + + lastTransitionTime: str + + message: str + + observedGeneration?: int + + reason: str + + status: "True" | "False" | "Unknown" + + $type: str + + + check: + len(message) <= 32768 + observedGeneration >= 0 if observedGeneration not in [None, Undefined] + len(reason) <= 1024 + len(reason) >= 1 + _regex_match(str(reason), r"^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$") + len($type) <= 316 + _regex_match(str($type), r"^([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])$") + + diff --git a/fluxcd-source-controller/v1beta1/source_toolkit_fluxcd_io_v1beta1_git_repository.k b/fluxcd-source-controller/v1beta1/source_toolkit_fluxcd_io_v1beta1_git_repository.k new file mode 100644 index 00000000..386f5eb6 --- /dev/null +++ b/fluxcd-source-controller/v1beta1/source_toolkit_fluxcd_io_v1beta1_git_repository.k @@ -0,0 +1,426 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import regex +import k8s.apimachinery.pkg.apis.meta.v1 +_regex_match = regex.match + + +schema GitRepository: + """ + GitRepository is the Schema for the gitrepositories API + + Attributes + ---------- + apiVersion : str, default is "source.toolkit.fluxcd.io/v1beta1", required + 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 : str, default is "GitRepository", required + 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 : v1.ObjectMeta, default is Undefined, optional + metadata + spec : SourceToolkitFluxcdIoV1beta1GitRepositorySpec, default is Undefined, optional + spec + status : SourceToolkitFluxcdIoV1beta1GitRepositoryStatus, default is Undefined, optional + status + """ + + + apiVersion: "source.toolkit.fluxcd.io/v1beta1" = "source.toolkit.fluxcd.io/v1beta1" + + kind: "GitRepository" = "GitRepository" + + metadata?: v1.ObjectMeta + + spec?: SourceToolkitFluxcdIoV1beta1GitRepositorySpec + + status?: SourceToolkitFluxcdIoV1beta1GitRepositoryStatus + + +schema SourceToolkitFluxcdIoV1beta1GitRepositorySpec: + """ + GitRepositorySpec defines the desired state of a Git repository. + + Attributes + ---------- + accessFrom : SourceToolkitFluxcdIoV1beta1GitRepositorySpecAccessFrom, default is Undefined, optional + access from + gitImplementation : str, default is "go-git", optional + Determines which git client library to use. + Defaults to go-git, valid values are ('go-git', 'libgit2'). + ignore : str, default is Undefined, optional + Ignore overrides the set of excluded patterns in the .sourceignore format + (which is the same as .gitignore). If not provided, a default will be used, + consult the documentation for your version to find out what those are. + include : [SourceToolkitFluxcdIoV1beta1GitRepositorySpecIncludeItems0], default is Undefined, optional + Extra git repositories to map into the repository + interval : str, default is Undefined, required + The interval at which to check for repository updates. + recurseSubmodules : bool, default is Undefined, optional + When enabled, after the clone is created, initializes all submodules within, + using their default settings. + This option is available only when using the 'go-git' GitImplementation. + ref : SourceToolkitFluxcdIoV1beta1GitRepositorySpecRef, default is Undefined, optional + ref + secretRef : SourceToolkitFluxcdIoV1beta1GitRepositorySpecSecretRef, default is Undefined, optional + secret ref + suspend : bool, default is Undefined, optional + This flag tells the controller to suspend the reconciliation of this source. + timeout : str, default is "60s", optional + The timeout for remote Git operations like cloning, defaults to 60s. + url : str, default is Undefined, required + The repository URL, can be a HTTP/S or SSH address. + verify : SourceToolkitFluxcdIoV1beta1GitRepositorySpecVerify, default is Undefined, optional + verify + """ + + + accessFrom?: SourceToolkitFluxcdIoV1beta1GitRepositorySpecAccessFrom + + gitImplementation?: "go-git" | "libgit2" = "go-git" + + ignore?: str + + include?: [SourceToolkitFluxcdIoV1beta1GitRepositorySpecIncludeItems0] + + interval: str + + recurseSubmodules?: bool + + ref?: SourceToolkitFluxcdIoV1beta1GitRepositorySpecRef + + secretRef?: SourceToolkitFluxcdIoV1beta1GitRepositorySpecSecretRef + + suspend?: bool + + timeout?: str = "60s" + + url: str + + verify?: SourceToolkitFluxcdIoV1beta1GitRepositorySpecVerify + + + check: + _regex_match(str(url), r"^(http|https|ssh)://.*$") + + +schema SourceToolkitFluxcdIoV1beta1GitRepositorySpecAccessFrom: + """ + AccessFrom defines an Access Control List for allowing cross-namespace references to this object. + + Attributes + ---------- + namespaceSelectors : [SourceToolkitFluxcdIoV1beta1GitRepositorySpecAccessFromNamespaceSelectorsItems0], default is Undefined, required + NamespaceSelectors is the list of namespace selectors to which this ACL applies. + Items in this list are evaluated using a logical OR operation. + """ + + + namespaceSelectors: [SourceToolkitFluxcdIoV1beta1GitRepositorySpecAccessFromNamespaceSelectorsItems0] + + +schema SourceToolkitFluxcdIoV1beta1GitRepositorySpecAccessFromNamespaceSelectorsItems0: + """ + NamespaceSelector selects the namespaces to which this ACL applies. + An empty map of MatchLabels matches all namespaces in a cluster. + + Attributes + ---------- + matchLabels : {str:str}, default is Undefined, optional + 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?: {str:str} + + +schema SourceToolkitFluxcdIoV1beta1GitRepositorySpecIncludeItems0: + """ + GitRepositoryInclude defines a source with a from and to path. + + Attributes + ---------- + fromPath : str, default is Undefined, optional + The path to copy contents from, defaults to the root directory. + repository : SourceToolkitFluxcdIoV1beta1GitRepositorySpecIncludeItems0Repository, default is Undefined, required + repository + toPath : str, default is Undefined, optional + The path to copy contents to, defaults to the name of the source ref. + """ + + + fromPath?: str + + repository: SourceToolkitFluxcdIoV1beta1GitRepositorySpecIncludeItems0Repository + + toPath?: str + + +schema SourceToolkitFluxcdIoV1beta1GitRepositorySpecIncludeItems0Repository: + """ + Reference to a GitRepository to include. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referent. + """ + + + name: str + + +schema SourceToolkitFluxcdIoV1beta1GitRepositorySpecRef: + """ + The Git reference to checkout and monitor for changes, defaults to + master branch. + + Attributes + ---------- + branch : str, default is Undefined, optional + The Git branch to checkout, defaults to master. + commit : str, default is Undefined, optional + The Git commit SHA to checkout, if specified Tag filters will be ignored. + semver : str, default is Undefined, optional + The Git tag semver expression, takes precedence over Tag. + tag : str, default is Undefined, optional + The Git tag to checkout, takes precedence over Branch. + """ + + + branch?: str + + commit?: str + + semver?: str + + tag?: str + + +schema SourceToolkitFluxcdIoV1beta1GitRepositorySpecSecretRef: + """ + The secret name containing the Git credentials. + For HTTPS repositories the secret must contain username and password + fields. + For SSH repositories the secret must contain identity and known_hosts + fields. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referent. + """ + + + name: str + + +schema SourceToolkitFluxcdIoV1beta1GitRepositorySpecVerify: + """ + Verify OpenPGP signature for the Git commit HEAD points to. + + Attributes + ---------- + mode : str, default is Undefined, required + Mode describes what git object should be verified, currently ('head'). + secretRef : SourceToolkitFluxcdIoV1beta1GitRepositorySpecVerifySecretRef, default is Undefined, optional + secret ref + """ + + + mode: "head" + + secretRef?: SourceToolkitFluxcdIoV1beta1GitRepositorySpecVerifySecretRef + + +schema SourceToolkitFluxcdIoV1beta1GitRepositorySpecVerifySecretRef: + """ + The secret name containing the public keys of all trusted Git authors. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referent. + """ + + + name: str + + +schema SourceToolkitFluxcdIoV1beta1GitRepositoryStatus: + """ + GitRepositoryStatus defines the observed state of a Git repository. + + Attributes + ---------- + artifact : SourceToolkitFluxcdIoV1beta1GitRepositoryStatusArtifact, default is Undefined, optional + artifact + conditions : [SourceToolkitFluxcdIoV1beta1GitRepositoryStatusConditionsItems0], default is Undefined, optional + Conditions holds the conditions for the GitRepository. + includedArtifacts : [SourceToolkitFluxcdIoV1beta1GitRepositoryStatusIncludedArtifactsItems0], default is Undefined, optional + IncludedArtifacts represents the included artifacts from the last successful repository sync. + lastHandledReconcileAt : str, default is Undefined, optional + LastHandledReconcileAt holds the value of the most recent + reconcile request value, so a change of the annotation value + can be detected. + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the last observed generation. + url : str, default is Undefined, optional + URL is the download link for the artifact output of the last repository + sync. + """ + + + artifact?: SourceToolkitFluxcdIoV1beta1GitRepositoryStatusArtifact + + conditions?: [SourceToolkitFluxcdIoV1beta1GitRepositoryStatusConditionsItems0] + + includedArtifacts?: [SourceToolkitFluxcdIoV1beta1GitRepositoryStatusIncludedArtifactsItems0] + + lastHandledReconcileAt?: str + + observedGeneration?: int + + url?: str + + +schema SourceToolkitFluxcdIoV1beta1GitRepositoryStatusArtifact: + """ + Artifact represents the output of the last successful repository sync. + + Attributes + ---------- + checksum : str, default is Undefined, optional + Checksum is the SHA256 checksum of the artifact. + lastUpdateTime : str, default is Undefined, optional + LastUpdateTime is the timestamp corresponding to the last update of this + artifact. + path : str, default is Undefined, required + Path is the relative file path of this artifact. + revision : str, default is Undefined, optional + Revision is a human readable identifier traceable in the origin source + system. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm + chart version, etc. + url : str, default is Undefined, required + URL is the HTTP address of this artifact. + """ + + + checksum?: str + + lastUpdateTime?: str + + path: str + + revision?: str + + url: str + + +schema SourceToolkitFluxcdIoV1beta1GitRepositoryStatusConditionsItems0: + """ + Condition contains details for one aspect of the current state of this API Resource. + --- + This struct is intended for direct use as an array at the field path .status.conditions. For example, + + + type FooStatus struct{ + // Represents the observations of a foo's current state. + // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" + // +patchMergeKey=type + // +patchStrategy=merge + // +listType=map + // +listMapKey=type + Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` + + + // other fields + } + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + 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 : str, default is Undefined, required + message is a human readable message indicating details about the transition. + This may be an empty string. + observedGeneration : int, default is Undefined, optional + 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 : str, default is Undefined, required + 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 : str, default is Undefined, required + status of the condition, one of True, False, Unknown. + $type : str, default is Undefined, required + type of condition in CamelCase or in foo.example.com/CamelCase. + --- + Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be + useful (see .node.status.conditions), the ability to deconflict is important. + The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + """ + + + lastTransitionTime: str + + message: str + + observedGeneration?: int + + reason: str + + status: "True" | "False" | "Unknown" + + $type: str + + + check: + len(message) <= 32768 + observedGeneration >= 0 if observedGeneration not in [None, Undefined] + len(reason) <= 1024 + len(reason) >= 1 + _regex_match(str(reason), r"^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$") + len($type) <= 316 + _regex_match(str($type), r"^([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])$") + + +schema SourceToolkitFluxcdIoV1beta1GitRepositoryStatusIncludedArtifactsItems0: + """ + Artifact represents the output of a source synchronisation. + + Attributes + ---------- + checksum : str, default is Undefined, optional + Checksum is the SHA256 checksum of the artifact. + lastUpdateTime : str, default is Undefined, optional + LastUpdateTime is the timestamp corresponding to the last update of this + artifact. + path : str, default is Undefined, required + Path is the relative file path of this artifact. + revision : str, default is Undefined, optional + Revision is a human readable identifier traceable in the origin source + system. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm + chart version, etc. + url : str, default is Undefined, required + URL is the HTTP address of this artifact. + """ + + + checksum?: str + + lastUpdateTime?: str + + path: str + + revision?: str + + url: str + + diff --git a/fluxcd-source-controller/v1beta1/source_toolkit_fluxcd_io_v1beta1_helm_chart.k b/fluxcd-source-controller/v1beta1/source_toolkit_fluxcd_io_v1beta1_helm_chart.k new file mode 100644 index 00000000..f1111f5c --- /dev/null +++ b/fluxcd-source-controller/v1beta1/source_toolkit_fluxcd_io_v1beta1_helm_chart.k @@ -0,0 +1,287 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import regex +import k8s.apimachinery.pkg.apis.meta.v1 +_regex_match = regex.match + + +schema HelmChart: + """ + HelmChart is the Schema for the helmcharts API + + Attributes + ---------- + apiVersion : str, default is "source.toolkit.fluxcd.io/v1beta1", required + 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 : str, default is "HelmChart", required + 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 : v1.ObjectMeta, default is Undefined, optional + metadata + spec : SourceToolkitFluxcdIoV1beta1HelmChartSpec, default is Undefined, optional + spec + status : SourceToolkitFluxcdIoV1beta1HelmChartStatus, default is Undefined, optional + status + """ + + + apiVersion: "source.toolkit.fluxcd.io/v1beta1" = "source.toolkit.fluxcd.io/v1beta1" + + kind: "HelmChart" = "HelmChart" + + metadata?: v1.ObjectMeta + + spec?: SourceToolkitFluxcdIoV1beta1HelmChartSpec + + status?: SourceToolkitFluxcdIoV1beta1HelmChartStatus + + +schema SourceToolkitFluxcdIoV1beta1HelmChartSpec: + """ + HelmChartSpec defines the desired state of a Helm chart. + + Attributes + ---------- + accessFrom : SourceToolkitFluxcdIoV1beta1HelmChartSpecAccessFrom, default is Undefined, optional + access from + chart : str, default is Undefined, required + The name or path the Helm chart is available at in the SourceRef. + interval : str, default is Undefined, required + The interval at which to check the Source for updates. + reconcileStrategy : str, default is "ChartVersion", optional + 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 : SourceToolkitFluxcdIoV1beta1HelmChartSpecSourceRef, default is Undefined, required + source ref + suspend : bool, default is Undefined, optional + This flag tells the controller to suspend the reconciliation of this source. + valuesFile : str, default is Undefined, optional + Alternative values file to use as the default chart values, expected to + be a relative path in the SourceRef. Deprecated in favor of ValuesFiles, + for backwards compatibility the file defined here is merged before the + ValuesFiles items. Ignored when omitted. + valuesFiles : [str], default is Undefined, optional + Alternative list of values files to use as the chart values (values.yaml + is not included by default), expected to be a relative path in the SourceRef. + Values files are merged in the order of this list with the last file overriding + the first. Ignored when omitted. + version : str, default is "*", optional + The chart version semver expression, ignored for charts from GitRepository + and Bucket sources. Defaults to latest when omitted. + """ + + + accessFrom?: SourceToolkitFluxcdIoV1beta1HelmChartSpecAccessFrom + + chart: str + + interval: str + + reconcileStrategy?: "ChartVersion" | "Revision" = "ChartVersion" + + sourceRef: SourceToolkitFluxcdIoV1beta1HelmChartSpecSourceRef + + suspend?: bool + + valuesFile?: str + + valuesFiles?: [str] + + version?: str = "*" + + +schema SourceToolkitFluxcdIoV1beta1HelmChartSpecAccessFrom: + """ + AccessFrom defines an Access Control List for allowing cross-namespace references to this object. + + Attributes + ---------- + namespaceSelectors : [SourceToolkitFluxcdIoV1beta1HelmChartSpecAccessFromNamespaceSelectorsItems0], default is Undefined, required + NamespaceSelectors is the list of namespace selectors to which this ACL applies. + Items in this list are evaluated using a logical OR operation. + """ + + + namespaceSelectors: [SourceToolkitFluxcdIoV1beta1HelmChartSpecAccessFromNamespaceSelectorsItems0] + + +schema SourceToolkitFluxcdIoV1beta1HelmChartSpecAccessFromNamespaceSelectorsItems0: + """ + NamespaceSelector selects the namespaces to which this ACL applies. + An empty map of MatchLabels matches all namespaces in a cluster. + + Attributes + ---------- + matchLabels : {str:str}, default is Undefined, optional + 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?: {str:str} + + +schema SourceToolkitFluxcdIoV1beta1HelmChartSpecSourceRef: + """ + The reference to the Source the chart is available at. + + Attributes + ---------- + apiVersion : str, default is Undefined, optional + APIVersion of the referent. + kind : str, default is Undefined, required + Kind of the referent, valid values are ('HelmRepository', 'GitRepository', + 'Bucket'). + name : str, default is Undefined, required + Name of the referent. + """ + + + apiVersion?: str + + kind: "HelmRepository" | "GitRepository" | "Bucket" + + name: str + + +schema SourceToolkitFluxcdIoV1beta1HelmChartStatus: + """ + HelmChartStatus defines the observed state of the HelmChart. + + Attributes + ---------- + artifact : SourceToolkitFluxcdIoV1beta1HelmChartStatusArtifact, default is Undefined, optional + artifact + conditions : [SourceToolkitFluxcdIoV1beta1HelmChartStatusConditionsItems0], default is Undefined, optional + Conditions holds the conditions for the HelmChart. + lastHandledReconcileAt : str, default is Undefined, optional + LastHandledReconcileAt holds the value of the most recent + reconcile request value, so a change of the annotation value + can be detected. + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the last observed generation. + url : str, default is Undefined, optional + URL is the download link for the last chart pulled. + """ + + + artifact?: SourceToolkitFluxcdIoV1beta1HelmChartStatusArtifact + + conditions?: [SourceToolkitFluxcdIoV1beta1HelmChartStatusConditionsItems0] + + lastHandledReconcileAt?: str + + observedGeneration?: int + + url?: str + + +schema SourceToolkitFluxcdIoV1beta1HelmChartStatusArtifact: + """ + Artifact represents the output of the last successful chart sync. + + Attributes + ---------- + checksum : str, default is Undefined, optional + Checksum is the SHA256 checksum of the artifact. + lastUpdateTime : str, default is Undefined, optional + LastUpdateTime is the timestamp corresponding to the last update of this + artifact. + path : str, default is Undefined, required + Path is the relative file path of this artifact. + revision : str, default is Undefined, optional + Revision is a human readable identifier traceable in the origin source + system. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm + chart version, etc. + url : str, default is Undefined, required + URL is the HTTP address of this artifact. + """ + + + checksum?: str + + lastUpdateTime?: str + + path: str + + revision?: str + + url: str + + +schema SourceToolkitFluxcdIoV1beta1HelmChartStatusConditionsItems0: + """ + Condition contains details for one aspect of the current state of this API Resource. + --- + This struct is intended for direct use as an array at the field path .status.conditions. For example, + + + type FooStatus struct{ + // Represents the observations of a foo's current state. + // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" + // +patchMergeKey=type + // +patchStrategy=merge + // +listType=map + // +listMapKey=type + Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` + + + // other fields + } + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + 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 : str, default is Undefined, required + message is a human readable message indicating details about the transition. + This may be an empty string. + observedGeneration : int, default is Undefined, optional + 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 : str, default is Undefined, required + 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 : str, default is Undefined, required + status of the condition, one of True, False, Unknown. + $type : str, default is Undefined, required + type of condition in CamelCase or in foo.example.com/CamelCase. + --- + Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be + useful (see .node.status.conditions), the ability to deconflict is important. + The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + """ + + + lastTransitionTime: str + + message: str + + observedGeneration?: int + + reason: str + + status: "True" | "False" | "Unknown" + + $type: str + + + check: + len(message) <= 32768 + observedGeneration >= 0 if observedGeneration not in [None, Undefined] + len(reason) <= 1024 + len(reason) >= 1 + _regex_match(str(reason), r"^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$") + len($type) <= 316 + _regex_match(str($type), r"^([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])$") + + diff --git a/fluxcd-source-controller/v1beta1/source_toolkit_fluxcd_io_v1beta1_helm_repository.k b/fluxcd-source-controller/v1beta1/source_toolkit_fluxcd_io_v1beta1_helm_repository.k new file mode 100644 index 00000000..68aeaa80 --- /dev/null +++ b/fluxcd-source-controller/v1beta1/source_toolkit_fluxcd_io_v1beta1_helm_repository.k @@ -0,0 +1,270 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import regex +import k8s.apimachinery.pkg.apis.meta.v1 +_regex_match = regex.match + + +schema HelmRepository: + """ + HelmRepository is the Schema for the helmrepositories API + + Attributes + ---------- + apiVersion : str, default is "source.toolkit.fluxcd.io/v1beta1", required + 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 : str, default is "HelmRepository", required + 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 : v1.ObjectMeta, default is Undefined, optional + metadata + spec : SourceToolkitFluxcdIoV1beta1HelmRepositorySpec, default is Undefined, optional + spec + status : SourceToolkitFluxcdIoV1beta1HelmRepositoryStatus, default is Undefined, optional + status + """ + + + apiVersion: "source.toolkit.fluxcd.io/v1beta1" = "source.toolkit.fluxcd.io/v1beta1" + + kind: "HelmRepository" = "HelmRepository" + + metadata?: v1.ObjectMeta + + spec?: SourceToolkitFluxcdIoV1beta1HelmRepositorySpec + + status?: SourceToolkitFluxcdIoV1beta1HelmRepositoryStatus + + +schema SourceToolkitFluxcdIoV1beta1HelmRepositorySpec: + """ + HelmRepositorySpec defines the reference to a Helm repository. + + Attributes + ---------- + accessFrom : SourceToolkitFluxcdIoV1beta1HelmRepositorySpecAccessFrom, default is Undefined, optional + access from + interval : str, default is Undefined, required + The interval at which to check the upstream for updates. + passCredentials : bool, default is Undefined, optional + PassCredentials allows the credentials from the SecretRef to be passed on to + a host that does not match the host as defined in URL. + This may be required if the host of the advertised chart URLs in the index + differ from the defined URL. + Enabling this should be done with caution, as it can potentially result in + credentials getting stolen in a MITM-attack. + secretRef : SourceToolkitFluxcdIoV1beta1HelmRepositorySpecSecretRef, default is Undefined, optional + secret ref + suspend : bool, default is Undefined, optional + This flag tells the controller to suspend the reconciliation of this source. + timeout : str, default is "60s", optional + The timeout of index downloading, defaults to 60s. + url : str, default is Undefined, required + The Helm repository URL, a valid URL contains at least a protocol and host. + """ + + + accessFrom?: SourceToolkitFluxcdIoV1beta1HelmRepositorySpecAccessFrom + + interval: str + + passCredentials?: bool + + secretRef?: SourceToolkitFluxcdIoV1beta1HelmRepositorySpecSecretRef + + suspend?: bool + + timeout?: str = "60s" + + url: str + + +schema SourceToolkitFluxcdIoV1beta1HelmRepositorySpecAccessFrom: + """ + AccessFrom defines an Access Control List for allowing cross-namespace references to this object. + + Attributes + ---------- + namespaceSelectors : [SourceToolkitFluxcdIoV1beta1HelmRepositorySpecAccessFromNamespaceSelectorsItems0], default is Undefined, required + NamespaceSelectors is the list of namespace selectors to which this ACL applies. + Items in this list are evaluated using a logical OR operation. + """ + + + namespaceSelectors: [SourceToolkitFluxcdIoV1beta1HelmRepositorySpecAccessFromNamespaceSelectorsItems0] + + +schema SourceToolkitFluxcdIoV1beta1HelmRepositorySpecAccessFromNamespaceSelectorsItems0: + """ + NamespaceSelector selects the namespaces to which this ACL applies. + An empty map of MatchLabels matches all namespaces in a cluster. + + Attributes + ---------- + matchLabels : {str:str}, default is Undefined, optional + 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?: {str:str} + + +schema SourceToolkitFluxcdIoV1beta1HelmRepositorySpecSecretRef: + """ + The name of the secret containing authentication credentials for the Helm + repository. + For HTTP/S basic auth the secret must contain username and + password fields. + For TLS the secret must contain a certFile and keyFile, and/or + caFile fields. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referent. + """ + + + name: str + + +schema SourceToolkitFluxcdIoV1beta1HelmRepositoryStatus: + """ + HelmRepositoryStatus defines the observed state of the HelmRepository. + + Attributes + ---------- + artifact : SourceToolkitFluxcdIoV1beta1HelmRepositoryStatusArtifact, default is Undefined, optional + artifact + conditions : [SourceToolkitFluxcdIoV1beta1HelmRepositoryStatusConditionsItems0], default is Undefined, optional + Conditions holds the conditions for the HelmRepository. + lastHandledReconcileAt : str, default is Undefined, optional + LastHandledReconcileAt holds the value of the most recent + reconcile request value, so a change of the annotation value + can be detected. + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the last observed generation. + url : str, default is Undefined, optional + URL is the download link for the last index fetched. + """ + + + artifact?: SourceToolkitFluxcdIoV1beta1HelmRepositoryStatusArtifact + + conditions?: [SourceToolkitFluxcdIoV1beta1HelmRepositoryStatusConditionsItems0] + + lastHandledReconcileAt?: str + + observedGeneration?: int + + url?: str + + +schema SourceToolkitFluxcdIoV1beta1HelmRepositoryStatusArtifact: + """ + Artifact represents the output of the last successful repository sync. + + Attributes + ---------- + checksum : str, default is Undefined, optional + Checksum is the SHA256 checksum of the artifact. + lastUpdateTime : str, default is Undefined, optional + LastUpdateTime is the timestamp corresponding to the last update of this + artifact. + path : str, default is Undefined, required + Path is the relative file path of this artifact. + revision : str, default is Undefined, optional + Revision is a human readable identifier traceable in the origin source + system. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm + chart version, etc. + url : str, default is Undefined, required + URL is the HTTP address of this artifact. + """ + + + checksum?: str + + lastUpdateTime?: str + + path: str + + revision?: str + + url: str + + +schema SourceToolkitFluxcdIoV1beta1HelmRepositoryStatusConditionsItems0: + """ + Condition contains details for one aspect of the current state of this API Resource. + --- + This struct is intended for direct use as an array at the field path .status.conditions. For example, + + + type FooStatus struct{ + // Represents the observations of a foo's current state. + // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" + // +patchMergeKey=type + // +patchStrategy=merge + // +listType=map + // +listMapKey=type + Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` + + + // other fields + } + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + 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 : str, default is Undefined, required + message is a human readable message indicating details about the transition. + This may be an empty string. + observedGeneration : int, default is Undefined, optional + 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 : str, default is Undefined, required + 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 : str, default is Undefined, required + status of the condition, one of True, False, Unknown. + $type : str, default is Undefined, required + type of condition in CamelCase or in foo.example.com/CamelCase. + --- + Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be + useful (see .node.status.conditions), the ability to deconflict is important. + The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + """ + + + lastTransitionTime: str + + message: str + + observedGeneration?: int + + reason: str + + status: "True" | "False" | "Unknown" + + $type: str + + + check: + len(message) <= 32768 + observedGeneration >= 0 if observedGeneration not in [None, Undefined] + len(reason) <= 1024 + len(reason) >= 1 + _regex_match(str(reason), r"^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$") + len($type) <= 316 + _regex_match(str($type), r"^([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])$") + + diff --git a/fluxcd-source-controller/v1beta2/source_toolkit_fluxcd_io_v1beta2_bucket.k b/fluxcd-source-controller/v1beta2/source_toolkit_fluxcd_io_v1beta2_bucket.k new file mode 100644 index 00000000..7e84d4c0 --- /dev/null +++ b/fluxcd-source-controller/v1beta2/source_toolkit_fluxcd_io_v1beta2_bucket.k @@ -0,0 +1,318 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import regex +import k8s.apimachinery.pkg.apis.meta.v1 +_regex_match = regex.match + + +schema Bucket: + """ + Bucket is the Schema for the buckets API. + + Attributes + ---------- + apiVersion : str, default is "source.toolkit.fluxcd.io/v1beta2", required + 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 : str, default is "Bucket", required + 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 : v1.ObjectMeta, default is Undefined, optional + metadata + spec : SourceToolkitFluxcdIoV1beta2BucketSpec, default is Undefined, optional + spec + status : SourceToolkitFluxcdIoV1beta2BucketStatus, default is Undefined, optional + status + """ + + + apiVersion: "source.toolkit.fluxcd.io/v1beta2" = "source.toolkit.fluxcd.io/v1beta2" + + kind: "Bucket" = "Bucket" + + metadata?: v1.ObjectMeta + + spec?: SourceToolkitFluxcdIoV1beta2BucketSpec + + status?: SourceToolkitFluxcdIoV1beta2BucketStatus + + +schema SourceToolkitFluxcdIoV1beta2BucketSpec: + """ + BucketSpec specifies the required configuration to produce an Artifact for + an object storage bucket. + + Attributes + ---------- + accessFrom : SourceToolkitFluxcdIoV1beta2BucketSpecAccessFrom, default is Undefined, optional + access from + bucketName : str, default is Undefined, required + BucketName is the name of the object storage bucket. + endpoint : str, default is Undefined, required + Endpoint is the object storage address the BucketName is located at. + ignore : str, default is Undefined, optional + Ignore overrides the set of excluded patterns in the .sourceignore format + (which is the same as .gitignore). If not provided, a default will be used, + consult the documentation for your version to find out what those are. + insecure : bool, default is Undefined, optional + Insecure allows connecting to a non-TLS HTTP Endpoint. + interval : str, default is Undefined, required + 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 : str, default is Undefined, optional + Prefix to use for server-side filtering of files in the Bucket. + provider : str, default is "generic", optional + Provider of the object storage bucket. + Defaults to 'generic', which expects an S3 (API) compatible object + storage. + region : str, default is Undefined, optional + Region of the Endpoint where the BucketName is located in. + secretRef : SourceToolkitFluxcdIoV1beta2BucketSpecSecretRef, default is Undefined, optional + secret ref + suspend : bool, default is Undefined, optional + Suspend tells the controller to suspend the reconciliation of this + Bucket. + timeout : str, default is "60s", optional + Timeout for fetch operations, defaults to 60s. + """ + + + accessFrom?: SourceToolkitFluxcdIoV1beta2BucketSpecAccessFrom + + bucketName: str + + endpoint: str + + ignore?: str + + insecure?: bool + + interval: str + + prefix?: str + + provider?: "generic" | "aws" | "gcp" | "azure" = "generic" + + region?: str + + secretRef?: SourceToolkitFluxcdIoV1beta2BucketSpecSecretRef + + suspend?: bool + + timeout?: str = "60s" + + + check: + _regex_match(str(interval), r"^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$") + _regex_match(str(timeout), r"^([0-9]+(\.[0-9]+)?(ms|s|m))+$") if timeout + + +schema SourceToolkitFluxcdIoV1beta2BucketSpecAccessFrom: + """ + 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 + + Attributes + ---------- + namespaceSelectors : [SourceToolkitFluxcdIoV1beta2BucketSpecAccessFromNamespaceSelectorsItems0], default is Undefined, required + NamespaceSelectors is the list of namespace selectors to which this ACL applies. + Items in this list are evaluated using a logical OR operation. + """ + + + namespaceSelectors: [SourceToolkitFluxcdIoV1beta2BucketSpecAccessFromNamespaceSelectorsItems0] + + +schema SourceToolkitFluxcdIoV1beta2BucketSpecAccessFromNamespaceSelectorsItems0: + """ + NamespaceSelector selects the namespaces to which this ACL applies. + An empty map of MatchLabels matches all namespaces in a cluster. + + Attributes + ---------- + matchLabels : {str:str}, default is Undefined, optional + 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?: {str:str} + + +schema SourceToolkitFluxcdIoV1beta2BucketSpecSecretRef: + """ + SecretRef specifies the Secret containing authentication credentials + for the Bucket. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referent. + """ + + + name: str + + +schema SourceToolkitFluxcdIoV1beta2BucketStatus: + """ + BucketStatus records the observed state of a Bucket. + + Attributes + ---------- + artifact : SourceToolkitFluxcdIoV1beta2BucketStatusArtifact, default is Undefined, optional + artifact + conditions : [SourceToolkitFluxcdIoV1beta2BucketStatusConditionsItems0], default is Undefined, optional + Conditions holds the conditions for the Bucket. + lastHandledReconcileAt : str, default is Undefined, optional + LastHandledReconcileAt holds the value of the most recent + reconcile request value, so a change of the annotation value + can be detected. + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the last observed generation of the Bucket object. + observedIgnore : str, default is Undefined, optional + ObservedIgnore is the observed exclusion patterns used for constructing + the source artifact. + url : str, default is Undefined, optional + URL is the dynamic fetch link for the latest Artifact. + It is provided on a "best effort" basis, and using the precise + BucketStatus.Artifact data is recommended. + """ + + + artifact?: SourceToolkitFluxcdIoV1beta2BucketStatusArtifact + + conditions?: [SourceToolkitFluxcdIoV1beta2BucketStatusConditionsItems0] + + lastHandledReconcileAt?: str + + observedGeneration?: int + + observedIgnore?: str + + url?: str + + +schema SourceToolkitFluxcdIoV1beta2BucketStatusArtifact: + """ + Artifact represents the last successful Bucket reconciliation. + + Attributes + ---------- + digest : str, default is Undefined, optional + Digest is the digest of the file in the form of ':'. + lastUpdateTime : str, default is Undefined, required + LastUpdateTime is the timestamp corresponding to the last update of the + Artifact. + metadata : {str:str}, default is Undefined, optional + Metadata holds upstream information such as OCI annotations. + path : str, default is Undefined, required + 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 : str, default is Undefined, required + 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 : int, default is Undefined, optional + Size is the number of bytes in the file. + url : str, default is Undefined, required + 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. + """ + + + digest?: str + + lastUpdateTime: str + + metadata?: {str:str} + + path: str + + revision: str + + size?: int + + url: str + + + check: + _regex_match(str(digest), r"^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$") if digest + + +schema SourceToolkitFluxcdIoV1beta2BucketStatusConditionsItems0: + """ + Condition contains details for one aspect of the current state of this API Resource. + --- + This struct is intended for direct use as an array at the field path .status.conditions. For example, + + + type FooStatus struct{ + // Represents the observations of a foo's current state. + // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" + // +patchMergeKey=type + // +patchStrategy=merge + // +listType=map + // +listMapKey=type + Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` + + + // other fields + } + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + 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 : str, default is Undefined, required + message is a human readable message indicating details about the transition. + This may be an empty string. + observedGeneration : int, default is Undefined, optional + 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 : str, default is Undefined, required + 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 : str, default is Undefined, required + status of the condition, one of True, False, Unknown. + $type : str, default is Undefined, required + type of condition in CamelCase or in foo.example.com/CamelCase. + --- + Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be + useful (see .node.status.conditions), the ability to deconflict is important. + The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + """ + + + lastTransitionTime: str + + message: str + + observedGeneration?: int + + reason: str + + status: "True" | "False" | "Unknown" + + $type: str + + + check: + len(message) <= 32768 + observedGeneration >= 0 if observedGeneration not in [None, Undefined] + len(reason) <= 1024 + len(reason) >= 1 + _regex_match(str(reason), r"^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$") + len($type) <= 316 + _regex_match(str($type), r"^([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])$") + + diff --git a/fluxcd-source-controller/v1beta2/source_toolkit_fluxcd_io_v1beta2_git_repository.k b/fluxcd-source-controller/v1beta2/source_toolkit_fluxcd_io_v1beta2_git_repository.k new file mode 100644 index 00000000..caa06b90 --- /dev/null +++ b/fluxcd-source-controller/v1beta2/source_toolkit_fluxcd_io_v1beta2_git_repository.k @@ -0,0 +1,557 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import regex +import k8s.apimachinery.pkg.apis.meta.v1 +_regex_match = regex.match + + +schema GitRepository: + """ + GitRepository is the Schema for the gitrepositories API. + + Attributes + ---------- + apiVersion : str, default is "source.toolkit.fluxcd.io/v1beta2", required + 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 : str, default is "GitRepository", required + 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 : v1.ObjectMeta, default is Undefined, optional + metadata + spec : SourceToolkitFluxcdIoV1beta2GitRepositorySpec, default is Undefined, optional + spec + status : SourceToolkitFluxcdIoV1beta2GitRepositoryStatus, default is Undefined, optional + status + """ + + + apiVersion: "source.toolkit.fluxcd.io/v1beta2" = "source.toolkit.fluxcd.io/v1beta2" + + kind: "GitRepository" = "GitRepository" + + metadata?: v1.ObjectMeta + + spec?: SourceToolkitFluxcdIoV1beta2GitRepositorySpec + + status?: SourceToolkitFluxcdIoV1beta2GitRepositoryStatus + + +schema SourceToolkitFluxcdIoV1beta2GitRepositorySpec: + """ + GitRepositorySpec specifies the required configuration to produce an + Artifact for a Git repository. + + Attributes + ---------- + accessFrom : SourceToolkitFluxcdIoV1beta2GitRepositorySpecAccessFrom, default is Undefined, optional + access from + gitImplementation : str, default is "go-git", optional + GitImplementation specifies which Git client library implementation to + use. Defaults to 'go-git', valid values are ('go-git', 'libgit2'). + Deprecated: gitImplementation is deprecated now that 'go-git' is the + only supported implementation. + ignore : str, default is Undefined, optional + Ignore overrides the set of excluded patterns in the .sourceignore format + (which is the same as .gitignore). If not provided, a default will be used, + consult the documentation for your version to find out what those are. + include : [SourceToolkitFluxcdIoV1beta2GitRepositorySpecIncludeItems0], default is Undefined, optional + Include specifies a list of GitRepository resources which Artifacts + should be included in the Artifact produced for this GitRepository. + interval : str, default is Undefined, required + Interval at which to check the GitRepository for updates. + recurseSubmodules : bool, default is Undefined, optional + RecurseSubmodules enables the initialization of all submodules within + the GitRepository as cloned from the URL, using their default settings. + ref : SourceToolkitFluxcdIoV1beta2GitRepositorySpecRef, default is Undefined, optional + ref + secretRef : SourceToolkitFluxcdIoV1beta2GitRepositorySpecSecretRef, default is Undefined, optional + secret ref + suspend : bool, default is Undefined, optional + Suspend tells the controller to suspend the reconciliation of this + GitRepository. + timeout : str, default is "60s", optional + Timeout for Git operations like cloning, defaults to 60s. + url : str, default is Undefined, required + URL specifies the Git repository URL, it can be an HTTP/S or SSH address. + verify : SourceToolkitFluxcdIoV1beta2GitRepositorySpecVerify, default is Undefined, optional + verify + """ + + + accessFrom?: SourceToolkitFluxcdIoV1beta2GitRepositorySpecAccessFrom + + gitImplementation?: "go-git" | "libgit2" = "go-git" + + ignore?: str + + include?: [SourceToolkitFluxcdIoV1beta2GitRepositorySpecIncludeItems0] + + interval: str + + recurseSubmodules?: bool + + ref?: SourceToolkitFluxcdIoV1beta2GitRepositorySpecRef + + secretRef?: SourceToolkitFluxcdIoV1beta2GitRepositorySpecSecretRef + + suspend?: bool + + timeout?: str = "60s" + + url: str + + verify?: SourceToolkitFluxcdIoV1beta2GitRepositorySpecVerify + + + check: + _regex_match(str(interval), r"^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$") + _regex_match(str(timeout), r"^([0-9]+(\.[0-9]+)?(ms|s|m))+$") if timeout + _regex_match(str(url), r"^(http|https|ssh)://.*$") + + +schema SourceToolkitFluxcdIoV1beta2GitRepositorySpecAccessFrom: + """ + 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 + + Attributes + ---------- + namespaceSelectors : [SourceToolkitFluxcdIoV1beta2GitRepositorySpecAccessFromNamespaceSelectorsItems0], default is Undefined, required + NamespaceSelectors is the list of namespace selectors to which this ACL applies. + Items in this list are evaluated using a logical OR operation. + """ + + + namespaceSelectors: [SourceToolkitFluxcdIoV1beta2GitRepositorySpecAccessFromNamespaceSelectorsItems0] + + +schema SourceToolkitFluxcdIoV1beta2GitRepositorySpecAccessFromNamespaceSelectorsItems0: + """ + NamespaceSelector selects the namespaces to which this ACL applies. + An empty map of MatchLabels matches all namespaces in a cluster. + + Attributes + ---------- + matchLabels : {str:str}, default is Undefined, optional + 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?: {str:str} + + +schema SourceToolkitFluxcdIoV1beta2GitRepositorySpecIncludeItems0: + """ + GitRepositoryInclude specifies a local reference to a GitRepository which + Artifact (sub-)contents must be included, and where they should be placed. + + Attributes + ---------- + fromPath : str, default is Undefined, optional + FromPath specifies the path to copy contents from, defaults to the root + of the Artifact. + repository : SourceToolkitFluxcdIoV1beta2GitRepositorySpecIncludeItems0Repository, default is Undefined, required + repository + toPath : str, default is Undefined, optional + ToPath specifies the path to copy contents to, defaults to the name of + the GitRepositoryRef. + """ + + + fromPath?: str + + repository: SourceToolkitFluxcdIoV1beta2GitRepositorySpecIncludeItems0Repository + + toPath?: str + + +schema SourceToolkitFluxcdIoV1beta2GitRepositorySpecIncludeItems0Repository: + """ + GitRepositoryRef specifies the GitRepository which Artifact contents + must be included. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referent. + """ + + + name: str + + +schema SourceToolkitFluxcdIoV1beta2GitRepositorySpecRef: + """ + Reference specifies the Git reference to resolve and monitor for + changes, defaults to the 'master' branch. + + Attributes + ---------- + branch : str, default is Undefined, optional + Branch to check out, defaults to 'master' if no other field is defined. + commit : str, default is Undefined, optional + Commit SHA to check out, takes precedence over all reference fields. + + + This can be combined with Branch to shallow clone the branch, in which + the commit is expected to exist. + name : str, default is Undefined, optional + Name of the reference to check out; takes precedence over Branch, Tag and SemVer. + + + It must be a valid Git reference: https://git-scm.com/docs/git-check-ref-format#_description + Examples: "refs/heads/main", "refs/tags/v0.1.0", "refs/pull/420/head", "refs/merge-requests/1/head" + semver : str, default is Undefined, optional + SemVer tag expression to check out, takes precedence over Tag. + tag : str, default is Undefined, optional + Tag to check out, takes precedence over Branch. + """ + + + branch?: str + + commit?: str + + name?: str + + semver?: str + + tag?: str + + +schema SourceToolkitFluxcdIoV1beta2GitRepositorySpecSecretRef: + """ + 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. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referent. + """ + + + name: str + + +schema SourceToolkitFluxcdIoV1beta2GitRepositorySpecVerify: + """ + Verification specifies the configuration to verify the Git commit + signature(s). + + Attributes + ---------- + mode : str, default is Undefined, required + Mode specifies what Git object should be verified, currently ('head'). + secretRef : SourceToolkitFluxcdIoV1beta2GitRepositorySpecVerifySecretRef, default is Undefined, required + secret ref + """ + + + mode: "head" + + secretRef: SourceToolkitFluxcdIoV1beta2GitRepositorySpecVerifySecretRef + + +schema SourceToolkitFluxcdIoV1beta2GitRepositorySpecVerifySecretRef: + """ + SecretRef specifies the Secret containing the public keys of trusted Git + authors. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referent. + """ + + + name: str + + +schema SourceToolkitFluxcdIoV1beta2GitRepositoryStatus: + """ + GitRepositoryStatus records the observed state of a Git repository. + + Attributes + ---------- + artifact : SourceToolkitFluxcdIoV1beta2GitRepositoryStatusArtifact, default is Undefined, optional + artifact + conditions : [SourceToolkitFluxcdIoV1beta2GitRepositoryStatusConditionsItems0], default is Undefined, optional + Conditions holds the conditions for the GitRepository. + contentConfigChecksum : str, default is Undefined, optional + ContentConfigChecksum is a checksum of all the configurations related to + the content of the source artifact: + - .spec.ignore + - .spec.recurseSubmodules + - .spec.included and the checksum of the included artifacts + observed in .status.observedGeneration version of the object. This can + be used to determine if the content of the included repository has + changed. + It has the format of `:`, for example: `sha256:`. + + + Deprecated: Replaced with explicit fields for observed artifact content + config in the status. + includedArtifacts : [SourceToolkitFluxcdIoV1beta2GitRepositoryStatusIncludedArtifactsItems0], default is Undefined, optional + IncludedArtifacts contains a list of the last successfully included + Artifacts as instructed by GitRepositorySpec.Include. + lastHandledReconcileAt : str, default is Undefined, optional + LastHandledReconcileAt holds the value of the most recent + reconcile request value, so a change of the annotation value + can be detected. + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the last observed generation of the GitRepository + object. + observedIgnore : str, default is Undefined, optional + ObservedIgnore is the observed exclusion patterns used for constructing + the source artifact. + observedInclude : [SourceToolkitFluxcdIoV1beta2GitRepositoryStatusObservedIncludeItems0], default is Undefined, optional + ObservedInclude is the observed list of GitRepository resources used to + to produce the current Artifact. + observedRecurseSubmodules : bool, default is Undefined, optional + ObservedRecurseSubmodules is the observed resource submodules + configuration used to produce the current Artifact. + url : str, default is Undefined, optional + URL is the dynamic fetch link for the latest Artifact. + It is provided on a "best effort" basis, and using the precise + GitRepositoryStatus.Artifact data is recommended. + """ + + + artifact?: SourceToolkitFluxcdIoV1beta2GitRepositoryStatusArtifact + + conditions?: [SourceToolkitFluxcdIoV1beta2GitRepositoryStatusConditionsItems0] + + contentConfigChecksum?: str + + includedArtifacts?: [SourceToolkitFluxcdIoV1beta2GitRepositoryStatusIncludedArtifactsItems0] + + lastHandledReconcileAt?: str + + observedGeneration?: int + + observedIgnore?: str + + observedInclude?: [SourceToolkitFluxcdIoV1beta2GitRepositoryStatusObservedIncludeItems0] + + observedRecurseSubmodules?: bool + + url?: str + + +schema SourceToolkitFluxcdIoV1beta2GitRepositoryStatusArtifact: + """ + Artifact represents the last successful GitRepository reconciliation. + + Attributes + ---------- + digest : str, default is Undefined, optional + Digest is the digest of the file in the form of ':'. + lastUpdateTime : str, default is Undefined, required + LastUpdateTime is the timestamp corresponding to the last update of the + Artifact. + metadata : {str:str}, default is Undefined, optional + Metadata holds upstream information such as OCI annotations. + path : str, default is Undefined, required + 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 : str, default is Undefined, required + 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 : int, default is Undefined, optional + Size is the number of bytes in the file. + url : str, default is Undefined, required + 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. + """ + + + digest?: str + + lastUpdateTime: str + + metadata?: {str:str} + + path: str + + revision: str + + size?: int + + url: str + + + check: + _regex_match(str(digest), r"^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$") if digest + + +schema SourceToolkitFluxcdIoV1beta2GitRepositoryStatusConditionsItems0: + """ + Condition contains details for one aspect of the current state of this API Resource. + --- + This struct is intended for direct use as an array at the field path .status.conditions. For example, + + + type FooStatus struct{ + // Represents the observations of a foo's current state. + // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" + // +patchMergeKey=type + // +patchStrategy=merge + // +listType=map + // +listMapKey=type + Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` + + + // other fields + } + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + 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 : str, default is Undefined, required + message is a human readable message indicating details about the transition. + This may be an empty string. + observedGeneration : int, default is Undefined, optional + 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 : str, default is Undefined, required + 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 : str, default is Undefined, required + status of the condition, one of True, False, Unknown. + $type : str, default is Undefined, required + type of condition in CamelCase or in foo.example.com/CamelCase. + --- + Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be + useful (see .node.status.conditions), the ability to deconflict is important. + The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + """ + + + lastTransitionTime: str + + message: str + + observedGeneration?: int + + reason: str + + status: "True" | "False" | "Unknown" + + $type: str + + + check: + len(message) <= 32768 + observedGeneration >= 0 if observedGeneration not in [None, Undefined] + len(reason) <= 1024 + len(reason) >= 1 + _regex_match(str(reason), r"^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$") + len($type) <= 316 + _regex_match(str($type), r"^([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])$") + + +schema SourceToolkitFluxcdIoV1beta2GitRepositoryStatusIncludedArtifactsItems0: + """ + Artifact represents the output of a Source reconciliation. + + Attributes + ---------- + digest : str, default is Undefined, optional + Digest is the digest of the file in the form of ':'. + lastUpdateTime : str, default is Undefined, required + LastUpdateTime is the timestamp corresponding to the last update of the + Artifact. + metadata : {str:str}, default is Undefined, optional + Metadata holds upstream information such as OCI annotations. + path : str, default is Undefined, required + 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 : str, default is Undefined, required + 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 : int, default is Undefined, optional + Size is the number of bytes in the file. + url : str, default is Undefined, required + 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. + """ + + + digest?: str + + lastUpdateTime: str + + metadata?: {str:str} + + path: str + + revision: str + + size?: int + + url: str + + + check: + _regex_match(str(digest), r"^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$") if digest + + +schema SourceToolkitFluxcdIoV1beta2GitRepositoryStatusObservedIncludeItems0: + """ + GitRepositoryInclude specifies a local reference to a GitRepository which + Artifact (sub-)contents must be included, and where they should be placed. + + Attributes + ---------- + fromPath : str, default is Undefined, optional + FromPath specifies the path to copy contents from, defaults to the root + of the Artifact. + repository : SourceToolkitFluxcdIoV1beta2GitRepositoryStatusObservedIncludeItems0Repository, default is Undefined, required + repository + toPath : str, default is Undefined, optional + ToPath specifies the path to copy contents to, defaults to the name of + the GitRepositoryRef. + """ + + + fromPath?: str + + repository: SourceToolkitFluxcdIoV1beta2GitRepositoryStatusObservedIncludeItems0Repository + + toPath?: str + + +schema SourceToolkitFluxcdIoV1beta2GitRepositoryStatusObservedIncludeItems0Repository: + """ + GitRepositoryRef specifies the GitRepository which Artifact contents + must be included. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referent. + """ + + + name: str + + diff --git a/fluxcd-source-controller/v1beta2/source_toolkit_fluxcd_io_v1beta2_helm_chart.k b/fluxcd-source-controller/v1beta2/source_toolkit_fluxcd_io_v1beta2_helm_chart.k new file mode 100644 index 00000000..0a0bab8a --- /dev/null +++ b/fluxcd-source-controller/v1beta2/source_toolkit_fluxcd_io_v1beta2_helm_chart.k @@ -0,0 +1,408 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import regex +import k8s.apimachinery.pkg.apis.meta.v1 +_regex_match = regex.match + + +schema HelmChart: + """ + HelmChart is the Schema for the helmcharts API. + + Attributes + ---------- + apiVersion : str, default is "source.toolkit.fluxcd.io/v1beta2", required + 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 : str, default is "HelmChart", required + 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 : v1.ObjectMeta, default is Undefined, optional + metadata + spec : SourceToolkitFluxcdIoV1beta2HelmChartSpec, default is Undefined, optional + spec + status : SourceToolkitFluxcdIoV1beta2HelmChartStatus, default is Undefined, optional + status + """ + + + apiVersion: "source.toolkit.fluxcd.io/v1beta2" = "source.toolkit.fluxcd.io/v1beta2" + + kind: "HelmChart" = "HelmChart" + + metadata?: v1.ObjectMeta + + spec?: SourceToolkitFluxcdIoV1beta2HelmChartSpec + + status?: SourceToolkitFluxcdIoV1beta2HelmChartStatus + + +schema SourceToolkitFluxcdIoV1beta2HelmChartSpec: + """ + HelmChartSpec specifies the desired state of a Helm chart. + + Attributes + ---------- + accessFrom : SourceToolkitFluxcdIoV1beta2HelmChartSpecAccessFrom, default is Undefined, optional + access from + chart : str, default is Undefined, required + Chart is the name or path the Helm chart is available at in the + SourceRef. + ignoreMissingValuesFiles : bool, default is Undefined, optional + IgnoreMissingValuesFiles controls whether to silently ignore missing values + files rather than failing. + interval : str, default is Undefined, required + 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 : str, default is "ChartVersion", optional + ReconcileStrategy determines what enables the creation of a new artifact. + Valid values are ('ChartVersion', 'Revision'). + See the documentation of the values for an explanation on their behavior. + Defaults to ChartVersion when omitted. + sourceRef : SourceToolkitFluxcdIoV1beta2HelmChartSpecSourceRef, default is Undefined, required + source ref + suspend : bool, default is Undefined, optional + Suspend tells the controller to suspend the reconciliation of this + source. + valuesFile : str, default is Undefined, optional + ValuesFile is an alternative values file to use as the default chart + values, expected to be a relative path in the SourceRef. Deprecated in + favor of ValuesFiles, for backwards compatibility the file specified here + is merged before the ValuesFiles items. Ignored when omitted. + valuesFiles : [str], default is Undefined, optional + ValuesFiles is an alternative list of values files to use as the chart + values (values.yaml is not included by default), expected to be a + relative path in the SourceRef. + Values files are merged in the order of this list with the last file + overriding the first. Ignored when omitted. + verify : SourceToolkitFluxcdIoV1beta2HelmChartSpecVerify, default is Undefined, optional + verify + version : str, default is "*", optional + Version is the chart version semver expression, ignored for charts from + GitRepository and Bucket sources. Defaults to latest when omitted. + """ + + + accessFrom?: SourceToolkitFluxcdIoV1beta2HelmChartSpecAccessFrom + + chart: str + + ignoreMissingValuesFiles?: bool + + interval: str + + reconcileStrategy?: "ChartVersion" | "Revision" = "ChartVersion" + + sourceRef: SourceToolkitFluxcdIoV1beta2HelmChartSpecSourceRef + + suspend?: bool + + valuesFile?: str + + valuesFiles?: [str] + + verify?: SourceToolkitFluxcdIoV1beta2HelmChartSpecVerify + + version?: str = "*" + + + check: + _regex_match(str(interval), r"^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$") + + +schema SourceToolkitFluxcdIoV1beta2HelmChartSpecAccessFrom: + """ + 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 + + Attributes + ---------- + namespaceSelectors : [SourceToolkitFluxcdIoV1beta2HelmChartSpecAccessFromNamespaceSelectorsItems0], default is Undefined, required + NamespaceSelectors is the list of namespace selectors to which this ACL applies. + Items in this list are evaluated using a logical OR operation. + """ + + + namespaceSelectors: [SourceToolkitFluxcdIoV1beta2HelmChartSpecAccessFromNamespaceSelectorsItems0] + + +schema SourceToolkitFluxcdIoV1beta2HelmChartSpecAccessFromNamespaceSelectorsItems0: + """ + NamespaceSelector selects the namespaces to which this ACL applies. + An empty map of MatchLabels matches all namespaces in a cluster. + + Attributes + ---------- + matchLabels : {str:str}, default is Undefined, optional + 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?: {str:str} + + +schema SourceToolkitFluxcdIoV1beta2HelmChartSpecSourceRef: + """ + SourceRef is the reference to the Source the chart is available at. + + Attributes + ---------- + apiVersion : str, default is Undefined, optional + APIVersion of the referent. + kind : str, default is Undefined, required + Kind of the referent, valid values are ('HelmRepository', 'GitRepository', + 'Bucket'). + name : str, default is Undefined, required + Name of the referent. + """ + + + apiVersion?: str + + kind: "HelmRepository" | "GitRepository" | "Bucket" + + name: str + + +schema SourceToolkitFluxcdIoV1beta2HelmChartSpecVerify: + """ + 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. + + Attributes + ---------- + matchOIDCIdentity : [SourceToolkitFluxcdIoV1beta2HelmChartSpecVerifyMatchOIDCIdentityItems0], default is Undefined, optional + 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. + provider : str, default is "cosign", required + Provider specifies the technology used to sign the OCI Artifact. + secretRef : SourceToolkitFluxcdIoV1beta2HelmChartSpecVerifySecretRef, default is Undefined, optional + secret ref + """ + + + matchOIDCIdentity?: [SourceToolkitFluxcdIoV1beta2HelmChartSpecVerifyMatchOIDCIdentityItems0] + + provider: "cosign" | "notation" = "cosign" + + secretRef?: SourceToolkitFluxcdIoV1beta2HelmChartSpecVerifySecretRef + + +schema SourceToolkitFluxcdIoV1beta2HelmChartSpecVerifyMatchOIDCIdentityItems0: + """ + OIDCIdentityMatch specifies options for verifying the certificate identity, + i.e. the issuer and the subject of the certificate. + + Attributes + ---------- + issuer : str, default is Undefined, required + 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 : str, default is Undefined, required + 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. + """ + + + issuer: str + + subject: str + + +schema SourceToolkitFluxcdIoV1beta2HelmChartSpecVerifySecretRef: + """ + SecretRef specifies the Kubernetes Secret containing the + trusted public keys. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referent. + """ + + + name: str + + +schema SourceToolkitFluxcdIoV1beta2HelmChartStatus: + """ + HelmChartStatus records the observed state of the HelmChart. + + Attributes + ---------- + artifact : SourceToolkitFluxcdIoV1beta2HelmChartStatusArtifact, default is Undefined, optional + artifact + conditions : [SourceToolkitFluxcdIoV1beta2HelmChartStatusConditionsItems0], default is Undefined, optional + Conditions holds the conditions for the HelmChart. + lastHandledReconcileAt : str, default is Undefined, optional + LastHandledReconcileAt holds the value of the most recent + reconcile request value, so a change of the annotation value + can be detected. + observedChartName : str, default is Undefined, optional + ObservedChartName is the last observed chart name as specified by the + resolved chart reference. + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the last observed generation of the HelmChart + object. + observedSourceArtifactRevision : str, default is Undefined, optional + ObservedSourceArtifactRevision is the last observed Artifact.Revision + of the HelmChartSpec.SourceRef. + observedValuesFiles : [str], default is Undefined, optional + ObservedValuesFiles are the observed value files of the last successful + reconciliation. + It matches the chart in the last successfully reconciled artifact. + url : str, default is Undefined, optional + URL is the dynamic fetch link for the latest Artifact. + It is provided on a "best effort" basis, and using the precise + BucketStatus.Artifact data is recommended. + """ + + + artifact?: SourceToolkitFluxcdIoV1beta2HelmChartStatusArtifact + + conditions?: [SourceToolkitFluxcdIoV1beta2HelmChartStatusConditionsItems0] + + lastHandledReconcileAt?: str + + observedChartName?: str + + observedGeneration?: int + + observedSourceArtifactRevision?: str + + observedValuesFiles?: [str] + + url?: str + + +schema SourceToolkitFluxcdIoV1beta2HelmChartStatusArtifact: + """ + Artifact represents the output of the last successful reconciliation. + + Attributes + ---------- + digest : str, default is Undefined, optional + Digest is the digest of the file in the form of ':'. + lastUpdateTime : str, default is Undefined, required + LastUpdateTime is the timestamp corresponding to the last update of the + Artifact. + metadata : {str:str}, default is Undefined, optional + Metadata holds upstream information such as OCI annotations. + path : str, default is Undefined, required + 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 : str, default is Undefined, required + 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 : int, default is Undefined, optional + Size is the number of bytes in the file. + url : str, default is Undefined, required + 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. + """ + + + digest?: str + + lastUpdateTime: str + + metadata?: {str:str} + + path: str + + revision: str + + size?: int + + url: str + + + check: + _regex_match(str(digest), r"^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$") if digest + + +schema SourceToolkitFluxcdIoV1beta2HelmChartStatusConditionsItems0: + """ + Condition contains details for one aspect of the current state of this API Resource. + --- + This struct is intended for direct use as an array at the field path .status.conditions. For example, + + + type FooStatus struct{ + // Represents the observations of a foo's current state. + // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" + // +patchMergeKey=type + // +patchStrategy=merge + // +listType=map + // +listMapKey=type + Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` + + + // other fields + } + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + 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 : str, default is Undefined, required + message is a human readable message indicating details about the transition. + This may be an empty string. + observedGeneration : int, default is Undefined, optional + 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 : str, default is Undefined, required + 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 : str, default is Undefined, required + status of the condition, one of True, False, Unknown. + $type : str, default is Undefined, required + type of condition in CamelCase or in foo.example.com/CamelCase. + --- + Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be + useful (see .node.status.conditions), the ability to deconflict is important. + The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + """ + + + lastTransitionTime: str + + message: str + + observedGeneration?: int + + reason: str + + status: "True" | "False" | "Unknown" + + $type: str + + + check: + len(message) <= 32768 + observedGeneration >= 0 if observedGeneration not in [None, Undefined] + len(reason) <= 1024 + len(reason) >= 1 + _regex_match(str(reason), r"^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$") + len($type) <= 316 + _regex_match(str($type), r"^([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])$") + + diff --git a/fluxcd-source-controller/v1beta2/source_toolkit_fluxcd_io_v1beta2_helm_repository.k b/fluxcd-source-controller/v1beta2/source_toolkit_fluxcd_io_v1beta2_helm_repository.k new file mode 100644 index 00000000..041350e3 --- /dev/null +++ b/fluxcd-source-controller/v1beta2/source_toolkit_fluxcd_io_v1beta2_helm_repository.k @@ -0,0 +1,355 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import regex +import k8s.apimachinery.pkg.apis.meta.v1 +_regex_match = regex.match + + +schema HelmRepository: + """ + HelmRepository is the Schema for the helmrepositories API. + + Attributes + ---------- + apiVersion : str, default is "source.toolkit.fluxcd.io/v1beta2", required + 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 : str, default is "HelmRepository", required + 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 : v1.ObjectMeta, default is Undefined, optional + metadata + spec : SourceToolkitFluxcdIoV1beta2HelmRepositorySpec, default is Undefined, optional + spec + status : SourceToolkitFluxcdIoV1beta2HelmRepositoryStatus, default is Undefined, optional + status + """ + + + apiVersion: "source.toolkit.fluxcd.io/v1beta2" = "source.toolkit.fluxcd.io/v1beta2" + + kind: "HelmRepository" = "HelmRepository" + + metadata?: v1.ObjectMeta + + spec?: SourceToolkitFluxcdIoV1beta2HelmRepositorySpec + + status?: SourceToolkitFluxcdIoV1beta2HelmRepositoryStatus + + +schema SourceToolkitFluxcdIoV1beta2HelmRepositorySpec: + """ + HelmRepositorySpec specifies the required configuration to produce an + Artifact for a Helm repository index YAML. + + Attributes + ---------- + accessFrom : SourceToolkitFluxcdIoV1beta2HelmRepositorySpecAccessFrom, default is Undefined, optional + access from + certSecretRef : SourceToolkitFluxcdIoV1beta2HelmRepositorySpecCertSecretRef, default is Undefined, optional + cert secret ref + insecure : bool, default is Undefined, optional + Insecure allows connecting to a non-TLS HTTP container registry. + This field is only taken into account if the .spec.type field is set to 'oci'. + interval : str, default is Undefined, optional + Interval at which the HelmRepository URL is checked for updates. + This interval is approximate and may be subject to jitter to ensure + efficient use of resources. + passCredentials : bool, default is Undefined, optional + PassCredentials allows the credentials from the SecretRef to be passed + on to a host that does not match the host as defined in URL. + This may be required if the host of the advertised chart URLs in the + index differ from the defined URL. + Enabling this should be done with caution, as it can potentially result + in credentials getting stolen in a MITM-attack. + provider : str, default is "generic", optional + Provider used for authentication, can be 'aws', 'azure', 'gcp' or 'generic'. + This field is optional, and only taken into account if the .spec.type field is set to 'oci'. + When not specified, defaults to 'generic'. + secretRef : SourceToolkitFluxcdIoV1beta2HelmRepositorySpecSecretRef, default is Undefined, optional + secret ref + suspend : bool, default is Undefined, optional + Suspend tells the controller to suspend the reconciliation of this + HelmRepository. + timeout : str, default is Undefined, optional + Timeout is used for the index fetch operation for an HTTPS helm repository, + and for remote OCI Repository operations like pulling for an OCI helm + chart by the associated HelmChart. + Its default value is 60s. + $type : str, default is Undefined, optional + Type of the HelmRepository. + When this field is set to "oci", the URL field value must be prefixed with "oci://". + url : str, default is Undefined, required + URL of the Helm repository, a valid URL contains at least a protocol and + host. + """ + + + accessFrom?: SourceToolkitFluxcdIoV1beta2HelmRepositorySpecAccessFrom + + certSecretRef?: SourceToolkitFluxcdIoV1beta2HelmRepositorySpecCertSecretRef + + insecure?: bool + + interval?: str + + passCredentials?: bool + + provider?: "generic" | "aws" | "azure" | "gcp" = "generic" + + secretRef?: SourceToolkitFluxcdIoV1beta2HelmRepositorySpecSecretRef + + suspend?: bool + + timeout?: str + + $type?: "default" | "oci" + + url: str + + + check: + _regex_match(str(interval), r"^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$") if interval + _regex_match(str(timeout), r"^([0-9]+(\.[0-9]+)?(ms|s|m))+$") if timeout + _regex_match(str(url), r"^(http|https|oci)://.*$") + + +schema SourceToolkitFluxcdIoV1beta2HelmRepositorySpecAccessFrom: + """ + 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 + + Attributes + ---------- + namespaceSelectors : [SourceToolkitFluxcdIoV1beta2HelmRepositorySpecAccessFromNamespaceSelectorsItems0], default is Undefined, required + NamespaceSelectors is the list of namespace selectors to which this ACL applies. + Items in this list are evaluated using a logical OR operation. + """ + + + namespaceSelectors: [SourceToolkitFluxcdIoV1beta2HelmRepositorySpecAccessFromNamespaceSelectorsItems0] + + +schema SourceToolkitFluxcdIoV1beta2HelmRepositorySpecAccessFromNamespaceSelectorsItems0: + """ + NamespaceSelector selects the namespaces to which this ACL applies. + An empty map of MatchLabels matches all namespaces in a cluster. + + Attributes + ---------- + matchLabels : {str:str}, default is Undefined, optional + 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?: {str:str} + + +schema SourceToolkitFluxcdIoV1beta2HelmRepositorySpecCertSecretRef: + """ + 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`. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referent. + """ + + + name: str + + +schema SourceToolkitFluxcdIoV1beta2HelmRepositorySpecSecretRef: + """ + 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. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referent. + """ + + + name: str + + +schema SourceToolkitFluxcdIoV1beta2HelmRepositoryStatus: + """ + HelmRepositoryStatus records the observed state of the HelmRepository. + + Attributes + ---------- + artifact : SourceToolkitFluxcdIoV1beta2HelmRepositoryStatusArtifact, default is Undefined, optional + artifact + conditions : [SourceToolkitFluxcdIoV1beta2HelmRepositoryStatusConditionsItems0], default is Undefined, optional + Conditions holds the conditions for the HelmRepository. + lastHandledReconcileAt : str, default is Undefined, optional + LastHandledReconcileAt holds the value of the most recent + reconcile request value, so a change of the annotation value + can be detected. + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the last observed generation of the HelmRepository + object. + url : str, default is Undefined, optional + URL is the dynamic fetch link for the latest Artifact. + It is provided on a "best effort" basis, and using the precise + HelmRepositoryStatus.Artifact data is recommended. + """ + + + artifact?: SourceToolkitFluxcdIoV1beta2HelmRepositoryStatusArtifact + + conditions?: [SourceToolkitFluxcdIoV1beta2HelmRepositoryStatusConditionsItems0] + + lastHandledReconcileAt?: str + + observedGeneration?: int + + url?: str + + +schema SourceToolkitFluxcdIoV1beta2HelmRepositoryStatusArtifact: + """ + Artifact represents the last successful HelmRepository reconciliation. + + Attributes + ---------- + digest : str, default is Undefined, optional + Digest is the digest of the file in the form of ':'. + lastUpdateTime : str, default is Undefined, required + LastUpdateTime is the timestamp corresponding to the last update of the + Artifact. + metadata : {str:str}, default is Undefined, optional + Metadata holds upstream information such as OCI annotations. + path : str, default is Undefined, required + 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 : str, default is Undefined, required + 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 : int, default is Undefined, optional + Size is the number of bytes in the file. + url : str, default is Undefined, required + 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. + """ + + + digest?: str + + lastUpdateTime: str + + metadata?: {str:str} + + path: str + + revision: str + + size?: int + + url: str + + + check: + _regex_match(str(digest), r"^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$") if digest + + +schema SourceToolkitFluxcdIoV1beta2HelmRepositoryStatusConditionsItems0: + """ + Condition contains details for one aspect of the current state of this API Resource. + --- + This struct is intended for direct use as an array at the field path .status.conditions. For example, + + + type FooStatus struct{ + // Represents the observations of a foo's current state. + // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" + // +patchMergeKey=type + // +patchStrategy=merge + // +listType=map + // +listMapKey=type + Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` + + + // other fields + } + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + 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 : str, default is Undefined, required + message is a human readable message indicating details about the transition. + This may be an empty string. + observedGeneration : int, default is Undefined, optional + 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 : str, default is Undefined, required + 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 : str, default is Undefined, required + status of the condition, one of True, False, Unknown. + $type : str, default is Undefined, required + type of condition in CamelCase or in foo.example.com/CamelCase. + --- + Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be + useful (see .node.status.conditions), the ability to deconflict is important. + The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + """ + + + lastTransitionTime: str + + message: str + + observedGeneration?: int + + reason: str + + status: "True" | "False" | "Unknown" + + $type: str + + + check: + len(message) <= 32768 + observedGeneration >= 0 if observedGeneration not in [None, Undefined] + len(reason) <= 1024 + len(reason) >= 1 + _regex_match(str(reason), r"^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$") + len($type) <= 316 + _regex_match(str($type), r"^([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])$") + + diff --git a/fluxcd-source-controller/v1beta2/source_toolkit_fluxcd_io_v1beta2_o_c_i_repository.k b/fluxcd-source-controller/v1beta2/source_toolkit_fluxcd_io_v1beta2_o_c_i_repository.k new file mode 100644 index 00000000..d0c11bcc --- /dev/null +++ b/fluxcd-source-controller/v1beta2/source_toolkit_fluxcd_io_v1beta2_o_c_i_repository.k @@ -0,0 +1,480 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import regex +import k8s.apimachinery.pkg.apis.meta.v1 +_regex_match = regex.match + + +schema OCIRepository: + """ + OCIRepository is the Schema for the ocirepositories API + + Attributes + ---------- + apiVersion : str, default is "source.toolkit.fluxcd.io/v1beta2", required + 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 : str, default is "OCIRepository", required + 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 : v1.ObjectMeta, default is Undefined, optional + metadata + spec : SourceToolkitFluxcdIoV1beta2OCIRepositorySpec, default is Undefined, optional + spec + status : SourceToolkitFluxcdIoV1beta2OCIRepositoryStatus, default is Undefined, optional + status + """ + + + apiVersion: "source.toolkit.fluxcd.io/v1beta2" = "source.toolkit.fluxcd.io/v1beta2" + + kind: "OCIRepository" = "OCIRepository" + + metadata?: v1.ObjectMeta + + spec?: SourceToolkitFluxcdIoV1beta2OCIRepositorySpec + + status?: SourceToolkitFluxcdIoV1beta2OCIRepositoryStatus + + +schema SourceToolkitFluxcdIoV1beta2OCIRepositorySpec: + """ + OCIRepositorySpec defines the desired state of OCIRepository + + Attributes + ---------- + certSecretRef : SourceToolkitFluxcdIoV1beta2OCIRepositorySpecCertSecretRef, default is Undefined, optional + cert secret ref + ignore : str, default is Undefined, optional + Ignore overrides the set of excluded patterns in the .sourceignore format + (which is the same as .gitignore). If not provided, a default will be used, + consult the documentation for your version to find out what those are. + insecure : bool, default is Undefined, optional + Insecure allows connecting to a non-TLS HTTP container registry. + interval : str, default is Undefined, required + 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 : SourceToolkitFluxcdIoV1beta2OCIRepositorySpecLayerSelector, default is Undefined, optional + layer selector + provider : str, default is "generic", optional + The provider used for authentication, can be 'aws', 'azure', 'gcp' or 'generic'. + When not specified, defaults to 'generic'. + ref : SourceToolkitFluxcdIoV1beta2OCIRepositorySpecRef, default is Undefined, optional + ref + secretRef : SourceToolkitFluxcdIoV1beta2OCIRepositorySpecSecretRef, default is Undefined, optional + secret ref + serviceAccountName : str, default is Undefined, optional + ServiceAccountName is the name of the Kubernetes ServiceAccount used to authenticate + the image pull if the service account has attached pull secrets. For more information: + https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#add-imagepullsecrets-to-a-service-account + suspend : bool, default is Undefined, optional + This flag tells the controller to suspend the reconciliation of this source. + timeout : str, default is "60s", optional + The timeout for remote OCI Repository operations like pulling, defaults to 60s. + url : str, default is Undefined, required + URL is a reference to an OCI artifact repository hosted + on a remote container registry. + verify : SourceToolkitFluxcdIoV1beta2OCIRepositorySpecVerify, default is Undefined, optional + verify + """ + + + certSecretRef?: SourceToolkitFluxcdIoV1beta2OCIRepositorySpecCertSecretRef + + ignore?: str + + insecure?: bool + + interval: str + + layerSelector?: SourceToolkitFluxcdIoV1beta2OCIRepositorySpecLayerSelector + + provider?: "generic" | "aws" | "azure" | "gcp" = "generic" + + ref?: SourceToolkitFluxcdIoV1beta2OCIRepositorySpecRef + + secretRef?: SourceToolkitFluxcdIoV1beta2OCIRepositorySpecSecretRef + + serviceAccountName?: str + + suspend?: bool + + timeout?: str = "60s" + + url: str + + verify?: SourceToolkitFluxcdIoV1beta2OCIRepositorySpecVerify + + + check: + _regex_match(str(interval), r"^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$") + _regex_match(str(timeout), r"^([0-9]+(\.[0-9]+)?(ms|s|m))+$") if timeout + _regex_match(str(url), r"^oci://.*$") + + +schema SourceToolkitFluxcdIoV1beta2OCIRepositorySpecCertSecretRef: + """ + 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`. + + + Note: Support for the `caFile`, `certFile` and `keyFile` keys have + been deprecated. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referent. + """ + + + name: str + + +schema SourceToolkitFluxcdIoV1beta2OCIRepositorySpecLayerSelector: + """ + LayerSelector specifies which layer should be extracted from the OCI artifact. + When not specified, the first layer found in the artifact is selected. + + Attributes + ---------- + mediaType : str, default is Undefined, optional + MediaType specifies the OCI media type of the layer + which should be extracted from the OCI Artifact. The + first layer matching this type is selected. + operation : str, default is Undefined, optional + Operation specifies how the selected layer should be processed. + By default, the layer compressed content is extracted to storage. + When the operation is set to 'copy', the layer compressed content + is persisted to storage as it is. + """ + + + mediaType?: str + + operation?: "extract" | "copy" + + +schema SourceToolkitFluxcdIoV1beta2OCIRepositorySpecRef: + """ + The OCI reference to pull and monitor for changes, + defaults to the latest tag. + + Attributes + ---------- + digest : str, default is Undefined, optional + Digest is the image digest to pull, takes precedence over SemVer. + The value should be in the format 'sha256:'. + semver : str, default is Undefined, optional + SemVer is the range of tags to pull selecting the latest within + the range, takes precedence over Tag. + semverFilter : str, default is Undefined, optional + SemverFilter is a regex pattern to filter the tags within the SemVer range. + tag : str, default is Undefined, optional + Tag is the image tag to pull, defaults to latest. + """ + + + digest?: str + + semver?: str + + semverFilter?: str + + tag?: str + + +schema SourceToolkitFluxcdIoV1beta2OCIRepositorySpecSecretRef: + """ + SecretRef contains the secret name containing the registry login + credentials to resolve image metadata. + The secret must be of type kubernetes.io/dockerconfigjson. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referent. + """ + + + name: str + + +schema SourceToolkitFluxcdIoV1beta2OCIRepositorySpecVerify: + """ + 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. + + Attributes + ---------- + matchOIDCIdentity : [SourceToolkitFluxcdIoV1beta2OCIRepositorySpecVerifyMatchOIDCIdentityItems0], default is Undefined, optional + 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. + provider : str, default is "cosign", required + Provider specifies the technology used to sign the OCI Artifact. + secretRef : SourceToolkitFluxcdIoV1beta2OCIRepositorySpecVerifySecretRef, default is Undefined, optional + secret ref + """ + + + matchOIDCIdentity?: [SourceToolkitFluxcdIoV1beta2OCIRepositorySpecVerifyMatchOIDCIdentityItems0] + + provider: "cosign" | "notation" = "cosign" + + secretRef?: SourceToolkitFluxcdIoV1beta2OCIRepositorySpecVerifySecretRef + + +schema SourceToolkitFluxcdIoV1beta2OCIRepositorySpecVerifyMatchOIDCIdentityItems0: + """ + OIDCIdentityMatch specifies options for verifying the certificate identity, + i.e. the issuer and the subject of the certificate. + + Attributes + ---------- + issuer : str, default is Undefined, required + 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 : str, default is Undefined, required + 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. + """ + + + issuer: str + + subject: str + + +schema SourceToolkitFluxcdIoV1beta2OCIRepositorySpecVerifySecretRef: + """ + SecretRef specifies the Kubernetes Secret containing the + trusted public keys. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referent. + """ + + + name: str + + +schema SourceToolkitFluxcdIoV1beta2OCIRepositoryStatus: + """ + OCIRepositoryStatus defines the observed state of OCIRepository + + Attributes + ---------- + artifact : SourceToolkitFluxcdIoV1beta2OCIRepositoryStatusArtifact, default is Undefined, optional + artifact + conditions : [SourceToolkitFluxcdIoV1beta2OCIRepositoryStatusConditionsItems0], default is Undefined, optional + Conditions holds the conditions for the OCIRepository. + contentConfigChecksum : str, default is Undefined, optional + ContentConfigChecksum is a checksum of all the configurations related to + the content of the source artifact: + - .spec.ignore + - .spec.layerSelector + observed in .status.observedGeneration version of the object. This can + be used to determine if the content configuration has changed and the + artifact needs to be rebuilt. + It has the format of `:`, for example: `sha256:`. + + + Deprecated: Replaced with explicit fields for observed artifact content + config in the status. + lastHandledReconcileAt : str, default is Undefined, optional + LastHandledReconcileAt holds the value of the most recent + reconcile request value, so a change of the annotation value + can be detected. + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the last observed generation. + observedIgnore : str, default is Undefined, optional + ObservedIgnore is the observed exclusion patterns used for constructing + the source artifact. + observedLayerSelector : SourceToolkitFluxcdIoV1beta2OCIRepositoryStatusObservedLayerSelector, default is Undefined, optional + observed layer selector + url : str, default is Undefined, optional + URL is the download link for the artifact output of the last OCI Repository sync. + """ + + + artifact?: SourceToolkitFluxcdIoV1beta2OCIRepositoryStatusArtifact + + conditions?: [SourceToolkitFluxcdIoV1beta2OCIRepositoryStatusConditionsItems0] + + contentConfigChecksum?: str + + lastHandledReconcileAt?: str + + observedGeneration?: int + + observedIgnore?: str + + observedLayerSelector?: SourceToolkitFluxcdIoV1beta2OCIRepositoryStatusObservedLayerSelector + + url?: str + + +schema SourceToolkitFluxcdIoV1beta2OCIRepositoryStatusArtifact: + """ + Artifact represents the output of the last successful OCI Repository sync. + + Attributes + ---------- + digest : str, default is Undefined, optional + Digest is the digest of the file in the form of ':'. + lastUpdateTime : str, default is Undefined, required + LastUpdateTime is the timestamp corresponding to the last update of the + Artifact. + metadata : {str:str}, default is Undefined, optional + Metadata holds upstream information such as OCI annotations. + path : str, default is Undefined, required + 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 : str, default is Undefined, required + 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 : int, default is Undefined, optional + Size is the number of bytes in the file. + url : str, default is Undefined, required + 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. + """ + + + digest?: str + + lastUpdateTime: str + + metadata?: {str:str} + + path: str + + revision: str + + size?: int + + url: str + + + check: + _regex_match(str(digest), r"^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$") if digest + + +schema SourceToolkitFluxcdIoV1beta2OCIRepositoryStatusConditionsItems0: + """ + Condition contains details for one aspect of the current state of this API Resource. + --- + This struct is intended for direct use as an array at the field path .status.conditions. For example, + + + type FooStatus struct{ + // Represents the observations of a foo's current state. + // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" + // +patchMergeKey=type + // +patchStrategy=merge + // +listType=map + // +listMapKey=type + Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` + + + // other fields + } + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + 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 : str, default is Undefined, required + message is a human readable message indicating details about the transition. + This may be an empty string. + observedGeneration : int, default is Undefined, optional + 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 : str, default is Undefined, required + 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 : str, default is Undefined, required + status of the condition, one of True, False, Unknown. + $type : str, default is Undefined, required + type of condition in CamelCase or in foo.example.com/CamelCase. + --- + Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be + useful (see .node.status.conditions), the ability to deconflict is important. + The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + """ + + + lastTransitionTime: str + + message: str + + observedGeneration?: int + + reason: str + + status: "True" | "False" | "Unknown" + + $type: str + + + check: + len(message) <= 32768 + observedGeneration >= 0 if observedGeneration not in [None, Undefined] + len(reason) <= 1024 + len(reason) >= 1 + _regex_match(str(reason), r"^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$") + len($type) <= 316 + _regex_match(str($type), r"^([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])$") + + +schema SourceToolkitFluxcdIoV1beta2OCIRepositoryStatusObservedLayerSelector: + """ + ObservedLayerSelector is the observed layer selector used for constructing + the source artifact. + + Attributes + ---------- + mediaType : str, default is Undefined, optional + MediaType specifies the OCI media type of the layer + which should be extracted from the OCI Artifact. The + first layer matching this type is selected. + operation : str, default is Undefined, optional + Operation specifies how the selected layer should be processed. + By default, the layer compressed content is extracted to storage. + When the operation is set to 'copy', the layer compressed content + is persisted to storage as it is. + """ + + + mediaType?: str + + operation?: "extract" | "copy" + +