背景
上篇文章写了,如何使用nexus 3 添加helm repo,但是最后放出来了一个问题,那就是再用0.0.2的时候如果代理了https://charts.gitlab.io得仓库地址时,在执行以下命令时会报404得错误
helm repo add gitlab http://127.0.0.1:8081/helm-gitlab-charts/
helm fetch gitlab/auto-deploy-app
Error: Failed to fetch http://127.0.0.1:8081/auto-deploy-app-0.2.4.tgz : 404 Not Found
通过错误信息来看,本地下载helm charts得地址是nexus得地址加charts文件,
通过查看https://charts.gitlab.io/index.yaml文件
- created: 2018-06-15T22:48:32.992821306Z
description: GitLab Runner
digest: 034f08a9e6bb733e7e56b3bf2542498da75872d1e373dce70334485829f68d0e
icon: https://gitlab.com/uploads/-/system/project/avatar/250833/runner_logo.png
keywords:
- git
- ci
- deploy
maintainers:
- email: support@gitlab.com
name: GitLab Inc.
- email: dj@gitlab.com
name: DJ Mountney
name: gitlab-runner
sources:
- https://hub.docker.com/r/gitlab/gitlab-runner/
- https://docs.gitlab.com/runner/
urls:
- https://gitlab-charts.s3.amazonaws.com/gitlab-runner-0.1.23.tgz
version: 0.1.23
- created: 2018-06-15T22:35:02.572502983Z
description: GitLab Runner
digest: c82d3d98a810322bf87edf47934814e6d3f24f26f614acb1d322f6586a96d593
icon: https://gitlab.com/uploads/-/system/project/avatar/250833/runner_logo.png
keywords:
- git
- ci
- deploy
maintainers:
- email: support@gitlab.com
name: GitLab Inc.
- email: dj@gitlab.com
name: DJ Mountney
name: gitlab-runner
sources:
- https://hub.docker.com/r/gitlab/gitlab-runner/
- https://docs.gitlab.com/runner/
urls:
- https://gitlab-charts.s3.amazonaws.com/gitlab-runner-0.1.22.tgz
version: 0.1.22
- created: 2018-06-14T16:30:13.81292576Z
description: GitLab Runner
digest: be75401889b81945faa52305bf734117648513f0e7814286ed1a52e2652758a7
icon: https://gitlab.com/uploads/-/system/project/avatar/250833/runner_logo.png
keywords:
- git
- ci
- deploy
maintainers:
- email: support@gitlab.com
name: GitLab Inc.
- email: dj@gitlab.com
name