mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
refactor(helm): helm binary to sdk refactor [r8s-229] (#463)
Co-authored-by: stevensbkang <skan070@gmail.com>
This commit is contained in:
parent
0d25f3f430
commit
b5961d79f8
56 changed files with 2222 additions and 819 deletions
|
@ -15,6 +15,10 @@ func ValidateHelmRepositoryURL(repoUrl string, client *http.Client) error {
|
|||
return errors.New("URL is required")
|
||||
}
|
||||
|
||||
if strings.HasPrefix(repoUrl, "oci://") {
|
||||
return errors.New("OCI repositories are not supported yet")
|
||||
}
|
||||
|
||||
url, err := url.ParseRequestURI(repoUrl)
|
||||
if err != nil {
|
||||
return fmt.Errorf("invalid helm repository URL '%s': %w", repoUrl, err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue