第一步、创建 Chart 仓库
创建 Repository 实例,选择 helm (hosted) 类型,并填写相关信息即可。
第二步、推送 Chart 制品
with helm cp-push
# helm plugin install https://github.com/chartmuseum/helm-push ... # helm repo add example https://nexus.example.com/repository/helm-chart-repository --username xxx --password xxx # helm cm-push --context-path=/repository/helm-chart-repository "loki-distributed-0.79.0.tgz" "example" Pushing loki-distributed-0.79.0.tgz to d3rm... Done.
Q:… Repository does not allow updating assets: …
A:Deployment policy: Allow redeploy
with cURL
https://help.sonatype.com/en/helm-repositories.html
参考