我已经从使用传统的方式推动舵机图表到保监处格式。
但是在kubernetes集群上,没有安装图表,我得到了以下错误:
chart pull error: chart pull error: failed to download chart for remote reference: temp.azurecr.io/helm/v1/repo/abc:1.0.1: not found
chart pull error: chart pull error: failed to download chart for remote reference:我的新存储库是:
oci://abc.azurecr.io/charts而不是
https://abc.azurecr.io/helm/v1在kubernetes集群中,舵机路径也没有更新到图表中,我不知道为什么它还在运行。
/helm/v1 path发布于 2022-10-19 09:21:51
我尝试在我的环境中复制相同的问题,并得到了下面的输出
我已经启用了OCI对helm版本的实验性支持。
export HELM_EXPERIMENTAL_OCI=1
helm version我已经创建了容器注册表

我创建了示例聊天,并将图表保存到本地存档中。
cd ..
helm package .我已经给出了一些注册表凭证,并使用这个https://learn.microsoft.com/en-us/azure/container-registry/container-registry-auth-service-principal#create-a-service-principal创建了服务主体。
我已经使用下面的命令登录到注册表
helm registry login Registry_name.azurecr.io我们必须提供注册表的用户名和密码。

我运行helm 命令将图表作为OCI格式推送到注册表。
helm push hello-world-0.1.0.tgz oci://registry_name.azurecr.io/helm

我使用了下面的命令来显示存储库的属性
az acr repository show \
--name repository_name \
--repository helm/hello-world

来检查存储在存储库中的数据
az acr manifest list-metadata \
--registry myregistry890 \
--name helm/hello-world我使用下面的命令调出了聊天内容
helm pull oci://repository_name.azurecr.io/helm/hello-world --version 0.1.0

https://stackoverflow.com/questions/74002196
复制相似问题