Helm¶
This repository is used for storing helm charts.
Setup chart name¶
To publish a chart in your namespace, its name must start with UID.
Creating a chart:
If the chart has already been created, you need to change the name of its root directory and the name
string in Chart. yaml
:
apiVersion: v1
appVersion: "1.0"
description: A Helm chart for Kubernetes
name: UID-example-chart-name
version: 0.1.0
Packaging¶
Before publishing the chart to the repository, you must package it:
After completion, a file should be generated:
Uploading¶
To publish a chart, you can use any upload utility (make sure that the selected tool supports Basic-Auth):
$ curl -u mail:password https://artifactory.$LOC.scdc.io/repository/helm-hosted/ --upload-file UID-example-chart-name-<version>.tgz
Configuring Helm CLI¶
To work with files in the repository, you must perform the basic configuration:
$ helm repo add custom-name https://artifactory.$LOC.scdc.io/repository/helm-hosted/ --username mail --password password
Repo updating¶
Before fetching a chart from a repository, you must update the information about the repository's content:
Fetching¶
To fetch a chart from the repository, run: