feat(github-release): update fluxcd/flux2 to v2.3.0 #223

Merged
SeanOMik merged 1 commits from renovate/flux into main 2024-05-15 20:45:59 +00:00
Collaborator

This PR contains the following updates:

Package Type Update Change
fluxcd/flux2 Kustomization minor v2.2.3 -> v2.3.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

fluxcd/flux2 (fluxcd/flux2)

v2.3.0

Compare Source

Highlights

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

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

This release marks the General Availability (GA) of Flux Helm features and APIs, including helm-controller, the HelmRelease, HelmChart, and HelmRepository APIs.

The HelmRepository v2 API comes with new features, such as the ability to reference Helm charts from OCIRepository sources, reuse existing HelmChart resources, and verify the integrity of Helm chart artifacts signed with Notary Notation.

❤️ 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.28 >= 1.28.0
v1.29 >= 1.29.0
v1.30 >= 1.30.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.

API changes

HelmRelease v2

The HelmRelease kind was promoted from v2beta2 to v2 (GA).

The v2 API is backwards compatible with v2beta2, with the exception of the deprecated fields which have been removed.

Removed fields:

  • .spec.chart.spec.valuesFile replaced by .spec.chart.spec.valuesFiles.
  • .spec.postRenderers.kustomize.patchesJson6902 replaced by .spec.postRenderers.kustomize.patches.
  • .spec.postRenderers.kustomize.patchesStrategicMerge replaced by .spec.postRenderers.kustomize.patches.
  • .status.lastAppliedRevision replaced by .status.history.chartVersion.

New fields:

  • .spec.chartRef allows referencing chart artifacts from OCIRepository and HelmChart objects.
  • .spec.chart.spec.ignoreMissingValuesFiles allows ignoring missing values files instead of failing to reconcile.
HelmChart v1

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

The v1 API is backwards compatible with v1beta2, with the exception of the deprecated fields which have been removed.

Removed fields:

  • .spec.valuesFile replaced by .spec.chart.valuesFiles.

New fields:

  • .spec.ignoreMissingValuesFiles allows ignoring missing values files instead of failing to reconcile.
  • .spec.verify.provider: notation verify the signature of a Helm OCI artifacts using Notation trust policy and CA certificate.
HelmRepository v1

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

The v1 API is backwards compatible with v1beta2.

OCIRepository v1beta2

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

New fields:

  • .spec.ref.semverFilter allows filtering the tags based on regular expressions before applying the semver range.
  • .spec.verify.provider: notation verify the signature of OCI artifacts using Notation trust policy and CA certificate.
Kustomization v1

The Flux Kustomization kind gains new optional fields with no breaking changes.

New fields:

  • .spec.namePrefix allows setting a name prefix for the generated resources.
  • .spec.nameSuffix allows setting a name suffix for the generated resources.
ImageUpdateAutomation v1beta2

The ImageUpdateAutomation kind was promoted from v1beta1 to v1beta2.

The v1beta2 API is backwards compatible with v1beta1.

Deprecated fields:

  • Updated template data has been deprecated in favour of Changed that is designed to accommodate for all the types of updates made.

New fields:

  • .spec.policySelector allows filtering ImagePolicy based on labels.
Receiver v1

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

New fields:

  • .spec.type: cdevents allows receiving, validating and filtering of CDEvents.

Upgrade procedure

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

