summarylogtreecommitdiffstats
path: root/hrDiff
blob: 9b5691700ea0269fd407b76e141117b9ed8180e8 (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env bash
if [[ -o xtrace ]]; then
  export XTRACE=true
fi

# this flag doesn't work with the dry-run switch
if [[ "$*" == *"--allow-unreleased"* ]]; then
  HELM_DIFF_USE_UPGRADE_DRY_RUN=false
fi
HELM_DIFF_USE_UPGRADE_DRY_RUN="${HELM_DIFF_USE_UPGRADE_DRY_RUN:-true}" exec helmrelease "diff" "$@"