⬆️ Update dependency fluxcd/flux2 to v2.4.0 #17

Open
renovatebot wants to merge 1 commit from renovate/fluxcd-flux2-2.x into main
Collaborator

This PR contains the following updates:

Package Update Change
fluxcd/flux2 minor v2.3.0 -> v2.4.0

Release Notes

fluxcd/flux2 (fluxcd/flux2)

v2.4.0

Compare Source

Highlights

Flux v2.4.0 is a feature release. Users are encouraged to upgrade for the best experience.

For a comprehensive overview of new features and API changes included in this release, please refer to the Announcing Flux 2.4 GA blog post.

This release marks the General Availability (GA) of Flux Bucket API. The Bucket v1 API comes with new features including: proxy support, mTLS and custom STS configuration for AWS S3 and MinIO LDAP authentication.

The GitRepository v1 API gains support for OIDC authentication. Starting with this version, you can authenticate against Azure DevOps repositories using AKS Workload Identity.

The OCIRepository v1beta2 API gains support for proxy configuration thus allowing dedicated HTTP/S Proxy authentication on multi-tenant Kubernetes clusters.

The HelmRelease v2 API gains support for disabling JSON schema validation of the Helm release values during installation and upgrade. And allows adopting existing Kubernetes resources during Helm release installation.

The Flux controllers are now built with Go 1.23 and their dependencies have been updated to Kubernetes 1.31, Helm 3.16, SOPS 3.9 Cosign 2.4 and Notation 1.2.

❤️ Big thanks to all the Flux contributors that helped us with this release!

Kubernetes compatibility

This release is compatible with the following Kubernetes versions:

Kubernetes version Minimum required
v1.29 >= 1.29.0
v1.30 >= 1.30.0
v1.31 >= 1.31.0

[!NOTE]
Note that the Flux project offers support only for the latest three minor versions of Kubernetes.
Backwards compatibility with older versions of Kubernetes and OpenShift is offered by vendors such as
ControlPlane that provide enterprise support for Flux.

OpenShift compatibility

Flux can be installed on Red Hat OpenShift cluster directly from OperatorHub using Flux Operator.
The operator allows the configuration of Flux multi-tenancy lockdown, network policies, persistent storage, sharding, vertical scaling and the synchronization of the cluster state from Git repositories, OCI artifacts and S3-compatible storage.

API changes

Bucket v1

The Bucket kind was promoted from v1beta2 to v1 (GA).

The v1 API is backwards compatible with v1beta2.

New fields:

  • .spec.proxySecretRef allows configuring HTTP/S Proxy authentication for the S3-compatible storage service.
  • .spec.certSecretRef allows custom TLS client certificate and CA for secure communication with the S3-compatible storage service.
  • .spec.sts allows custom STS configuration for AWS S3 and MinIO LDAP authentication.
GitRepository v1

The GitRepository kind gains new optional fields with no breaking changes.

New fields:

  • .spec.provider allows specifying an OIDC provider used for authentication purposes. Currently, only the azure provider is supported.
OCIRepository v1beta2

The OCIRepository kind gains new optional fields with no breaking changes.

New fields:

  • .spec.proxySecretRef allows configuring HTTP/S Proxy authentication for the container registry service.
HelmRelease v2

The HelmRelease kind gains new optional fields with no breaking changes.

New fields:

  • .spec.install.disableSchemaValidation allows disabling the JSON schema validation of the Helm release values during installation.
  • .spec.upgrade.disableSchemaValidation allows disabling the JSON schema validation of the Helm release values during upgrade.

Upgrade procedure

Upgrade Flux from v2.3.0 to v2.4.0 either by rerunning bootstrap or by using the Flux GitHub Action.

To upgrade the APIs, make sure the new CRDs and controllers are deployed, and then change the manifests in Git:

  1. Set apiVersion: source.toolkit.fluxcd.io/v1 in the YAML files that contain Bucket definitions.
  2. Commit, push and reconcile the API version changes.

