Skip to content

Commit 10c1e36

Browse files
authored
feat: add publishing of helm charts to ghcr registry (#18316)
1 parent 6c4db7a commit 10c1e36

File tree

2 files changed

+42
-14
lines changed

2 files changed

+42
-14
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -693,6 +693,8 @@ jobs:
693693
gsutil -h "Cache-Control:no-cache,max-age=0" cp build/helm/provisioner_helm_${version}.tgz gs://helm.coder.com/v2
694694
gsutil -h "Cache-Control:no-cache,max-age=0" cp build/helm/index.yaml gs://helm.coder.com/v2
695695
gsutil -h "Cache-Control:no-cache,max-age=0" cp helm/artifacthub-repo.yml gs://helm.coder.com/v2
696+
helm push build/coder_helm_${version}.tgz oci://ghcr.io/coder/chart
697+
helm push build/provisioner_helm_${version}.tgz oci://ghcr.io/coder/chart
696698
697699
- name: Upload artifacts to actions (if dry-run)
698700
if: ${{ inputs.dry_run }}

docs/install/kubernetes.md

Lines changed: 40 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -127,25 +127,51 @@ We support two release channels: mainline and stable - read the
127127

128128
- **Mainline** Coder release:
129129

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

132-
```shell
133-
helm install coder coder-v2/coder \
134-
--namespace coder \
135-
--values values.yaml \
136-
--version 2.23.1
137-
```
132+
<!-- autoversion(mainline): "--version [version]" -->
133+
134+
```shell
135+
helm install coder coder-v2/coder \
136+
--namespace coder \
137+
--values values.yaml \
138+
--version 2.23.1
139+
```
140+
141+
- **OCI Registry**
142+
143+
<!-- autoversion(mainline): "--version [version]" -->
144+
145+
```shell
146+
helm install coder oci://ghcr.io/coder/chart/coder \
147+
--namespace coder \
148+
--values values.yaml \
149+
--version 2.23.1
150+
```
138151

139152
- **Stable** Coder release:
140153

141-
<!-- autoversion(stable): "--version [version]" -->
154+
- **Chart Registry**
155+
156+
<!-- autoversion(stable): "--version [version]" -->
157+
158+
```shell
159+
helm install coder coder-v2/coder \
160+
--namespace coder \
161+
--values values.yaml \
162+
--version 2.22.1
163+
```
164+
165+
- **OCI Registry**
166+
167+
<!-- autoversion(stable): "--version [version]" -->
142168

143-
```shell
144-
helm install coder coder-v2/coder \
145-
--namespace coder \
146-
--values values.yaml \
147-
--version 2.22.1
148-
```
169+
```shell
170+
helm install coder oci://ghcr.io/coder/chart/coder \
171+
--namespace coder \
172+
--values values.yaml \
173+
--version 2.22.1
174+
```
149175

150176
You can watch Coder start up by running `kubectl get pods -n coder`. Once Coder
151177
has started, the `coder-*` pods should enter the `Running` state.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy