7.md (12074B)
1 # PR #7 chore(deps): update dependency fluxcd/flux2 to v2.4.0 - autoclosed 2 3 - **Status:** closed 4 - **Author:** @renovate[bot] 5 - **Created:** 2024-10-16T17:35:28Z 6 - **Branch:** renovate/fluxcd-flux2-2.x → main 7 - **Closed:** 2024-10-16T17:36:26Z 8 - **Diff:** [7.diff](./7.diff) 9 10 --- 11 12 This PR contains the following updates: 13 14 | Package | Update | Change | 15 |---|---|---| 16 | [fluxcd/flux2](https://redirect.github.com/fluxcd/flux2) | minor | `v2.3.0` -> `v2.4.0` | 17 18 --- 19 20 ### Release Notes 21 22 <details> 23 <summary>fluxcd/flux2 (fluxcd/flux2)</summary> 24 25 ### [`v2.4.0`](https://redirect.github.com/fluxcd/flux2/releases/tag/v2.4.0) 26 27 [Compare Source](https://redirect.github.com/fluxcd/flux2/compare/v2.3.0...v2.4.0) 28 29 #### Highlights 30 31 Flux v2.4.0 is a feature release. Users are encouraged to upgrade for the best experience. 32 33 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/). 34 35 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. 36 37 The `GitRepository` v1 API gains support for OIDC authentication. Starting with this version, you can authenticate against Azure DevOps repositories using AKS Workload Identity. 38 39 The `OCIRepository` v1beta2 API gains support for proxy configuration thus allowing dedicated HTTP/S Proxy authentication on multi-tenant Kubernetes clusters. 40 41 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. 42 43 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. 44 45 ❤️ Big thanks to all the Flux contributors that helped us with this release! 46 47 ##### Kubernetes compatibility 48 49 This release is compatible with the following Kubernetes versions: 50 51 | Kubernetes version | Minimum required | 52 |--------------------|------------------| 53 | `v1.29` | `>= 1.29.0` | 54 | `v1.30` | `>= 1.30.0` | 55 | `v1.31` | `>= 1.31.0` | 56 57 > \[!NOTE] 58 > Note that the Flux project offers support only for the latest three minor versions of Kubernetes. 59 > Backwards compatibility with older versions of Kubernetes and OpenShift is offered by vendors such as 60 > [ControlPlane](https://control-plane.io/enterprise-for-flux-cd/) that provide enterprise support for Flux. 61 62 ##### OpenShift compatibility 63 64 Flux can be installed on Red Hat OpenShift cluster directly from OperatorHub using [Flux Operator](https://operatorhub.io/operator/flux-operator). 65 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. 66 67 #### API changes 68 69 ##### Bucket v1 70 71 The [Bucket](https://fluxcd.io/flux/components/source/buckets/) kind was promoted from v1beta2 to v1 (GA). 72 73 The v1 API is backwards compatible with v1beta2. 74 75 New fields: 76 77 - `.spec.proxySecretRef` allows configuring HTTP/S Proxy authentication for the S3-compatible storage service. 78 - `.spec.certSecretRef` allows custom TLS client certificate and CA for secure communication with the S3-compatible storage service. 79 - `.spec.sts` allows custom STS configuration for AWS S3 and MinIO LDAP authentication. 80 81 ##### GitRepository v1 82 83 The [GitRepository](https://fluxcd.io/flux/components/source/gitrepositoies/) kind gains new optional fields with no breaking changes. 84 85 New fields: 86 87 - `.spec.provider` allows specifying an OIDC provider used for authentication purposes. Currently, only the `azure` provider is supported. 88 89 ##### OCIRepository v1beta2 90 91 The [OCIRepository](https://fluxcd.io/flux/components/source/ocirepositoies/) kind gains new optional fields with no breaking changes. 92 93 New fields: 94 95 - `.spec.proxySecretRef` allows configuring HTTP/S Proxy authentication for the container registry service. 96 97 ##### HelmRelease v2 98 99 The [HelmRelease](https://fluxcd.io/flux/components/helm/helmreleases/) kind gains new optional fields with no breaking changes. 100 101 New fields: 102 103 - `.spec.install.disableSchemaValidation` allows disabling the JSON schema validation of the Helm release values during installation. 104 - `.spec.upgrade.disableSchemaValidation` allows disabling the JSON schema validation of the Helm release values during upgrade. 105 106 #### Upgrade procedure 107 108 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://redirect.github.com/fluxcd/flux2/tree/main/action). 109 110 To upgrade the APIs, make sure the new CRDs and controllers are deployed, and then change the manifests in Git: 111 112 1. Set `apiVersion: source.toolkit.fluxcd.io/v1` in the YAML files that contain `Bucket` definitions. 113 2. Commit, push and reconcile the API version changes. 114 115 Bumping the APIs version in manifests can be done gradually. 116 It is advised to not delay this procedure as the deprecated versions will be removed after 6 months. 117 118 #### Components changelog 119 120 - source-controller [v1.4.0](https://redirect.github.com/fluxcd/source-controller/blob/v1.4.0/CHANGELOG.md) [v1.4.1](https://redirect.github.com/fluxcd/source-controller/blob/v1.4.1/CHANGELOG.md) 121 - kustomize-controller [v1.4.0](https://redirect.github.com/fluxcd/kustomize-controller/blob/v1.4.0/CHANGELOG.md) 122 - notification-controller [v1.4.0](https://redirect.github.com/fluxcd/notification-controller/blob/v1.4.0/CHANGELOG.md) 123 - helm-controller [v1.1.0](https://redirect.github.com/fluxcd/helm-controller/blob/v1.1.0/CHANGELOG.md) 124 - image-reflector-controller [v0.33.0](https://redirect.github.com/fluxcd/image-reflector-controller/blob/v0.33.0/CHANGELOG.md) 125 - image-automation-controller [v0.39.0](https://redirect.github.com/fluxcd/image-automation-controller/blob/v0.39.0/CHANGELOG.md) 126 127 ##### New Documentation 128 129 - [Bucket v1 specification](https://fluxcd.io/flux/components/source/buckets/) 130 - [Azure DevOps OIDC auth configuration](https://fluxcd.io/flux/components/source/gitrepositories/#provider) 131 132 #### CLI Changelog 133 134 - PR [#​5014](https://redirect.github.com/fluxcd/flux2/issues/5014) - [@​stefanprodan](https://redirect.github.com/stefanprodan) - Update Kubernetes dependencies to v1.31.1 135 - PR [#​5011](https://redirect.github.com/fluxcd/flux2/issues/5011) - [@​stefanprodan](https://redirect.github.com/stefanprodan) - Remove TLS deprecated flags from `flux create secret` 136 - PR [#​5010](https://redirect.github.com/fluxcd/flux2/issues/5010) - [@​stefanprodan](https://redirect.github.com/stefanprodan) - Add `flux create secret proxy` command 137 - PR [#​5009](https://redirect.github.com/fluxcd/flux2/issues/5009) - [@​stefanprodan](https://redirect.github.com/stefanprodan) - Add `--proxy-secret-ref` to `flux create source` commands 138 - PR [#​5008](https://redirect.github.com/fluxcd/flux2/issues/5008) - [@​stefanprodan](https://redirect.github.com/stefanprodan) - Promote `bucket` commands to GA 139 - PR [#​5007](https://redirect.github.com/fluxcd/flux2/issues/5007) - [@​stefanprodan](https://redirect.github.com/stefanprodan) - Run conformance tests for Kubernetes 1.29-1.31 140 - PR [#​5005](https://redirect.github.com/fluxcd/flux2/issues/5005) - [@​fluxcdbot](https://redirect.github.com/fluxcdbot) - Update toolkit components 141 - PR [#​5004](https://redirect.github.com/fluxcd/flux2/issues/5004) - [@​fluxcdbot](https://redirect.github.com/fluxcdbot) - Update source-controller to v1.4.1 142 - PR [#​4986](https://redirect.github.com/fluxcd/flux2/issues/4986) - [@​dipti-pai](https://redirect.github.com/dipti-pai) - \[RFC-0007] Add `--provider` flag to `flux create source git` 143 - PR [#​4970](https://redirect.github.com/fluxcd/flux2/issues/4970) - [@​JasonTheDeveloper](https://redirect.github.com/JasonTheDeveloper) - Update notaryproject/notation-go to 1.2.1 144 - PR [#​4967](https://redirect.github.com/fluxcd/flux2/issues/4967) - [@​mxtw](https://redirect.github.com/mxtw) - tests: use tempdir to avoid manual gc 145 - PR [#​4959](https://redirect.github.com/fluxcd/flux2/issues/4959) - [@​stefanprodan](https://redirect.github.com/stefanprodan) - Fix GitHub bootstrap for repositories with custom properties 146 - PR [#​4948](https://redirect.github.com/fluxcd/flux2/issues/4948) - [@​harshitasao](https://redirect.github.com/harshitasao) - fix: fixed GHA token-permission and pinned dependencies issue 147 - PR [#​4939](https://redirect.github.com/fluxcd/flux2/issues/4939) - [@​bkreitch](https://redirect.github.com/bkreitch) - Recursively diff Kustomizations 148 - PR [#​4936](https://redirect.github.com/fluxcd/flux2/issues/4936) - [@​stefanprodan](https://redirect.github.com/stefanprodan) - Build with Go 1.23 149 - PR [#​4934](https://redirect.github.com/fluxcd/flux2/issues/4934) - [@​stefanprodan](https://redirect.github.com/stefanprodan) - Update dependencies to Kubernetes v1.31.0 150 - PR [#​4922](https://redirect.github.com/fluxcd/flux2/issues/4922) - [@​bkreitch](https://redirect.github.com/bkreitch) - Stop spinner on cancel of flux diff kustomization 151 - PR [#​4918](https://redirect.github.com/fluxcd/flux2/issues/4918) - [@​matheuscscp](https://redirect.github.com/matheuscscp) - Fix reconcile helmrelease command description 152 - PR [#​4892](https://redirect.github.com/fluxcd/flux2/issues/4892) - [@​stefanprodan](https://redirect.github.com/stefanprodan) - Run conformance tests for Kubernetes v1.31 153 - PR [#​4871](https://redirect.github.com/fluxcd/flux2/issues/4871) - [@​harshitasao](https://redirect.github.com/harshitasao) - changed the scorecard badge link to the standard format 154 - PR [#​4866](https://redirect.github.com/fluxcd/flux2/issues/4866) - [@​nagyv](https://redirect.github.com/nagyv) - Introduce visibility flag for bootstrap gitlab 155 - PR [#​4863](https://redirect.github.com/fluxcd/flux2/issues/4863) - [@​stefanprodan](https://redirect.github.com/stefanprodan) - Update conformance tests to Kubernetes v1.30.2 156 - PR [#​4845](https://redirect.github.com/fluxcd/flux2/issues/4845) - [@​stefanprodan](https://redirect.github.com/stefanprodan) - Run ARM64 e2e tests on GitHub runners 157 - PR [#​4842](https://redirect.github.com/fluxcd/flux2/issues/4842) - [@​stefanprodan](https://redirect.github.com/stefanprodan) - Add `part-of` label to controllers base 158 - PR [#​4835](https://redirect.github.com/fluxcd/flux2/issues/4835) - [@​stefanprodan](https://redirect.github.com/stefanprodan) - ci: Adapt config to GoRelease v2 159 - PR [#​4806](https://redirect.github.com/fluxcd/flux2/issues/4806) - [@​dipti-pai](https://redirect.github.com/dipti-pai) - \[RFC] Passwordless authentication for Git repositories 160 161 </details> 162 163 --- 164 165 ### Configuration 166 167 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 168 169 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. 170 171 ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 172 173 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. 174 175 --- 176 177 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box 178 179 --- 180 181 This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/MTRNord/cluster). 182 <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMjAuMSIsInVwZGF0ZWRJblZlciI6IjM4LjEyMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> 183 184