• Stars
    star
    104
  • Rank 320,287 (Top 7 %)
  • Language Mustache
  • License
    Apache License 2.0
  • Created over 4 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Example project to demo testing and hosting a chart repository with GitHub Pages and Actions

Charts Repo Actions Demo

Example project to demo testing and hosting a chart repository with GitHub Pages and Actions.

Actions

Project Status

main supports Helm 3 only, i. e. both v1 and v2 API version charts are installable.

Chart Sources

  • charts/example-v1: Sample chart with API version v1
  • charts/example-v2: Sample chart with API version v2
  • charts/dependencies-v1: Simple chart with API version v1 to test dependencies from an external Charts repo
  • charts/dependencies-v2: Simple chart with API version v2 to test dependencies from an external Charts repo

How-To

You can automatically test and host your own chart repository with GitHub Pages and Actions by following these steps.

Steps

The prerequisites listed in the READMEs for actions above must be complete before the steps below, or your charts' initial versions won't be released.

  1. Use the main branch for all of the below, if you wish to use the Actions workflow files as-is
  2. Copy the .github/workflows files from this project to yours
  3. Add your charts to a parent directory in the project (/charts is most straightforward, as it's the default. To change this see helm/chart-testing > configuration > chart-dirs)
  4. Optional: To list your charts repo publicly on the Helm Hub, see Helm Hub > How To Add Your Helm Charts. Consider also pushing to CNCF Artifact Hub

Results

  • The Lint and Test Charts workflow uses @helm/kind-action GitHub Action to spin up a kind Kubernetes cluster, and @helm/chart-testing-action to lint and test your charts on every Pull Request and push
  • The Release Charts workflow uses @helm/chart-releaser-action to turn your GitHub project into a self-hosted Helm chart repo. It does this – during every push to main – by checking each chart in your project, and whenever there's a new chart version, creates a corresponding GitHub release named for the chart version, adds Helm chart artifacts to the release, and creates or updates an index.yaml file with metadata about those releases, which is then hosted on GitHub Pages
  • You should now be able to add your charts repo with helm repo add <owner> https://<owner>.github.io/<project>

More Repositories

1

helm

The Kubernetes Package Manager
Go
26,065
star
2

charts

⚠️(OBSOLETE) Curated applications for Kubernetes
Go
15,528
star
3

chartmuseum

helm chart repository server
Go
3,484
star
4

monocular

⚠️(OBSOLETE) Search and discovery UI for Helm Chart repositories
Go
1,423
star
5

chart-testing

CLI tool for linting and testing Helm charts
Go
1,236
star
6

helm-mapkubeapis

This is a Helm plugin which map deprecated or removed Kubernetes APIs in a release to supported APIs
Go
843
star
7

chart-releaser

Hosting Helm Charts via GitHub Pages and Releases
Go
637
star
8

helm-classic

⚠️(OBSOLETE) Helm Classic v1
Go
575
star
9

chart-releaser-action

A GitHub Action to turn a GitHub project into a self-hosted Helm chart repo, using helm/chart-releaser CLI tool
Shell
530
star
10

helm-2to3

This is a Helm v3 plugin which migrates and cleans up Helm v2 configuration and releases in-place to Helm v3
Go
497
star
11

community

Helm community content
413
star
12

kind-action

A GitHub Action for Kubernetes IN Docker - local clusters for testing Kubernetes
Shell
274
star
13

hub

⚠️(OBSOLETE) Former distributed charts search for hub.helm.sh. Now see https://artifacthub.io/
250
star
14

chart-testing-action

A GitHub Action to lint and test Helm charts
Shell
226
star
15

helm-www

The Helm website for docs, blog and project info.
SCSS
195
star
16

charts-classic

⚠️(OBSOLETE) Charts for Helm Classic v1
Shell
140
star
17

examples

Helm chart repository for example charts
Smarty
59
star
18

helm-summit-notes

Helm Summit notes from February 2018
25
star
19

acceptance-testing

Acceptance test suite for the Helm client
Shell
24
star
20

prow

⚠️(OBSOLETE) Developer utilities for Helm
20
star
21

rudder-federation

⚠️(OBSOLETE) Federation support as a Tiller plugin
Go
18
star
22

charts-tooling

Tooling to support github.com/helm/charts
Go
10
star
23

pull-sizer

Label pull requests based on the size of their changes
Go
8
star
24

docker-kubectl-helm-az

⚠️(OBSOLETE) Azure CLI Dockerfile with kubectl and Helm
Dockerfile
8
star
25

rudder-appcontroller

⚠️(OBSOLETE) The AppController backend for Tiller
Go
7
star
26

docker-kubectl-helm-aws

⚠️(OBSOLETE) AWS CLI Dockerfile with kubectl and Helm
Dockerfile
7
star
27

get-helm-sh

Azure ARM templates to deploy https://get.helm.sh
5
star
28

homebrew-tap

Homebrew Formulas for Helm Tools
Ruby
5
star
29

specs

Specifications for Helm interfaces including charts and repositories
5
star
30

query-store-quay-logs

Go
4
star
31

repo-audit

Repo Auditing tool - pre-alpha status
Go
4
star
32

github-webhook-dco-labeler

Utility application used by Helm charts to add a label to pulls when DCO passes
Go
4
star
33

charts-check-pr-title

Go
3
star
34

get-helm

⚠️(OBSOLETE) Install script for Helm Classic v1
Shell
2
star