Continental Innovates with Rancher and Kubernetes
Any user can create custom catalogs to add into Rancher. Besides the content of the catalog, users must ensure their catalogs are able to be added into Rancher.
Rancher supports adding in different types of repositories as a catalog:
The Git URL needs to be one that git clone can handle and must end in .git. The branch name must be a branch that is in your catalog URL. If no branch name is provided, it will default to use the master branch. Whenever you add a catalog to Rancher, it will be available almost immediately.
git clone
.git
master
A Helm chart repository is an HTTP server that contains one or more packaged charts. Any HTTP server that can serve YAML files and tar files and can answer GET requests can be used as a repository server.
Helm comes with a built-in package server for developer testing (helm serve). The Helm team has tested other servers, including Google Cloud Storage with website mode enabled, S3 with website mode enabled or hosting custom chart repository server using open-source projects like ChartMuseum.
helm serve
In Rancher, you can add the custom Helm chart repository with only a catalog name and the URL address of the chart repository.
When adding your catalog to Rancher, you’ll provide the following information:
x-oauth-basic
Available as of v2.2.0
Private Git or Helm chart repositories can be added into Rancher using either credentials, i.e. Username and Password. Private Git repositories also support authentication using OAuth tokens.
Username
Password
When adding the catalog, select the Use private catalog checkbox.
Provide the Username and Password for your Git or Helm repository.
Read using Git over HTTPS and OAuth for more details on how OAuth authentication works.
Create an OAuth token with repo permission selected, and click Generate token.
repo
For Username, provide the Git generated OAuth token. For Password, enter x-oauth-basic.