GoogleContainerTools/skaffold

Helm 2 rebuild on requirements.lock change

开放

#6,943 创建于 2021年12月6日

 (1 条评论) (0 个反应) (0 位负责人)Go (1,416 个派生)batch import
area/deploydeploy/helmhelp wantedkind/feature-requestpriority/p2

仓库指标

星标
 (12,822 个星标)
PR 合并指标
 (平均合并 3天 6小时) (30 天内合并 16 个 PR)

描述

On Skaffold v1.35.0, when a Helm 2 deploy is used, as soon as the dependency's requirements.lock file is added or changes, a rebuild is launched. Seems like #4181 was aimed at fixing this but somehow this only prevents the rebuild for the tmpcharts folder and its content, not the requirements.lock file.

Expected behavior

No rebuild on requirements.lock change

Actual behavior

Rebuild on requirements.lock change

Information

deploy:
  helm:
    releases:
    - name: project
      chartPath: helm
      artifactOverrides:
        backendImage: backend-image
        frontendImage: frontend-image
        databaseImage: database-image
      valuesFiles:
      - helm/values.yaml
      - helm/values.yaml.override
    flags:
      upgrade:
        - '--cleanup-on-fail'

Steps to reproduce the behavior

Use a Helm 2 chart having a dependency, on first install the project builds twice because of the creation of the requirements.lock file

贡献者指南