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 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