From eb86909f4b413b97472b08efdc4d2a480c039a92 Mon Sep 17 00:00:00 2001 From: Matheus Pimenta Date: Wed, 24 Jun 2026 15:07:44 +0100 Subject: [PATCH 1/2] Add changelog entry for v2.2.0 Signed-off-by: Matheus Pimenta --- CHANGELOG.md | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 01e72a8..09c689c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,48 @@ All notable changes to this project are documented in this file. +## 2.2.0 + +**Release date:** 2026-06-24 + +This minor release comes with enhancements to the `ArtifactGenerator` API and +updated Kubernetes and source-controller dependencies. + +### ArtifactGenerator + +The `ArtifactGenerator` now supports directory discovery through the +`.spec.pathPattern` field, a `@/` traversal expression whose +named captures (e.g. `{app}`) can be used as placeholders in the output +artifact fields. + +The API also gains a `.spec.commonMetadata` field for setting common labels and +annotations on the generated artifacts. + +### General updates + +In addition, the Kubernetes dependencies have been updated to v1.36 along with +controller-runtime v0.24, and the source-controller API has been bumped to +v1.9.0. + +Fixes: +- Fix copy exclude pattern matching + [#334](https://github.com/fluxcd/source-watcher/pull/334) + +Improvements: +- Add `.spec.commonMetadata` to ArtifactGenerator + [#333](https://github.com/fluxcd/source-watcher/pull/333) +- Add `.spec.pathPattern` directory discovery to ArtifactGenerator + [#341](https://github.com/fluxcd/source-watcher/pull/341) +- Update to Kubernetes 1.36 and Go 1.26 + [#335](https://github.com/fluxcd/source-watcher/pull/335) +- Upgrade source-controller API to v1.9.0 + [#342](https://github.com/fluxcd/source-watcher/pull/342) +- Various dependency updates + [#336](https://github.com/fluxcd/source-watcher/pull/336) + [#338](https://github.com/fluxcd/source-watcher/pull/338) + [#339](https://github.com/fluxcd/source-watcher/pull/339) + [#340](https://github.com/fluxcd/source-watcher/pull/340) + ## 2.1.1 **Release date:** 2026-03-12 From 8a1859f8a6c5a9836ae24a5f37617ece4d1be111 Mon Sep 17 00:00:00 2001 From: Matheus Pimenta Date: Wed, 24 Jun 2026 15:08:18 +0100 Subject: [PATCH 2/2] Release v2.2.0 Signed-off-by: Matheus Pimenta --- config/manager/kustomization.yaml | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index 13ed1cb..2701b8e 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -6,4 +6,4 @@ resources: images: - name: fluxcd/source-watcher newName: fluxcd/source-watcher - newTag: v2.1.0 + newTag: v2.2.0 diff --git a/go.mod b/go.mod index 8f5365c..cb8605d 100644 --- a/go.mod +++ b/go.mod @@ -18,7 +18,7 @@ require ( github.com/fluxcd/pkg/tar v1.2.0 github.com/fluxcd/pkg/testserver v0.14.0 github.com/fluxcd/source-controller/api v1.9.0 - github.com/fluxcd/source-watcher/api/v2 v2.1.0 + github.com/fluxcd/source-watcher/api/v2 v2.2.0 github.com/onsi/gomega v1.41.0 github.com/opencontainers/go-digest v1.0.0 github.com/spf13/pflag v1.0.10