From 3fca974a8b2a50c55d65b446a38a9d91b51296cc Mon Sep 17 00:00:00 2001 From: Boemeltrein <130394941+Boemeltrein@users.noreply.github.com> Date: Tue, 2 Sep 2025 18:56:10 +0200 Subject: [PATCH] fix(clustertool): Revert 35820 apiVersion: source.toolkit.fluxcd.io (#39057) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** ⚒️ Fixes # With this previous PR it seems a fresh clustertool bootstrap isn't possible. This needs to be `apiVersion: source.toolkit.fluxcd.io/v1beta2` **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [x] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code - [ ] 📜 Documentation Changes **🧪 How Has This Been Tested?** Just bootstrapped my cluster and `apiVersion: source.toolkit.fluxcd.io/v1` will not work **📃 Notes:** **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made changes to the documentation - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning - [x] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or `fix(docs):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --------- Signed-off-by: Boemeltrein <130394941+Boemeltrein@users.noreply.github.com> --- .../embed/generic/root/repositories/oci/flux-manifests.yaml | 4 ++-- website/src/content/docs/guides/fluxcd/capacitor.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/clustertool/embed/generic/root/repositories/oci/flux-manifests.yaml b/clustertool/embed/generic/root/repositories/oci/flux-manifests.yaml index 164ccb45691..4ec00039ab5 100644 --- a/clustertool/embed/generic/root/repositories/oci/flux-manifests.yaml +++ b/clustertool/embed/generic/root/repositories/oci/flux-manifests.yaml @@ -1,6 +1,6 @@ --- -# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/ocirepository_v1.json -apiVersion: source.toolkit.fluxcd.io/v1 +# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/ocirepository_v1beta2.json +apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: OCIRepository metadata: name: flux-manifests diff --git a/website/src/content/docs/guides/fluxcd/capacitor.md b/website/src/content/docs/guides/fluxcd/capacitor.md index 30ff86290d3..339c0e91601 100644 --- a/website/src/content/docs/guides/fluxcd/capacitor.md +++ b/website/src/content/docs/guides/fluxcd/capacitor.md @@ -99,7 +99,7 @@ Go to your `Reponsitories/oci` directory and create this file. ``` yaml //capacitor-manifests.yaml -apiVersion: source.toolkit.fluxcd.io/v1 +apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: OCIRepository metadata: name: capacitor