Add Helm Repository Artifact Servers
A Helm chart repository is an HTTP server that houses an index.yaml file and, if needed, packaged charts. For details, see The Chart Repository Guide from Helm.
Note: For Helm 2.0.0, chart repositories do not have any intrinsic authentication. There is an issue tracking progress in GitHub.
Because a chart repository can be any HTTP server that can serve YAML and tar files and can answer GET requests, you have a plethora of options when it comes down to hosting your own chart repository. For example, you can use a Google Cloud Storage (GCS) bucket, Amazon S3 bucket, Github Pages, or even create your own web server.
In this topic:
- Before You Begin
- Visual Summary
- Step 1: Select Helm Repository
- Step 2: Display Name
- Step 3: Hosting Platform
- Step 4: Repository URL
- Step 5: Username and Password
- Next Steps
Before You Begin
- See Harness Key Concepts.
Here's an example of Helm Repository Artifact Source configuration.
The Helm Repository dialog has the following fields.
Step 1: Select Helm Repository
To connect to an artifact server, do the following:
- Click Setup.
- Click Connectors.
- Click Artifact Servers.
- Click Add Artifact Server.
- In Type, click Helm Repository.
Step 2: Display Name
This is the name you will use to select this Artifact Server in you Kubernetes and Helm Services.
Step 3: Hosting Platform
The type of server where the repo is hosted.
- If you select an option other than HTTP Server, such as Amazon S3 or GCS (Google Cloud Storage), you will need a Cloud Provider for that account. For more information, see AWS S3 and Google Cloud Storage and Google Cloud Storage (GCS).
Step 4: Repository URL
The URL of the chart repo.
Step 5: Username and Password
If the charts are backed by HTTP basic authentication, you can also supply the username and password. See Share your charts with others from Helm.
For secrets and other sensitive settings, select or create a new Harness Encrypted Text secret.
Usage Scope is determined by the secret you selected.