Bumping the APIs version in manifests can be done gradually.
It is advised to not delay this procedure as the deprecated versions will be removed after 6 months.

Components changelog

New Documentation

CLI Changelog


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [fluxcd/flux2](https://github.com/fluxcd/flux2) | minor | `v2.3.0` -> `v2.4.0` | --- ### Release Notes <details> <summary>fluxcd/flux2 (fluxcd/flux2)</summary> ### [`v2.4.0`](https://github.com/fluxcd/flux2/releases/tag/v2.4.0) [Compare Source](https://github.com/fluxcd/flux2/compare/v2.3.0...v2.4.0) #### Highlights Flux v2.4.0 is a feature release. Users are encouraged to upgrade for the best experience. For a comprehensive overview of new features and API changes included in this release, please refer to the [Announcing Flux 2.4 GA blog post](https://fluxcd.io/blog/2024/09/flux-v2.4.0/). This release marks the General Availability (GA) of Flux Bucket API. The `Bucket` v1 API comes with new features including: proxy support, mTLS and custom STS configuration for AWS S3 and MinIO LDAP authentication. The `GitRepository` v1 API gains support for OIDC authentication. Starting with this version, you can authenticate against Azure DevOps repositories using AKS Workload Identity. The `OCIRepository` v1beta2 API gains support for proxy configuration thus allowing dedicated HTTP/S Proxy authentication on multi-tenant Kubernetes clusters. The `HelmRelease` v2 API gains support for disabling JSON schema validation of the Helm release values during installation and upgrade. And allows adopting existing Kubernetes resources during Helm release installation. The Flux controllers are now built with Go 1.23 and their dependencies have been updated to Kubernetes 1.31, Helm 3.16, SOPS 3.9 Cosign 2.4 and Notation 1.2. ❤️ Big thanks to all the Flux contributors that helped us with this release! ##### Kubernetes compatibility This release is compatible with the following Kubernetes versions: | Kubernetes version | Minimum required | |--------------------|------------------| | `v1.29` | `>= 1.29.0` | | `v1.30` | `>= 1.30.0` | | `v1.31` | `>= 1.31.0` | > \[!NOTE] > Note that the Flux project offers support only for the latest three minor versions of Kubernetes. > Backwards compatibility with older versions of Kubernetes and OpenShift is offered by vendors such as > [ControlPlane](https://control-plane.io/enterprise-for-flux-cd/) that provide enterprise support for Flux. ##### OpenShift compatibility Flux can be installed on Red Hat OpenShift cluster directly from OperatorHub using [Flux Operator](https://operatorhub.io/operator/flux-operator). The operator allows the configuration of Flux multi-tenancy lockdown, network policies, persistent storage, sharding, vertical scaling and the synchronization of the cluster state from Git repositories, OCI artifacts and S3-compatible storage. #### API changes ##### Bucket v1 The [Bucket](https://fluxcd.io/flux/components/source/buckets/) kind was promoted from v1beta2 to v1 (GA). The v1 API is backwards compatible with v1beta2. New fields: - `.spec.proxySecretRef` allows configuring HTTP/S Proxy authentication for the S3-compatible storage service. - `.spec.certSecretRef` allows custom TLS client certificate and CA for secure communication with the S3-compatible storage service. - `.spec.sts` allows custom STS configuration for AWS S3 and MinIO LDAP authentication. ##### GitRepository v1 The [GitRepository](https://fluxcd.io/flux/components/source/gitrepositoies/) kind gains new optional fields with no breaking changes. New fields: - `.spec.provider` allows specifying an OIDC provider used for authentication purposes. Currently, only the `azure` provider is supported. ##### OCIRepository v1beta2 The [OCIRepository](https://fluxcd.io/flux/components/source/ocirepositoies/) kind gains new optional fields with no breaking changes. New fields: - `.spec.proxySecretRef` allows configuring HTTP/S Proxy authentication for the container registry service. ##### HelmRelease v2 The [HelmRelease](https://fluxcd.io/flux/components/helm/helmreleases/) kind gains new optional fields with no breaking changes. New fields: - `.spec.install.disableSchemaValidation` allows disabling the JSON schema validation of the Helm release values during installation. - `.spec.upgrade.disableSchemaValidation` allows disabling the JSON schema validation of the Helm release values during upgrade. #### Upgrade procedure Upgrade Flux from `v2.3.0` to `v2.4.0` either by [rerunning bootstrap](https://fluxcd.io/flux/installation/#bootstrap-upgrade) or by using the [Flux GitHub Action](https://github.com/fluxcd/flux2/tree/main/action). To upgrade the APIs, make sure the new CRDs and controllers are deployed, and then change the manifests in Git: 1. Set `apiVersion: source.toolkit.fluxcd.io/v1` in the YAML files that contain `Bucket` definitions. 2. Commit, push and reconcile the API version changes. Bumping the APIs version in manifests can be done gradually. It is advised to not delay this procedure as the deprecated versions will be removed after 6 months. #### Components changelog - source-controller [v1.4.0](https://github.com/fluxcd/source-controller/blob/v1.4.0/CHANGELOG.md) [v1.4.1](https://github.com/fluxcd/source-controller/blob/v1.4.1/CHANGELOG.md) - kustomize-controller [v1.4.0](https://github.com/fluxcd/kustomize-controller/blob/v1.4.0/CHANGELOG.md) - notification-controller [v1.4.0](https://github.com/fluxcd/notification-controller/blob/v1.4.0/CHANGELOG.md) - helm-controller [v1.1.0](https://github.com/fluxcd/helm-controller/blob/v1.1.0/CHANGELOG.md) - image-reflector-controller [v0.33.0](https://github.com/fluxcd/image-reflector-controller/blob/v0.33.0/CHANGELOG.md) - image-automation-controller [v0.39.0](https://github.com/fluxcd/image-automation-controller/blob/v0.39.0/CHANGELOG.md) ##### New Documentation - [Bucket v1 specification](https://fluxcd.io/flux/components/source/buckets/) - [Azure DevOps OIDC auth configuration](https://fluxcd.io/flux/components/source/gitrepositories/#provider) #### CLI Changelog - PR [#&#8203;5014](https://github.com/fluxcd/flux2/issues/5014) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Update Kubernetes dependencies to v1.31.1 - PR [#&#8203;5011](https://github.com/fluxcd/flux2/issues/5011) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Remove TLS deprecated flags from `flux create secret` - PR [#&#8203;5010](https://github.com/fluxcd/flux2/issues/5010) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Add `flux create secret proxy` command - PR [#&#8203;5009](https://github.com/fluxcd/flux2/issues/5009) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Add `--proxy-secret-ref` to `flux create source` commands - PR [#&#8203;5008](https://github.com/fluxcd/flux2/issues/5008) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Promote `bucket` commands to GA - PR [#&#8203;5007](https://github.com/fluxcd/flux2/issues/5007) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Run conformance tests for Kubernetes 1.29-1.31 - PR [#&#8203;5005](https://github.com/fluxcd/flux2/issues/5005) - [@&#8203;fluxcdbot](https://github.com/fluxcdbot) - Update toolkit components - PR [#&#8203;5004](https://github.com/fluxcd/flux2/issues/5004) - [@&#8203;fluxcdbot](https://github.com/fluxcdbot) - Update source-controller to v1.4.1 - PR [#&#8203;4986](https://github.com/fluxcd/flux2/issues/4986) - [@&#8203;dipti-pai](https://github.com/dipti-pai) - \[RFC-0007] Add `--provider` flag to `flux create source git` - PR [#&#8203;4970](https://github.com/fluxcd/flux2/issues/4970) - [@&#8203;JasonTheDeveloper](https://github.com/JasonTheDeveloper) - Update notaryproject/notation-go to 1.2.1 - PR [#&#8203;4967](https://github.com/fluxcd/flux2/issues/4967) - [@&#8203;mxtw](https://github.com/mxtw) - tests: use tempdir to avoid manual gc - PR [#&#8203;4959](https://github.com/fluxcd/flux2/issues/4959) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Fix GitHub bootstrap for repositories with custom properties - PR [#&#8203;4948](https://github.com/fluxcd/flux2/issues/4948) - [@&#8203;harshitasao](https://github.com/harshitasao) - fix: fixed GHA token-permission and pinned dependencies issue - PR [#&#8203;4939](https://github.com/fluxcd/flux2/issues/4939) - [@&#8203;bkreitch](https://github.com/bkreitch) - Recursively diff Kustomizations - PR [#&#8203;4936](https://github.com/fluxcd/flux2/issues/4936) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Build with Go 1.23 - PR [#&#8203;4934](https://github.com/fluxcd/flux2/issues/4934) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Update dependencies to Kubernetes v1.31.0 - PR [#&#8203;4922](https://github.com/fluxcd/flux2/issues/4922) - [@&#8203;bkreitch](https://github.com/bkreitch) - Stop spinner on cancel of flux diff kustomization - PR [#&#8203;4918](https://github.com/fluxcd/flux2/issues/4918) - [@&#8203;matheuscscp](https://github.com/matheuscscp) - Fix reconcile helmrelease command description - PR [#&#8203;4892](https://github.com/fluxcd/flux2/issues/4892) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Run conformance tests for Kubernetes v1.31 - PR [#&#8203;4871](https://github.com/fluxcd/flux2/issues/4871) - [@&#8203;harshitasao](https://github.com/harshitasao) - changed the scorecard badge link to the standard format - PR [#&#8203;4866](https://github.com/fluxcd/flux2/issues/4866) - [@&#8203;nagyv](https://github.com/nagyv) - Introduce visibility flag for bootstrap gitlab - PR [#&#8203;4863](https://github.com/fluxcd/flux2/issues/4863) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Update conformance tests to Kubernetes v1.30.2 - PR [#&#8203;4845](https://github.com/fluxcd/flux2/issues/4845) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Run ARM64 e2e tests on GitHub runners - PR [#&#8203;4842](https://github.com/fluxcd/flux2/issues/4842) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Add `part-of` label to controllers base - PR [#&#8203;4835](https://github.com/fluxcd/flux2/issues/4835) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - ci: Adapt config to GoRelease v2 - PR [#&#8203;4806](https://github.com/fluxcd/flux2/issues/4806) - [@&#8203;dipti-pai](https://github.com/dipti-pai) - \[RFC] Passwordless authentication for Git repositories </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45My4wIiwidXBkYXRlZEluVmVyIjoiMzguMTIyLjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
renovatebot added 1 commit 2024-09-30 13:00:48 -04:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/fluxcd-flux2-2.x:renovate/fluxcd-flux2-2.x
git checkout renovate/fluxcd-flux2-2.x

Merge

Merge the changes and update on Forgejo.
git checkout main
git merge --no-ff renovate/fluxcd-flux2-2.x
git checkout renovate/fluxcd-flux2-2.x
git rebase main
git checkout main
git merge --ff-only renovate/fluxcd-flux2-2.x
git checkout renovate/fluxcd-flux2-2.x
git rebase main
git checkout main
git merge --no-ff renovate/fluxcd-flux2-2.x
git checkout main
git merge --squash renovate/fluxcd-flux2-2.x
git checkout main
git merge --ff-only renovate/fluxcd-flux2-2.x
git checkout main
git merge renovate/fluxcd-flux2-2.x
git push origin main
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: mafyuh/kub#17
No description provided.