Configure Helm with Nexus
Configure Helm with Nexus
Configure your Helm client to connect to and authenticate to a Nexus Helm repository. Note that configuring Helm with Nexus requires creating a Helm repository in Nexus first.
Run the following command to add a Nexus Helm repository to your local Helm client configuration.
helm repo add <helm_repository_name> http://<host>:<port>/repository/<nexus_repository_name>/ --username <username> --password <password>
Where,
<helm_repository_name>: Your local alias used by the Helm client<host>: Your Nexus instance, for exampleexample.nexus.com<port>: Your Nexus port, for example8081<nexus_repository_name>: Your Helm Nexus repository, for example helm-proxy<username>: Username to authenticate to Nexus<password>: Password to authenticate to Nexus
Example:
helm repo add nexusrepo http://localhost:8081/repository/helm-proxy/ --username admin --password admin123