【问题标题】:How can you create a helm package on my CI from a chart without helm init? or access to a cluster如何在没有 helm init 的情况下在我的 CI 上创建 helm 包?或访问集群
【发布时间】:2019-07-24 18:00:58
【问题描述】:

我正在尝试在我的 CI 服务器上打包一个 helm chart 而无需 helm init

  docker run --rm -v "$PWD":/tmp/src/ -w /tmp/src/ alpine/helm helm package ./charts
  docker run --rm -v "$PWD":/tmp/src/ -w /tmp/src/ alpine/helm  helm init --client-only && helm package ./charts

以上不起作用任何人都可以帮助!我认为这将是一个常见的请求,即能够在没有 .kube 文件夹或访问集群的情况下创建 helm 包

【问题讨论】:

    标签: kubernetes continuous-integration devops continuous-deployment kubernetes-helm


    【解决方案1】:

    您可能想查看helm-maven-plugin

    基本上你可以使用 Maven 来获得相同的结果,并且应该能够在大多数 CI 软件中做到这一点。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-07-28
      • 2020-03-17
      • 2017-09-04
      • 2019-04-04
      • 1970-01-01
      相关资源
      最近更新 更多