![]() We will have the chart-releaser utility generate the. It should report “Your site is live”, on the branch “gh-pages”. Verify that Github Pages is enabled by going to your repository > Settings > Pages. Git commit -a -m "initial commit of gh-pages" -allow-empty # create fresh 'gh-pages' branch, standard for Github Pages Helm install -dry-run mynginx1 charts/nginx Enable Github Pages featureīy creating a new branch named ‘gh-pages’, it will automatically enable Github Pages and our ability to serve content from the source code repository at ‘ Run the following commands to create a fresh branch named ‘gh-pages’. # dry-run of chart, shows manifests that would be used during release Owner_name=$(git remote -v | grep origin | head -n1 | grep -Po ":\K*")Įcho "Going to configure $repo_name owned by '$owner_name' as a Helm Chart repository" # substitute these values for your own Github repository If you do not have a helm chart in the ‘charts’ folder yet, follow these instructions to create a simple nginx Helm Chart. This article (and the default tool settings) assume your Helm Charts are located in the ‘charts’ folder of the github repository. # download, extract, and copy binary to PATH Chart Releaser tool – used to generate index.yaml and upload the Chart.tgz, a Github Personal Access Token (classic) with all permissions to ‘repo’ is required Helm – if you have not installed the ‘helm’ tool, follow my instructions here.Github repository – If you do not already have a Github repository to work with, refer to this section in the Github docs.If you would rather use Github Actions to automatically run chart-releaser on push events, read my article here. tgz files, allowing us to focus on chart development. The ‘ cr‘ (chart-releaser) tool wraps up the logic of managing index.yaml and the backing chart. The backing Chart content (.tgz) can also be uploaded as a Github Release, conveniently allowing us to host the entire solution in our Github repository. ![]() ![]() So by adding a file named “index.yaml” to source control and enabling Github Pages to serve the file over HTTPS, you have the minimal basis for a public Helm chart repository. ![]() The only requirement for a public Helm chart repository is that it exposes a URL named “index.yaml”. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |