Skip to content

Non deterministic helm diff behavior with "three way merge" #341

Closed
@sbugalski

Description

@sbugalski

Hello,

I am using helm diff with Azure DevOps pipelines.

Since recent changes we have issue with three way merge non deterministic helm diff and error exit code.

  1. reading three way merge from env prints error
    image

Command:

  helm diff upgrade \
    --install $RELEASE_NAME ingress-nginx/ingress-nginx \
    --namespace $RELEASE_NAME \
    --version 4.0.6 \
    --values "values.yaml"
  1. Non deterministic behavior related to three way merge from env
    Sometimes same task fails on different pipeline run
    image

Same task different results:
image
image

Command:

  HELM_DIFF_THREE_WAY_MERGE=false helm diff upgrade \
    --install $RELEASE_NAME ingress-nginx/ingress-nginx \
    --namespace $RELEASE_NAME \
    --version 4.0.6 \
    --values "values.yaml"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions