From 34d960faccc3f3eb5f1729d48cc3db487daa4b6f Mon Sep 17 00:00:00 2001 From: Brioche Date: Thu, 4 Jun 2026 14:49:48 +0200 Subject: [PATCH] feat(affine): promote to stable (#48763) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** ⚒️ Fixes # **⚙️ Type of change** - [x] ⚙️ Feature/App addition - [ ] 🪛 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?** Tested on my personal Talos/k8s cluster before this PR. The HelmRelease is wired up in Flux at: https://github.com/n0PainNoBrioche/brioche-cloud/tree/main/clusters/main/kubernetes/apps/affine Verified on a k8s 1.35.4 single-node cluster with Longhorn storage: - Flux `HelmRelease` reconciled cleanly, including the install-time `affine-migration` init-container - CNPG `Cluster` reaches `Ready` with both primary and replica instance up; the `vectors` (pgvector) extension is enabled on the primary (`SELECT extname FROM pg_extension;` lists `vectors`) - Main `affine` pod reaches `Ready`, HTTP probes on `/` (port 3010) succeed - External HTTPS access works through nginx-ingress + cert-manager (`affine.exemple.com` returns the AFFiNE web UI) - PVCs `affine-config` and `affine-storage` are bound and mounted on both the main and init containers (NFS, in my setup) - Migration init-container (`type: init`) successfully applies the schema - `affine-server-external-url` is built correctly as `://` when `affine.serverHost` is set The chart is published as OCI; no test cluster is required to pull dependencies. **📃 Notes:** Promotes the AFFiNE chart from `incubator/` to `stable/` now that it's been reviewed, tested on a real cluster, and the initial `add new chart` PR has merged. Specific changes to `Chart.yaml`: - `truecharts.org/train: incubator` → `stable` - `trueforge.org/train: incubator` → `stable` - `home: https://truecharts.org/charts/incubator/affine` → `charts/stable/affine` - `sources[2]`: same path swap - `version: 0.1.1` → `1.0.0` (first stable release) - `appVersion: 0.26.7` (matches the image the bot picked up; same digest as `0.26.3`) - `incubator/affine/` removed **✔️ Checklist:** - [x] ⚖️ My code follows the style guidelines of this project - [x] 👀 I have performed a self-review of my own code - [x] #️⃣ I have commented my code, particularly in hard-to-understand areas - [x] 📄 I have made changes to the documentation (none needed — values.yaml unchanged) - [x] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [x] ⬆️ I increased versions for any altered app according to semantic versioning (0.1.1 → 1.0.0 for the chart) - [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. - [x] 🖼️ I have added an icon in the Chart's root directory called `icon.png` *(icon is `icon.webp`; the daily CI transcodes the webp → strips the png. The `icon.webp` and `icon-small.webp` files in the chart root are what the catalog uses.)* --- Co-authored-by: n0PainNoBrioche <22093195+n0PainNoBrioche@users.noreply.github.com> --- charts/incubator/affine/README.md | 50 ------------------ .../{incubator => stable}/affine/.helmignore | 0 .../{incubator => stable}/affine/CHANGELOG.md | 0 .../{incubator => stable}/affine/Chart.yaml | 10 ++-- charts/stable/affine/README.md | 3 ++ .../affine/icon-small.webp | Bin charts/{incubator => stable}/affine/icon.webp | Bin .../affine/templates/NOTES.txt | 0 .../affine/templates/common.yaml | 0 .../{incubator => stable}/affine/values.yaml | 0 10 files changed, 8 insertions(+), 55 deletions(-) delete mode 100644 charts/incubator/affine/README.md rename charts/{incubator => stable}/affine/.helmignore (100%) rename charts/{incubator => stable}/affine/CHANGELOG.md (100%) rename charts/{incubator => stable}/affine/Chart.yaml (88%) create mode 100644 charts/stable/affine/README.md rename charts/{incubator => stable}/affine/icon-small.webp (100%) rename charts/{incubator => stable}/affine/icon.webp (100%) rename charts/{incubator => stable}/affine/templates/NOTES.txt (100%) rename charts/{incubator => stable}/affine/templates/common.yaml (100%) rename charts/{incubator => stable}/affine/values.yaml (100%) diff --git a/charts/incubator/affine/README.md b/charts/incubator/affine/README.md deleted file mode 100644 index 4ae7efb0cbf..00000000000 --- a/charts/incubator/affine/README.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: README ---- - -## General Info - -For more information about this Chart, please check the docs on the TrueCharts [website](https://trueforge.org/truecharts/charts/incubator/affine) - -**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/trueforge-org/truecharts/issues/new/choose)** - -## Installation - -### Helm-Chart installation - -To install TrueCharts Helm charts using Helm, you can use our OCI Repository. - -`helm install mychart oci://oci.trueforge.org/truecharts/affine` - -For more information on how to install TrueCharts Helm charts, checkout the [instructions on the website](https://trueforge.org/truecharts/guides/) - -## Chart Specific Guides and information - -All our charts have dedicated documentation pages. -The documentation for this chart can be found here: -https://truecharts.org/charts/incubator/affine - -## Configuration Options - -To view the chart specific options, please view Values.yaml included in the chart. -The most recent version of which, is available here: https://github.com/trueforge-org/truecharts/blob/master/charts/incubator/affine/values.yaml - -All our Charts use a shared "common" library chart that contains most of the templating and options. -For the complete overview of all available options, please checkout the documentation for them on the [common docs on our website](https://trueforge.org/truecharts-common/) - -For information about the common chart and all defaults included with it, please review its values.yaml file available here: https://github.com/trueforge-org/truecharts/blob/master/charts/library/common/values.yaml - -## Support - -- See the [Website](https://truecharts.org) -- Check our [Discord](https://discord.gg/tVsPTHWTtr) -- Open an [issue](https://github.com/trueforge-org/truecharts/issues/new/choose) - ---- - -## Sponsor TrueCharts - -TrueCharts can only exist due to the incredible effort of our staff. -Please consider making a [donation](https://trueforge.org/general/sponsor/) or contributing back to the project any way you can! - -_All Rights Reserved - The TrueCharts Project_ diff --git a/charts/incubator/affine/.helmignore b/charts/stable/affine/.helmignore similarity index 100% rename from charts/incubator/affine/.helmignore rename to charts/stable/affine/.helmignore diff --git a/charts/incubator/affine/CHANGELOG.md b/charts/stable/affine/CHANGELOG.md similarity index 100% rename from charts/incubator/affine/CHANGELOG.md rename to charts/stable/affine/CHANGELOG.md diff --git a/charts/incubator/affine/Chart.yaml b/charts/stable/affine/Chart.yaml similarity index 88% rename from charts/incubator/affine/Chart.yaml rename to charts/stable/affine/Chart.yaml index 86ce7c2451f..30e05e88ca8 100644 --- a/charts/incubator/affine/Chart.yaml +++ b/charts/stable/affine/Chart.yaml @@ -2,12 +2,12 @@ annotations: artifacthub.io/links: |- - name: support url: https://discord.com/invite/tVsPTHWTtr - truecharts.org/train: incubator + truecharts.org/train: stable trueforge.org/category: productivity trueforge.org/max_helm_version: "4.1" trueforge.org/max_kubernetes_version: 1.35.0 trueforge.org/min_helm_version: "3.14" - trueforge.org/train: incubator + trueforge.org/train: stable apiVersion: v2 appVersion: 0.26.7 dependencies: @@ -27,7 +27,7 @@ dependencies: import-values: [] deprecated: false description: AFFiNE is an open-source, all-in-one workspace where docs, whiteboards and tasks converge. -home: https://truecharts.org/charts/incubator/affine +home: https://truecharts.org/charts/stable/affine icon: https://truecharts.org/img/hotlink-ok/chart-icons/affine.webp keywords: - affine @@ -43,7 +43,7 @@ name: affine sources: - https://ghcr.io/toeverything/affine - https://github.com/toeverything/AFFiNE - - https://github.com/trueforge-org/truecharts/tree/master/charts/incubator/affine + - https://github.com/trueforge-org/truecharts/tree/master/charts/stable/affine type: application -version: 0.1.1 +version: 1.0.0 diff --git a/charts/stable/affine/README.md b/charts/stable/affine/README.md new file mode 100644 index 00000000000..2b8cc49d247 --- /dev/null +++ b/charts/stable/affine/README.md @@ -0,0 +1,3 @@ +--- +title: README +--- diff --git a/charts/incubator/affine/icon-small.webp b/charts/stable/affine/icon-small.webp similarity index 100% rename from charts/incubator/affine/icon-small.webp rename to charts/stable/affine/icon-small.webp diff --git a/charts/incubator/affine/icon.webp b/charts/stable/affine/icon.webp similarity index 100% rename from charts/incubator/affine/icon.webp rename to charts/stable/affine/icon.webp diff --git a/charts/incubator/affine/templates/NOTES.txt b/charts/stable/affine/templates/NOTES.txt similarity index 100% rename from charts/incubator/affine/templates/NOTES.txt rename to charts/stable/affine/templates/NOTES.txt diff --git a/charts/incubator/affine/templates/common.yaml b/charts/stable/affine/templates/common.yaml similarity index 100% rename from charts/incubator/affine/templates/common.yaml rename to charts/stable/affine/templates/common.yaml diff --git a/charts/incubator/affine/values.yaml b/charts/stable/affine/values.yaml similarity index 100% rename from charts/incubator/affine/values.yaml rename to charts/stable/affine/values.yaml