For more details, please refer to the upgrade guide from the Announcing Flux 2.3 GA blog post.

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 | Type | Update | Change | |---|---|---|---| | [fluxcd/flux2](https://github.com/fluxcd/flux2) | Kustomization | minor | `v2.2.3` -> `v2.3.0` | --- > ⚠ **Warning** > > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>fluxcd/flux2 (fluxcd/flux2)</summary> ### [`v2.3.0`](https://github.com/fluxcd/flux2/releases/tag/v2.3.0) [Compare Source](https://github.com/fluxcd/flux2/compare/v2.2.3...v2.3.0) #### Highlights Flux v2.3.0 is a feature release. Users are encouraged to upgrade for the best experience. For a compressive overview of new features and API changes included in this release, please refer to the [Announcing Flux 2.3 GA blog post](https://fluxcd.io/blog/2024/05/flux-v2.3.0/). This release marks the General Availability (GA) of Flux Helm features and APIs, including helm-controller, the `HelmRelease`, `HelmChart`, and `HelmRepository` APIs. The `HelmRepository` v2 API comes with new features, such as the ability to reference Helm charts from `OCIRepository` sources, reuse existing `HelmChart` resources, and verify the integrity of Helm chart artifacts signed with Notary Notation. ❤️ 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.28` | `>= 1.28.0` | | `v1.29` | `>= 1.29.0` | | `v1.30` | `>= 1.30.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. #### API changes ##### HelmRelease v2 The [HelmRelease](https://fluxcd.io/flux/components/helm/helmreleases/) kind was promoted from v2beta2 to v2 (GA). The v2 API is backwards compatible with v2beta2, with the exception of the deprecated fields which have been removed. Removed fields: - `.spec.chart.spec.valuesFile` replaced by `.spec.chart.spec.valuesFiles`. - `.spec.postRenderers.kustomize.patchesJson6902` replaced by `.spec.postRenderers.kustomize.patches`. - `.spec.postRenderers.kustomize.patchesStrategicMerge` replaced by `.spec.postRenderers.kustomize.patches`. - `.status.lastAppliedRevision` replaced by `.status.history.chartVersion`. New fields: - `.spec.chartRef` allows referencing chart artifacts from `OCIRepository` and `HelmChart` objects. - `.spec.chart.spec.ignoreMissingValuesFiles` allows ignoring missing values files instead of failing to reconcile. ##### HelmChart v1 The [HelmChart](https://fluxcd.io/flux/components/source/helmcharts/) kind was promoted from v1beta2 to v1 (GA). The v1 API is backwards compatible with v1beta2, with the exception of the deprecated fields which have been removed. Removed fields: - `.spec.valuesFile` replaced by `.spec.chart.valuesFiles`. New fields: - `.spec.ignoreMissingValuesFiles` allows ignoring missing values files instead of failing to reconcile. - `.spec.verify.provider: notation` verify the signature of a Helm OCI artifacts using Notation trust policy and CA certificate. ##### HelmRepository v1 The [HelmRepository](https://fluxcd.io/flux/components/source/helmrepositories/) kind was promoted from v1beta2 to v1 (GA). The v1 API is backwards compatible with v1beta2. ##### OCIRepository v1beta2 The [OCIRepository](https://fluxcd.io/flux/components/source/ocirepositoies/) kind gains new optional fields with no breaking changes. New fields: - `.spec.ref.semverFilter` allows filtering the tags based on regular expressions before applying the semver range. - `.spec.verify.provider: notation` verify the signature of OCI artifacts using Notation trust policy and CA certificate. ##### Kustomization v1 The Flux [Kustomization](https://fluxcd.io/flux/components/kustomize/kustomizations/) kind gains new optional fields with no breaking changes. New fields: - `.spec.namePrefix` allows setting a name prefix for the generated resources. - `.spec.nameSuffix` allows setting a name suffix for the generated resources. ##### ImageUpdateAutomation v1beta2 The [ImageUpdateAutomation](https://fluxcd.io/flux/components/image/imageupdateautomations/) kind was promoted from v1beta1 to v1beta2. The v1beta2 API is backwards compatible with v1beta1. Deprecated fields: - `Updated` template data has been deprecated in favour of `Changed` that is designed to accommodate for all the types of updates made. New fields: - `.spec.policySelector` allows filtering `ImagePolicy` based on labels. ##### Receiver v1 The [Receiver](https://fluxcd.io/flux/components/notification/receivers/) kind gains new optional fields with no breaking changes. New fields: - `.spec.type: cdevents` allows receiving, validating and filtering of CDEvents. #### Upgrade procedure Upgrade Flux from `v2.x` to `v2.3.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). For more details, please refer to the upgrade guide from the [Announcing Flux 2.3 GA blog post](https://fluxcd.io/blog/2024/05/flux-v2.3.0/#installing-or-upgrading-flux). #### Components changelog - source-controller [v1.3.0](https://github.com/fluxcd/source-controller/blob/v1.3.0/CHANGELOG.md) - kustomize-controller [v1.3.0](https://github.com/fluxcd/kustomize-controller/blob/v1.3.0/CHANGELOG.md) - notification-controller [v1.3.0](https://github.com/fluxcd/notification-controller/blob/v1.3.0/CHANGELOG.md) - helm-controller [v1.0.0](https://github.com/fluxcd/helm-controller/blob/v1.0.0/CHANGELOG.md) [v1.0.1](https://github.com/fluxcd/helm-controller/blob/v1.0.1/CHANGELOG.md) - image-reflector-controller [v0.32.0](https://github.com/fluxcd/image-reflector-controller/blob/v0.32.0/CHANGELOG.md) - image-automation-controller [v0.38.0](https://github.com/fluxcd/image-automation-controller/blob/v0.38.0/CHANGELOG.md) ##### New Documentation - [HelmRelease v2 specification](https://fluxcd.io/flux/components/helm/helmreleases/) - [ImageUpdateAutomation v1beta2 specification](https://fluxcd.io/flux/components/image/imageupdateautomations/) - [Oracle VBS bootstrap guide](https://fluxcd.io/flux/installation/bootstrap/oracle-vbs-git-repositories/) - [Azure DevOps bootstrap guide for SSH RSA SHA-2](https://fluxcd.io/flux/installation/bootstrap/azure-devops/#bootstrap-using-ssh-keys) - [OpenShift installation guide and SCC configuration](https://fluxcd.io/flux/installation/configuration/openshift/) - [Air-gapped installation guide for private container registries](https://fluxcd.io/flux/installation/configuration/air-gapped/#bootstrap-flux-and-authenticate-to-a-private-container-registry) - [Bootstrap with Terraform examples](https://github.com/fluxcd/terraform-provider-flux/tree/main/examples) - [Flux hub-and-spoke example repository](https://github.com/fluxcd/flux2-hub-spoke-example) - [Flux CD Architecture Overview blog post](https://control-plane.io/posts/fluxcd-architecture-overview/) #### CLI Changelog - PR [#&#8203;4783](https://github.com/fluxcd/flux2/issues/4783) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - ci: Consolidate conformance tests - PR [#&#8203;4781](https://github.com/fluxcd/flux2/issues/4781) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Set Kubernetes 1.28 as min required version - PR [#&#8203;4780](https://github.com/fluxcd/flux2/issues/4780) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Update helm-controller to v1.0.1 - PR [#&#8203;4779](https://github.com/fluxcd/flux2/issues/4779) - [@&#8203;fluxcdbot](https://github.com/fluxcdbot) - Update toolkit components - PR [#&#8203;4778](https://github.com/fluxcd/flux2/issues/4778) - [@&#8203;darkowlzz](https://github.com/darkowlzz) - tests/integration: Run flux check after installation - PR [#&#8203;4777](https://github.com/fluxcd/flux2/issues/4777) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Add k3s to the conformance test suite - PR [#&#8203;4775](https://github.com/fluxcd/flux2/issues/4775) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Update `HelmRelease` API to v2 (GA) - PR [#&#8203;4773](https://github.com/fluxcd/flux2/issues/4773) - [@&#8203;makkes](https://github.com/makkes) - Add `(create|delete|export) source chart` commands - PR [#&#8203;4771](https://github.com/fluxcd/flux2/issues/4771) - [@&#8203;matheuscscp](https://github.com/matheuscscp) - Add 2.3.x release label - PR [#&#8203;4770](https://github.com/fluxcd/flux2/issues/4770) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Update Flux architecture diagram - PR [#&#8203;4769](https://github.com/fluxcd/flux2/issues/4769) - [@&#8203;frekw](https://github.com/frekw) - Add `--reproducible` flag to `flux push artifact` - PR [#&#8203;4768](https://github.com/fluxcd/flux2/issues/4768) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Improve end-to-end test workflow - PR [#&#8203;4766](https://github.com/fluxcd/flux2/issues/4766) - [@&#8203;souleb](https://github.com/souleb) - Add support for HelmRelease v2 in `flux reconcile` and `flux create` - PR [#&#8203;4764](https://github.com/fluxcd/flux2/issues/4764) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - ci: Adapt image automation test to v1beta2 - PR [#&#8203;4759](https://github.com/fluxcd/flux2/issues/4759) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Update Helm Source APIs to v1 (GA) - PR [#&#8203;4754](https://github.com/fluxcd/flux2/issues/4754) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Add `--ssh-hostkey-algos` flag to bootstrap command - PR [#&#8203;4747](https://github.com/fluxcd/flux2/issues/4747) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Update dependencies to Kubernetes 1.30 - PR [#&#8203;4746](https://github.com/fluxcd/flux2/issues/4746) - [@&#8203;swade1987](https://github.com/swade1987) - Specifying go version in setup-go github action. - PR [#&#8203;4736](https://github.com/fluxcd/flux2/issues/4736) - [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump the ci group with 4 updates - PR [#&#8203;4735](https://github.com/fluxcd/flux2/issues/4735) - [@&#8203;JasonTheDeveloper](https://github.com/JasonTheDeveloper) - feat(secret): add create notation secret handler - PR [#&#8203;4734](https://github.com/fluxcd/flux2/issues/4734) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Run conformance tests for Kubernetes 1.30.0 - PR [#&#8203;4729](https://github.com/fluxcd/flux2/issues/4729) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Add OpenShift to the conformance test suite - PR [#&#8203;4728](https://github.com/fluxcd/flux2/issues/4728) - [@&#8203;toomaj](https://github.com/toomaj) - bootstrap: Add support for Git HTTP/S authorization header - PR [#&#8203;4727](https://github.com/fluxcd/flux2/issues/4727) - [@&#8203;makkes](https://github.com/makkes) - Add flags for issuer/subject OCI signature verification - PR [#&#8203;4717](https://github.com/fluxcd/flux2/issues/4717) - [@&#8203;hawwwdi](https://github.com/hawwwdi) - Set `GOMAXPROCS` and `GOMEMLIMIT` to all Flux controllers - PR [#&#8203;4710](https://github.com/fluxcd/flux2/issues/4710) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Add `flux envsubst` command - PR [#&#8203;4709](https://github.com/fluxcd/flux2/issues/4709) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Add `--strict-substitute` flag to `flux build ks` and `flux diff ks` - PR [#&#8203;4706](https://github.com/fluxcd/flux2/issues/4706) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Add `--registry-creds` flag to bootstrap and install commands - PR [#&#8203;4705](https://github.com/fluxcd/flux2/issues/4705) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Update dependencies to Kustomize v5.4.0 - PR [#&#8203;4701](https://github.com/fluxcd/flux2/issues/4701) - [@&#8203;fluxcdbot](https://github.com/fluxcdbot) - Update toolkit components - PR [#&#8203;4699](https://github.com/fluxcd/flux2/issues/4699) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Update dependencies to Go 1.22 and Kubernetes 1.29.3 - PR [#&#8203;4689](https://github.com/fluxcd/flux2/issues/4689) - [@&#8203;makkes](https://github.com/makkes) - Pin envtest version - PR [#&#8203;4687](https://github.com/fluxcd/flux2/issues/4687) - [@&#8203;carlpett](https://github.com/carlpett) - Add permissions required for flow control - PR [#&#8203;4678](https://github.com/fluxcd/flux2/issues/4678) - [@&#8203;darkowlzz](https://github.com/darkowlzz) - Update `ImageUpdateAutomation` API to v1beta2 - PR [#&#8203;4666](https://github.com/fluxcd/flux2/issues/4666) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Mark RFC-0006 as implementable - PR [#&#8203;4657](https://github.com/fluxcd/flux2/issues/4657) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - ci: Include all go modules in snyk testing - PR [#&#8203;4654](https://github.com/fluxcd/flux2/issues/4654) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Remove deprecated e2e tests - PR [#&#8203;4629](https://github.com/fluxcd/flux2/issues/4629) - [@&#8203;rishinair11](https://github.com/rishinair11) - Fix a typo in `--force` flag description - PR [#&#8203;4620](https://github.com/fluxcd/flux2/issues/4620) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Update Equinix ARM64 GitHub runners - PR [#&#8203;4610](https://github.com/fluxcd/flux2/issues/4610) - [@&#8203;takp](https://github.com/takp) - Fix typo in build.go - PR [#&#8203;4589](https://github.com/fluxcd/flux2/issues/4589) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Update dependencies - PR [#&#8203;4583](https://github.com/fluxcd/flux2/issues/4583) - [@&#8203;fluxcdbot](https://github.com/fluxcdbot) - Update toolkit components - PR [#&#8203;4575](https://github.com/fluxcd/flux2/issues/4575) - [@&#8203;stefanprodan](https://github.com/stefanprodan) - Update dependencies to Kubernetes v1.28.6 - PR [#&#8203;4558](https://github.com/fluxcd/flux2/issues/4558) - [@&#8203;twinguy](https://github.com/twinguy) - `flux check` should error on unrecognised args - PR [#&#8203;4557](https://github.com/fluxcd/flux2/issues/4557) - [@&#8203;twinguy](https://github.com/twinguy) - `flux stats` should error on unrecognised args - PR [#&#8203;4553](https://github.com/fluxcd/flux2/issues/4553) - [@&#8203;twinguy](https://github.com/twinguy) - Properly detect unexpected arguments during uninstall - PR [#&#8203;4534](https://github.com/fluxcd/flux2/issues/4534) - [@&#8203;adamkenihan](https://github.com/adamkenihan) - \[RFC-0006] Flux-CDEvent Receiver </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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNDYuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE0Ni4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Renovate added 1 commit 2024-05-13 15:36:41 +00:00
SeanOMik merged commit 2ff503a15f into main 2024-05-15 20:45:59 +00:00
SeanOMik deleted branch renovate/flux 2024-05-15 20:45:59 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: SeanOMik/k3s-cluster#223
No description provided.