chore(deps): update dependency fluxcd/flux2 to v0.40.0
This MR contains the following updates:
Package | Update | Change |
---|---|---|
fluxcd/flux2 | minor |
v0.39.0 -> v0.40.0
|
Release Notes
fluxcd/flux2
v0.40.0
Highlights
Flux v0.40.0 comes with new features and improvements. Users are encouraged to upgrade for the best experience.
Breaking changes
Image Automation
The image-reflector-controller autologin flags have been deprecated and are no longer used. Please see the new API specification and migration instructions in the controller changelog.
Notifications
The source revision format reported by the Flux controllers has changed according to RFC-0005.
The events referring to Git repositories, will report the revision in the format <branch|tag>@​sha1:<commit>
instead of <branch|tag>/<commit>
.
For more details please see the source-controller changelog.
OCI artifacts
The OCI artifacts produced with flux push artifact
have now custom media types:
- artifact media type
application/vnd.oci.image.manifest.v1+json
- config media type
application/vnd.cncf.flux.config.v1+json
- content media type
application/vnd.cncf.flux.content.v1.tar+gzip
Features and improvements
- The
GitRepository
API has a new optional field.spec.ref.name
for specifying a Git Reference. This allows Flux to reconcile resources from GitHub Merge Requests (refs/pull/<id>/head
) and GitLab Merge Requests (refs/merge-requests/<id>/head
). - The
ImageRepository
andImagePolicy
APIs have been promoted tov1beta2
. - Allow specifying the cloud provider contextual login for container registries with
ImageRepository.spec.provider
. - Improve observability of
ImageRepository
by showing the latest scanned tags under.status.lastScanResult.latestTags
. - Improve observability of
ImagePolicy
by reporting the current and previous image tag in status and events. - The Kubernetes builtin cluster roles:
view
,edit
andadmin
have been extended to allow access to Flux custom resources. - Print a report of Flux custom resources and the amount of cumulative storage used for each source type with
flux stats -A
.
New Documentation
- API: ImageRepository v1beta2
- API: ImagePolicy v1beta2
- Security: Aggregated cluster roles
- Bootstrap: Disable Kubernetes cluster role aggregations
- Blog: How Flux and Pulumi give each other superpowers
Components changelog
- source-controller v0.35.1 v0.35.0
- kustomize-controller v0.34.0
- helm-controller v0.30.0
- notification-controller v0.32.0
- image-reflector-controller v0.25.0
- image-automation-controller v0.30.0
CLI Changelog
- MR #3612 - @dependabot[bot] - build(deps): bump fossa-contrib/fossa-action from 1.2.0 to 2.0.0
- MR #3610 - @hiddeco - Update dependencies
- MR #3606 - @hiddeco - build: further solve issue release workflow
- MR #3605 - @hiddeco - build: ensure newlines work with $GITHUB_OUTPUT
- MR #3604 - @hiddeco - build: convert ::set-output to $GITHUB_OUTPUT
- MR #3603 - @stefanprodan - Remove deprecated flags
- MR #3602 - @hiddeco - Update source-controller to v0.35.1
- MR #3601 - @stefanprodan - ci: Fix Snyk Go build VCS stamping error
- MR #3598 - @fluxcdbot - Update toolkit components
- MR #3592 - @hiddeco - tests: only provide template values when used
- MR #3587 - @hiddeco - Support shortening of revision with digest
- MR #3585 - @darkowlzz - Update image-reflector API to v1beta2
- MR #3584 - @dependabot[bot] - build(deps): bump docker/setup-buildx-action from 2.4.0 to 2.4.1
- MR #3583 - @dependabot[bot] - build(deps): bump snyk/actions from
e25b2e6
to8061827
- MR #3582 - @dependabot[bot] - build(deps): bump actions/cache from 3.2.4 to 3.2.5
- MR #3581 - @dependabot[bot] - build(deps): bump github/codeql-action from 2.2.1 to 2.2.4
- MR #3578 - @stefanprodan - Add
flux stats
command to print the reconcilers status - MR #3575 - @stefanprodan - RFC-0003: Introduce Flux OCI media type
- MR #3566 - @stefanprodan - rbac: Add view and edit aggregated cluster roles
- MR #3563 - @dependabot[bot] - build(deps): bump actions/cache from 3.2.3 to 3.2.4
- MR #3562 - @dependabot[bot] - build(deps): bump goreleaser/goreleaser-action from 4.1.1 to 4.2.0
- MR #3560 - @stefanprodan - docs: Add permissions to update workflow
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot. The local configuration can be found in the SI Renovate Bot repository.