如何通过ci-cd管道在图表博物馆中推送头盔包?

问题描述 投票:0回答:1

我想配置ci-cd管道,该管道应该包含一个阶段,用于将掌舵图表放置在图表博物馆中(例如,在aws s3存储桶中)。我已经使用helm s3插件配置了该操作(使用aws s3作为helm存储库,并通过管道执行将图表直接推入其中:

$ helm s3 push CHART_NAME.tgz REPO_NAME

所以我不想直接在s3中推送它们,而是想将这些包推送到图表博物馆。?

amazon-web-services amazon-s3 continuous-integration kubernetes-helm
1个回答
0
投票

站起来charmuseum实例后,将以下几行添加到CI / CD管道。

helm repo add chartmuseum http://[host]

helm push chart/ chartmuseum

或推送特定版本:helm push chart/ --version="[version]" chartmuseum

文档来自:https://github.com/chartmuseum/helm-push

© www.soinside.com 2019 - 2024. All rights reserved.