Den*_*dic 2 kubernetes kubernetes-helm kubernetes-security
使用私有GitHub存储库的Helm私有存储库。
脚步:
private-helm-registry或的私有GitHub存储库。创建一个charts文件夹,index.yaml并.tgz在该文件夹内以格式放置和打包图表。
使用以下命令将您的存储库添加到头盔:
$ helm repo add helm-registry 'https://<git_hub_personal_access_token>@raw.githubusercontent.com/myGitHubAccountName/private-helm-registry/master/charts/'
"helm-registry" has been added to your repositories
Run Code Online (Sandbox Code Playgroud)
注意:
1. Enclose the Url with single quotes ' '.
2. The trailing / is mandatory.
Run Code Online (Sandbox Code Playgroud)要将开发或其他分支添加为Helm存储库,请使用分支名称:
$ helm repo add helm-registry-dev 'https://<git_hub_personal_access_token>@raw.githubusercontent.com/myGitHubAccountName/private-helm-registry/<branch>/charts/'
"helm-registry-dev" has been added to your repositories
Run Code Online (Sandbox Code Playgroud)有关更多信息,请参见:使用私有github存储库作为掌舵图表存储库。
| 归档时间: |
|
| 查看次数: |
3716 次 |
| 最近记录: |