Fix: addon registry use kubevela.github.io and support redirect (#6133)

This commit is contained in:
Somefive
2023-06-20 16:30:27 +08:00
committed by GitHub
parent 162a8f346a
commit 257695f073
2 changed files with 2 additions and 1 deletions
@@ -8,7 +8,7 @@ data:
"KubeVela":{
"name": "KubeVela",
"helm": {
"url": "https://addons.kubevela.net"
"url": "https://kubevela.github.io/catalog/official"
}
}
}'
+1
View File
@@ -996,6 +996,7 @@ func listAddons(ctx context.Context, clt client.Client, registry string) (*uitab
Username: r.Helm.Username,
Password: r.Helm.Password,
InsecureSkipTLS: r.Helm.InsecureSkipTLS,
AllowRedirect: true,
})
addonList, err = versionedRegistry.ListAddon()
if err != nil {