From 9793d5c9366123acb340fa4950ee4048ec0a4a34 Mon Sep 17 00:00:00 2001 From: mayor Date: Thu, 9 Apr 2026 23:41:19 -0400 Subject: [PATCH 1/2] fix(ci): stamp helmchart.yaml chartVersion at release time The HelmChart manifest must have a chartVersion matching the packaged archive. Replicated cannot match them when the field is empty, causing helm-archive-missing and helm-chart-missing errors. After copying helmchart.yaml to release/, use sed to replace the empty chartVersion with the build version before the release is created. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/pr.yml | 1 + .github/workflows/release.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 8c922b0..a621a21 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -58,6 +58,7 @@ jobs: cp .replicated release/ cp embedded-cluster-config.yaml release/ cp helmchart.yaml release/ + sed -i "s/chartVersion: \"\"/chartVersion: \"${{ env.CHART_VERSION }}\"/" release/helmchart.yaml - name: Create Replicated release id: create-release diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a7b7662..140ec63 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -55,6 +55,7 @@ jobs: cp .replicated release/ cp embedded-cluster-config.yaml release/ cp helmchart.yaml release/ + sed -i "s/chartVersion: \"\"/chartVersion: \"${{ env.VERSION }}\"/" release/helmchart.yaml - name: Create Replicated release id: create-release From b0d0ae7936a4d0eb309d57f54eb2bfec687f68b4 Mon Sep 17 00:00:00 2001 From: mayor Date: Fri, 10 Apr 2026 00:35:10 -0400 Subject: [PATCH 2/2] fix(replicated): remove helm-charts section now managed by helmchart.yaml The helm-charts section was generating a conflicting HelmChart CR with no chartVersion, causing the helm-archive-missing errors. helmchart.yaml (kots.io/v1beta2) is now the explicit source of truth for the chart CR. Co-Authored-By: Claude Sonnet 4.6 --- .replicated | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.replicated b/.replicated index 66090ef..714ea83 100644 --- a/.replicated +++ b/.replicated @@ -5,9 +5,3 @@ channels: - name: Unstable - name: Beta - name: Stable -helm-charts: - - name: gameshelf - path: . - values: - - key: image.tag - value: repl{{ .VersionLabel }}