Skip to content

feat: add publishing of helm charts to ghcr registry #18316

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
55 changes: 41 additions & 14 deletions docs/install/kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,25 +127,52 @@ We support two release channels: mainline and stable - read the

- **Mainline** Coder release:

<!-- autoversion(mainline): "--version [version]" -->
- **Chart Registry**

<!-- autoversion(mainline): "--version [version]" -->

```shell
helm install coder coder-v2/coder \
--namespace coder \
--values values.yaml \
--version 2.23.1
```

- **OCI Registry**

<!-- autoversion(mainline): "--version [version]" -->

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

<!-- autoversion(stable): "--version [version]" -->
- **Chart Registry**

<!-- autoversion(stable): "--version [version]" -->

```shell
helm install coder coder-v2/coder \
--namespace coder \
--values values.yaml \
--version 2.22.1
```

- **OCI Registry**
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The stable section will be in-accurate until it caught up when this commit is merged


<!-- autoversion(stable): "--version [version]" -->

```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.
Expand Down