This release addresses a hypothetical issue with the Artifact Digest field
validation, where a patch of the Artifact could fail to be applied to an object
due to the lack of an omitempty tag on the optional field. In reality, this
issue is not possible to encounter, as the Digest field is always set when
the Artifact is created.
Note that v0.35.0 contains breaking changes. Please refer to the changelog
entry for more information.
This release introduces a new format for the Artifact Revision, and deprecates
the Checksum field in favor of a new Digest field. In addition, it adds
support for Git reference names in a GitRepository, and comes with the usual
collection of dependency updates.
Highlights
Support for Git reference names
Starting with this version, it is possible to define a Git Reference
in a GitRepository using .spec.ref.name.
This opens the door to a range of functionalities not available before, as it
for example allows the controller to follow pull (refs/pull/<id>/head) or
merge (refs/merge-requests/<id>/head) requests, and allows a transition from
the HEAD of a branch (refs/heads/main) to a tag (refs/tags/v0.1.0) by
changing a single field value.
The Artifact of a Source will now advertise a Digest field containing the
checksum of the file advertised in the Path, and the alias of the algorithm
used to calculate it. Creating a "digest" in the format of <algo>:<checksum>.
The algorithm is configurable using the newly introduced --artifact-digest-algo
flag, which allows configuration of other algorithms (sha384, sha512, and
... (truncated)
Commits
514b2b8 Merge pull request #1032 from fluxcd/release-v0.35.1
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps github.com/fluxcd/source-controller/api from 0.27.0 to 0.35.1.
Release notes
Sourced from github.com/fluxcd/source-controller/api's releases.
Changelog
Sourced from github.com/fluxcd/source-controller/api's changelog.
... (truncated)
Commits
514b2b8
Merge pull request #1032 from fluxcd/release-v0.35.11a64823
Release v0.35.17abdb55
Merge pull request #1031 from fluxcd/omitempty-digest440f1d5
api: omit empty Digest in Artifact0f91a32
Merge pull request #1029 from fluxcd/release-v0.35.0a99a340
Release v0.35.0b30096e
Merge pull request #1030 from fluxcd/dependabot/go_modules/github.com/contain...93acd4a
build(deps): bump github.com/containerd/containerd from 1.6.15 to 1.6.189cb04d2
Merge pull request #1026 from aryan9600/git-refnamec3511cc
add support for checking out to Git refsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)