diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml
index e5db81621..f8796c21f 100644
--- a/.github/dependabot.yaml
+++ b/.github/dependabot.yaml
@@ -5,7 +5,7 @@ updates:
directory: "/"
labels: ["dependencies"]
schedule:
- interval: "daily"
+ interval: "monthly"
groups:
go-deps:
patterns:
@@ -37,4 +37,4 @@ updates:
patterns:
- "*"
schedule:
- interval: "daily"
+ interval: "monthly"
diff --git a/.github/labels.yaml b/.github/labels.yaml
index b4cc5408b..2f3e1d525 100644
--- a/.github/labels.yaml
+++ b/.github/labels.yaml
@@ -34,3 +34,9 @@
- name: backport:release/v1.5.x
description: To be backported to release/v1.5.x
color: '#ffd700'
+- name: backport:release/v1.6.x
+ description: To be backported to release/v1.6.x
+ color: '#ffd700'
+- name: backport:release/v1.7.x
+ description: To be backported to release/v1.7.x
+ color: '#ffd700'
diff --git a/.github/workflows/backport.yaml b/.github/workflows/backport.yaml
index 7a0974317..4081bb128 100644
--- a/.github/workflows/backport.yaml
+++ b/.github/workflows/backport.yaml
@@ -1,34 +1,12 @@
name: backport
-
on:
pull_request_target:
types: [closed, labeled]
-
-permissions:
- contents: read
-
jobs:
- pull-request:
- runs-on: ubuntu-latest
+ backport:
permissions:
- contents: write
- pull-requests: write
- if: github.event.pull_request.state == 'closed' && github.event.pull_request.merged && (github.event_name != 'labeled' || startsWith('backport:', github.event.label.name))
- steps:
- - name: Checkout
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- with:
- ref: ${{ github.event.pull_request.head.sha }}
- - name: Create backport PRs
- uses: korthout/backport-action@be567af183754f6a5d831ae90f648954763f17f5 # v3.1.0
- # xref: https://github.com/korthout/backport-action#inputs
- with:
- # Use token to allow workflows to be triggered for the created PR
- github_token: ${{ secrets.BOT_GITHUB_TOKEN }}
- # Match labels with a pattern `backport:Bucket
@@ -180,6 +182,21 @@ for the Bucket.
serviceAccountName
ServiceAccountName is the name of the Kubernetes ServiceAccount used to authenticate +the bucket. This field is only supported for the ‘gcp’ and ‘aws’ providers. +For more information about workload identity: +https://fluxcd.io/flux/components/source/buckets/#workload-identity
+certSecretRef
serviceAccountName
ServiceAccountName is the name of the Kubernetes ServiceAccount used to +authenticate to the GitRepository. This field is only supported for ‘azure’ provider.
+interval
sparseCheckout
SparseCheckout specifies a list of directories to checkout when cloning +the repository. If specified, only these directories are included in the +Artifact produced for this GitRepository.
+-(Appears on: -BucketStatus, -GitRepositoryStatus, -HelmChartStatus, -HelmRepositoryStatus) -
-Artifact represents the output of a Source reconciliation.
+OCIRepository is the Schema for the ocirepositories API
-path - + apiVersion +string |
+
+source.toolkit.fluxcd.io/v1
+ |
+||||||||||||||||||||||||||||
+kind string + |
+
+OCIRepository
+ |
+||||||||||||||||||||||||||||
+metadata + + +Kubernetes meta/v1.ObjectMeta + |
- 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. +Refer to the Kubernetes API documentation for the fields of the +metadata field.
|
||||||||||||||||||||||||||||
+spec + + +OCIRepositorySpec + + + |
+
+ + +
|
+||||||||||||||||||||||||||||
+status + + +OCIRepositoryStatus + + + |
+|||||||||||||||||||||||||||||
+serviceAccountName + +string + + |
+
+(Optional)
+ ServiceAccountName is the name of the Kubernetes ServiceAccount used to authenticate +the bucket. This field is only supported for the ‘gcp’ and ‘aws’ providers. +For more information about workload identity: +https://fluxcd.io/flux/components/source/buckets/#workload-identity + |
+||||||||||||||||||||||||||||
certSecretRef @@ -1483,8 +1714,8 @@ BucketStatus.Artifact data is recommended.
|
@@ -1525,15 +1756,9 @@ github.com/fluxcd/pkg/apis/meta.ReconcileRequestStatus
artifact - -Artifact + +github.com/fluxcd/pkg/apis/meta.Artifact |
-(Appears on: -GitRepositorySpec, -GitRepositoryStatus) -
-GitRepositoryInclude specifies a local reference to a GitRepository which -Artifact (sub-)contents must be included, and where they should be placed.
+ExternalArtifact is the Schema for the external artifacts API
-repository + metadata - -github.com/fluxcd/pkg/apis/meta.LocalObjectReference + +Kubernetes meta/v1.ObjectMeta |
- GitRepositoryRef specifies the GitRepository which Artifact contents -must be included. +Refer to the Kubernetes API documentation for the fields of the +metadata field.
|
-fromPath + spec -string + +ExternalArtifactSpec + |
-(Optional)
- FromPath specifies the path to copy contents from, defaults to the root -of the Artifact. - |
-
-toPath + sourceRef -string + +github.com/fluxcd/pkg/apis/meta.NamespacedObjectKindReference + + + |
+
+(Optional)
+ SourceRef points to the Kubernetes custom resource for +which the artifact is generated. + |
+
status
+(Appears on: +ExternalArtifact) +
+ExternalArtifactSpec defines the desired state of ExternalArtifact
+Field | +Description | +
---|---|
+sourceRef + + +github.com/fluxcd/pkg/apis/meta.NamespacedObjectKindReference + + + |
+
+(Optional)
+ SourceRef points to the Kubernetes custom resource for +which the artifact is generated. + |
+
+(Appears on: +ExternalArtifact) +
+ExternalArtifactStatus defines the observed state of ExternalArtifact
+Field | +Description | +
---|---|
+artifact + + +github.com/fluxcd/pkg/apis/meta.Artifact + + + |
+
+(Optional)
+ Artifact represents the output of an ExternalArtifact reconciliation. + |
+
+conditions + + +[]Kubernetes meta/v1.Condition + + + |
+
+(Optional)
+ Conditions holds the conditions for the ExternalArtifact. + |
+
+(Appears on: +GitRepositorySpec, +GitRepositoryStatus) +
+GitRepositoryInclude specifies a local reference to a GitRepository which +Artifact (sub-)contents must be included, and where they should be placed.
+Field | +Description | +
---|---|
+repository + + +github.com/fluxcd/pkg/apis/meta.LocalObjectReference + + + |
+
+ GitRepositoryRef specifies the GitRepository which Artifact contents +must be included. + |
+
+fromPath + +string + + |
+
+(Optional)
+ FromPath specifies the path to copy contents from, defaults to the root +of the Artifact. + |
+
+toPath + +string |
@@ -1736,6 +2126,19 @@ When not specified, defaults to ‘generic’. |
+serviceAccountName + +string + + |
+
+(Optional)
+ ServiceAccountName is the name of the Kubernetes ServiceAccount used to +authenticate to the GitRepository. This field is only supported for ‘azure’ provider. + |
+
interval @@ -1863,6 +2266,20 @@ the GitRepository as cloned from the URL, using their default settings. should be included in the Artifact produced for this GitRepository. |
|
+sparseCheckout + +[]string + + |
+
+(Optional)
+ SparseCheckout specifies a list of directories to checkout when cloning +the repository. If specified, only these directories are included in the +Artifact produced for this GitRepository. + |
+
artifact
includedArtifacts
observedSparseCheckout
ObservedSparseCheckout is the observed list of directories used to +produce the current Artifact.
+sourceVerificationMode
artifact
artifact
(Appears on: -HelmChartSpec) +OCIRepositorySpec, +OCIRepositoryStatus) +
+OCILayerSelector specifies which layer should be extracted from an OCI Artifact
+Field | +Description | +
---|---|
+mediaType + +string + + |
+
+(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 + +string + + |
+
+(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. + |
+
+(Appears on: +OCIRepositorySpec) +
+OCIRepositoryRef defines the image reference for the OCIRepository’s URL
+Field | +Description | +
---|---|
+digest + +string + + |
+
+(Optional)
+ Digest is the image digest to pull, takes precedence over SemVer.
+The value should be in the format ‘sha256: |
+
+semver + +string + + |
+
+(Optional)
+ SemVer is the range of tags to pull selecting the latest within +the range, takes precedence over Tag. + |
+
+semverFilter + +string + + |
+
+(Optional)
+ SemverFilter is a regex pattern to filter the tags within the SemVer range. + |
+
+tag + +string + + |
+
+(Optional)
+ Tag is the image tag to pull, defaults to latest. + |
+
+(Appears on: +OCIRepository) +
+OCIRepositorySpec defines the desired state of OCIRepository
+Field | +Description | +
---|---|
+url + +string + + |
+
+ URL is a reference to an OCI artifact repository hosted +on a remote container registry. + |
+
+ref + + +OCIRepositoryRef + + + |
+
+(Optional)
+ The OCI reference to pull and monitor for changes, +defaults to the latest tag. + |
+
+layerSelector + + +OCILayerSelector + + + |
+
+(Optional)
+ LayerSelector specifies which layer should be extracted from the OCI artifact. +When not specified, the first layer found in the artifact is selected. + |
+
+provider + +string + + |
+
+(Optional)
+ The provider used for authentication, can be ‘aws’, ‘azure’, ‘gcp’ or ‘generic’. +When not specified, defaults to ‘generic’. + |
+
+secretRef + + +github.com/fluxcd/pkg/apis/meta.LocalObjectReference + + + |
+
+(Optional)
+ SecretRef contains the secret name containing the registry login +credentials to resolve image metadata. +The secret must be of type kubernetes.io/dockerconfigjson. + |
+
+verify + + +OCIRepositoryVerification + + + |
+
+(Optional)
+ Verify contains the secret name containing the trusted public keys +used to verify the signature and specifies which provider to use to check +whether OCI image is authentic. + |
+
+serviceAccountName + +string + + |
+
+(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 + |
+
+certSecretRef + + +github.com/fluxcd/pkg/apis/meta.LocalObjectReference + + + |
+
+(Optional)
+ CertSecretRef can be given the name of a Secret containing +either or both of +
and whichever are supplied, will be used for connecting to the
+registry. The client cert and key are useful if you are
+authenticating with a certificate; the CA cert is useful if
+you are using a self-signed server certificate. The Secret must
+be of type |
+
+proxySecretRef + + +github.com/fluxcd/pkg/apis/meta.LocalObjectReference + + + |
+
+(Optional)
+ ProxySecretRef specifies the Secret containing the proxy configuration +to use while communicating with the container registry. + |
+
+interval + + +Kubernetes meta/v1.Duration + + + |
+
+ Interval at which the OCIRepository URL is checked for updates. +This interval is approximate and may be subject to jitter to ensure +efficient use of resources. + |
+
+timeout + + +Kubernetes meta/v1.Duration + + + |
+
+(Optional)
+ The timeout for remote OCI Repository operations like pulling, defaults to 60s. + |
+
+ignore + +string + + |
+
+(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 + + |
+
+(Optional)
+ Insecure allows connecting to a non-TLS HTTP container registry. + |
+
+suspend + +bool + + |
+
+(Optional)
+ This flag tells the controller to suspend the reconciliation of this source. + |
+
+(Appears on: +OCIRepository) +
+OCIRepositoryStatus defines the observed state of OCIRepository
+Field | +Description | +
---|---|
+observedGeneration + +int64 + + |
+
+(Optional)
+ ObservedGeneration is the last observed generation. + |
+
+conditions + + +[]Kubernetes meta/v1.Condition + + + |
+
+(Optional)
+ Conditions holds the conditions for the OCIRepository. + |
+
+url + +string + + |
+
+(Optional)
+ URL is the download link for the artifact output of the last OCI Repository sync. + |
+
+artifact + + +github.com/fluxcd/pkg/apis/meta.Artifact + + + |
+
+(Optional)
+ Artifact represents the output of the last successful OCI Repository sync. + |
+
+observedIgnore + +string + + |
+
+(Optional)
+ ObservedIgnore is the observed exclusion patterns used for constructing +the source artifact. + |
+
+observedLayerSelector + + +OCILayerSelector + + + |
+
+(Optional)
+ ObservedLayerSelector is the observed layer selector used for constructing +the source artifact. + |
+
+ReconcileRequestStatus + + +github.com/fluxcd/pkg/apis/meta.ReconcileRequestStatus + + + |
+
+
+(Members of |
+
+(Appears on: +HelmChartSpec, +OCIRepositorySpec)
OCIRepositoryVerification verifies the authenticity of an OCI Artifact