@@ -73,34 +73,32 @@ repository added to helm by "helm add repo". Version matching is also supported
7373for this case.
7474
7575A repository can be defined as a git URL. The path must start with a prefix of
76- "git:// " followed by a valid git repository URL.
76+ "git+ " followed by a valid git repository URL.
7777
7878 # Chart.yaml
7979 dependencies:
8080 - name: helm-chart
8181 version: "main"
82- repository: "git:// https://github.com/helm/helm-chart.git"
82+ repository: "git+ https://github.com/helm/helm-chart.git"
8383
8484The 'repository' can be the https or ssh URL that you would use to clone a git
8585repo or add as a git remote, prefixed with 'git:'.
86- For example 'git://[email protected] :helm/helm-chart.git' or 87- 'git:// https://github.com/helm/helm-chart.git'
86+ For example 'git+ssh ://[email protected] :helm/helm-chart.git' or 87+ 'git+ https://github.com/helm/helm-chart.git'
8888
89- When using a 'git://' repository, the 'version' must be a valid semantic tag or branch
90- name for the git repo. For example 'master '.
89+ When using a 'git://' repository, the 'version' must be a valid semantic tag
90+ or branch name for the git repo, for example 'main '.
9191
9292Limitations when working with git repositories:
9393* Helm will use the 'git' executable on your system to retrieve information
9494about the repo. The 'git' command must be properly configured and available
9595on the PATH.
9696* When specifying a private repo, if git tries to query the user for
97- username/passowrd for an HTTPS url, or for a certificate password for an SSH
98- url, it may cause Helm to hang. Input is not forwarded to the child git
99- process, so it will not be able to receive user input. For private repos
100- it is recommended to use an SSH git url, and have your git client configured
101- with an SSH cert that does not require a password.
102- * The helm chart and 'Chart.yaml' must be in the root of the git repo.
103- The chart cannot be loaded from a subdirectory.
97+ username/password for an HTTPS URL, or for a certificate password for an SSH
98+ URL, it may cause Helm to hang. Input is not forwarded to the child git
99+ process, so it will not be able to receive user input. Authentication can be
100+ configured by using a git credentials helper which can read the credentials
101+ from environment variables, from operating system keychain, etc.
104102`
105103
106104const dependencyListDesc = `
0 commit comments