Connect Helm Repository
info
You must enable the fluxcd addon first.
Check the is exist with the following command:
There are two ways to create the config. On the Configs page, you could create the configs that belong to the system scope. Then, the Helm Repository could be used for all projects. If you only want to use it for one project, let’s create the config on the Project summary page.
You can set the URL of your private repository in the field. If your repository has set up the HTTP basic authentication, you can set the Username
and for it.
Also, you could create the config via CLI:
List all Helm Repositories:
After creating a config, it only saves as a Secret in the system namespace in the hub cluster. But the Helm application will generate the HelmRepository resource that depends on this Secret. So, we should distribute the Secret to all namespaces that we could use and include managed clusters. The config distribution could help you.
Let’s go to the project summary page for which you want to create the Application.
Click the button and select the targets that you want to distribute the config.
Also, you could distribute the config via CLI:
You can follow the to create a helm type application in project default
. eg:
Then you can choose the helm repo url configured before like this image, and use the available charts in this repo.