From 033a51dd8c2404e7044be6a0e4b14b9246a6ab20 Mon Sep 17 00:00:00 2001 From: Matheus Pimenta Date: Tue, 7 Jul 2026 11:51:40 +0100 Subject: [PATCH 1/2] Add changelog entry for v2.2.2 Signed-off-by: Matheus Pimenta --- CHANGELOG.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 979ed7f..a65bc29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,20 @@ All notable changes to this project are documented in this file. +## 2.2.2 + +**Release date:** 2026-07-07 + +This patch release disables Flux variable substitution on the ArtifactGenerator +CRD. The CRD is now annotated with +`kustomize.toolkit.fluxcd.io/substitute: disabled` so that Kustomizations with +post-build substitution enabled no longer corrupt the CRD schema when it +contains `${...}` sequences. + +Fixes: +- Disable variable substitution in CRDs + [#366](https://github.com/fluxcd/source-watcher/pull/366) + ## 2.2.1 **Release date:** 2026-06-30 From 47bd389f70a3106c8825fd089fecc30c05466aa6 Mon Sep 17 00:00:00 2001 From: Matheus Pimenta Date: Tue, 7 Jul 2026 11:51:41 +0100 Subject: [PATCH 2/2] Release v2.2.2 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 ab72239..0a90708 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.2.1 + newTag: v2.2.2 diff --git a/go.mod b/go.mod index 1f5660e..5fc3234 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.2.1 + github.com/fluxcd/source-watcher/api/v2 v2.2.2 github.com/onsi/gomega v1.42.1 github.com/opencontainers/go-digest v1.0.0 github.com/spf13/pflag v1.0.10