Skip to content

Commit 19d3f62

Browse files
committed
add documentation on how to publish helm charts to registry.k8s.io
1 parent 9a21cc1 commit 19d3f62

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

registry.k8s.io/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ repositories used to publish official container images for Kubernetes.
1616
- [Creating staging repos](#creating-staging-repos)
1717
- [Enabling automatic builds](#enabling-automatic-builds)
1818
- [Image Promoter](#image-promoter)
19+
- [Helm Chart Promotion](#helm-chart-promotion)
1920

2021
## Staging repos
2122

@@ -124,3 +125,16 @@ requests, which is described in detail
124125
[post-promo-job]: https://testgrid.k8s.io/sig-release-releng-blocking#post-k8sio-image-promo
125126
[ci-promo-job]: https://testgrid.k8s.io/sig-release-releng-blocking#ci-k8sio-image-promo
126127
[project-github]: https://git.k8s.io/community/github-management#project-owned-organizations
128+
129+
### Helm Chart Promotion
130+
131+
Publishing a Helm chart in the Kubernetes organization follows a process similar to
132+
publishing an image.
133+
134+
1. The subproject should build, document and support the Helm chart.
135+
2. The subproject should push the chart to the staging image repository.
136+
3. Once the release has been created and the release job has been successful, obtain the SHA for the container images and the Helm charts from the build logs.
137+
This will be used later to promote these assets to `registry.k8s.io`
138+
4. Update the image promoter manifest for your subproject (`registry.k8s.io/images/k8s-staging-SUBPROJECT/images.yaml`) to add the respective SHAs for the container images and the Helm charts that were pushed to the staging image repository
139+
5. Create a PR and make sure that it gets merged for the image promoter process to kick off
140+
6. Once the PR is merged, ensure the image promoter job for your merge commit is successful, then confirm that all promoted artifacts are available (e.g. `helm install subproject oci://registry.k8s.io/subproject/charts/subproject --version=$VERSION`)
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Deprecation
2+
3+
This way of publishing charts is deprecated.
4+
5+
Charts are published in the same location as the images.

0 commit comments

Comments
 (0)