配置 Helm
把 Helm chart repository 指向 Depsilo /helm/ 路由,并了解 upstream 与 chart 源的对应关系。
Helm 通过 helm repo add 指向 Depsilo 的 /helm/ 路由。一个 Depsilo Helm upstream 对应一个 chart repository;chart 源由服务端 upstream 配置决定,不是 URL 后缀。
配置客户端
链接到“配置客户端”小节helm repo add depsilo http://localhost:23333/helm/helm repo updatehelm search repo depsilo | head如果团队使用多个 chart 仓库,为每个仓库配置一个 upstream,并使用不同的本地 repo 名称区分;不要假设 /helm/<name> 这样的路径会自动切换上游。
验证请求
链接到“验证请求”小节-
确认实例就绪
终端窗口 curl -fsS http://localhost:23333/ready -
拉取一个 chart
终端窗口 helm pull depsilo/<chart> --untar --destination /tmp/depsilo-helm -
在 Admin 中核对
在 Access logs 中确认
/helm/请求;index.yaml与 chart 包都应经过 Depsilo。