From 1031c878a57e8968b1caddd4779bf47f26e9080e Mon Sep 17 00:00:00 2001 From: Allen Conlon Date: Fri, 13 Jun 2025 18:16:42 -0400 Subject: [PATCH 1/2] feat: add publishing of helm charts to ghcr registry --- .github/workflows/release.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 881cc4c437db6..25d1ae61c65a6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -693,6 +693,8 @@ jobs: gsutil -h "Cache-Control:no-cache,max-age=0" cp build/helm/provisioner_helm_${version}.tgz gs://helm.coder.com/v2 gsutil -h "Cache-Control:no-cache,max-age=0" cp build/helm/index.yaml gs://helm.coder.com/v2 gsutil -h "Cache-Control:no-cache,max-age=0" cp helm/artifacthub-repo.yml gs://helm.coder.com/v2 + helm push build/coder_helm_${version}.tgz oci://ghcr.io/coder/chart + helm push build/provisioner_helm_${version}.tgz oci://ghcr.io/coder/chart - name: Upload artifacts to actions (if dry-run) if: ${{ inputs.dry_run }} From b188874068bbd53a2db84587bf2dace5ac1887af Mon Sep 17 00:00:00 2001 From: Allen Conlon Date: Fri, 13 Jun 2025 18:17:52 -0400 Subject: [PATCH 2/2] docs: update install docs to mention oci chart --- docs/install/kubernetes.md | 55 ++++++++++++++++++++++++++++---------- 1 file changed, 41 insertions(+), 14 deletions(-) diff --git a/docs/install/kubernetes.md b/docs/install/kubernetes.md index 1a920f96e1bca..379f3be97d0ab 100644 --- a/docs/install/kubernetes.md +++ b/docs/install/kubernetes.md @@ -127,25 +127,52 @@ We support two release channels: mainline and stable - read the - **Mainline** Coder release: - + - **Chart Registry** + + + + ```shell + helm install coder coder-v2/coder \ + --namespace coder \ + --values values.yaml \ + --version 2.23.1 + ``` + + - **OCI Registry** + + + + ```shell + helm install coder oci://ghcr.io/coder/chart/coder \ + --namespace coder \ + --values values.yaml \ + --version 2.23.1 + ``` - ```shell - helm install coder coder-v2/coder \ - --namespace coder \ - --values values.yaml \ - --version 2.23.1 - ``` - **Stable** Coder release: - + - **Chart Registry** + + + + ```shell + helm install coder coder-v2/coder \ + --namespace coder \ + --values values.yaml \ + --version 2.22.1 + ``` + + - **OCI Registry** + + - ```shell - helm install coder coder-v2/coder \ - --namespace coder \ - --values values.yaml \ - --version 2.22.1 - ``` + ```shell + helm install coder oci://ghcr.io/coder/chart/coder \ + --namespace coder \ + --values values.yaml \ + --version 2.22.1 + ``` You can watch Coder start up by running `kubectl get pods -n coder`. Once Coder has started, the `coder-*` pods should enter the `Running` state.