我正在尝试从我使用 部署的私有存储库安装软件包chart-releases,但我无法做到。
这是我所做的:
helm package charts/* --destination .deploy
cr upload -o odelucca -r helm-charts -p .deploy -t $MY_TOKEN
Run Code Online (Sandbox Code Playgroud)
index.yaml使用以下命令创建了:cr index --config .cr.yaml -t $MY_TOKEN
# My .cr.yaml file:
# owner: odelucca
# git-repo: helm-charts
# package-path: .deploy
# index-path: index.yaml
# charts-repo: https://github.com/odelucca/helm-charts/
Run Code Online (Sandbox Code Playgroud)
我已经提交index.yaml到 repo
我使用以下命令添加了远程 helm repo:
helm repo add helm-charts https://raw.githubusercontent.com/odelucca/helm-charts/master --username $MY_EMAIL --password $MY_TOKEN
Run Code Online (Sandbox Code Playgroud)
dependencies:
- name: serverless-common
version: 1.0.0
repository: "@helm-charts"
Run Code Online (Sandbox Code Playgroud)
helm dep update
Run Code Online (Sandbox Code Playgroud)