Ihor Urazov

Results 148 comments of Ihor Urazov

@Syphdias instead of `date` you can use `$EPOCHREALTIME` from `zsh/datetime` module https://zsh.sourceforge.io/Doc/Release/Zsh-Modules.html#index-EPOCHREALTIME.

Here is sample `helmfile.yaml.gotmpl` for reproduction: ```yaml --- repositories: - name: prometheus-community url: https://prometheus-community.github.io/helm-charts - name: deliveryhero url: https://raw.githubusercontent.com/deliveryhero/helm-charts/refs/heads/master/ releases: - name: prometheus-operator-crds namespace: monitoring chart: prometheus-community/prometheus-operator-crds version: 21.0.0 suppressDiff:...

@yxxhero I'm attaching file with output of `helmfile --debug apply` for helm-diff v3.12.2 (one with the bug). Keep in mind it's 70K lines, because debug output contains full prometheus-operator crd...

@yxxhero here are logs of `helmfile --debug apply` with helm-diff v3.12.1. [helmfile_debug_3.12.1.txt](https://github.com/user-attachments/files/21104790/helmfile_debug_3.12.1.txt)

@yxxhero please elaborate. I have env var set `HELM_DIFF_USE_UPGRADE_DRY_RUN=true`, which is `same as "client"` https://github.com/databus23/helm-diff/blob/a1945d55b847e404a403f182b20728902655b2c6/cmd/upgrade.go#L73 Setting it to `none` or `false` is not what I want to.

@yxxhero I don't explicitly set this argument, probably it's helmfile behaviour. As I said previosly here are my current helm-diff related env vars: ``` % env | grep HELM_DIFF HELM_DIFF_COLOR=true...

Here are logs when `HELM_DIFF_USE_UPGRADE_DRY_RUN` is unset and when `HELM_DIFF_USE_UPGRADE_DRY_RUN=false` ``` % env | grep HELM HELM_DIFF_NORMALIZE_MANIFESTS=true HELM_DIFF_THREE_WAY_MERGE=true HELM_DIFF_COLOR=true HELM_DIFF_OUTPUT_CONTEXT=5 HELM_DIFF_USE_UPGRADE_DRY_RUN=true % unset HELM_DIFF_USE_UPGRADE_DRY_RUN % env | grep HELM HELM_DIFF_NORMALIZE_MANIFESTS=true...

@yxxhero it is provided in my post already. > % env | grep HELM HELM_DIFF_NORMALIZE_MANIFESTS=true HELM_DIFF_THREE_WAY_MERGE=true HELM_DIFF_COLOR=true HELM_DIFF_OUTPUT_CONTEXT=5 HELM_DIFF_USE_UPGRADE_DRY_RUN=false % helmfile --debug apply &>helmfile_debug_3.12.2_dry_run_false.txt

@yxxhero here is result of `HELM_DIFF_THREE_WAY_MERGE=false helmfile apply --debug &> helmfile_debug_3.12.2_three_way_merge_false.txt`: [helmfile_debug_3.12.2_three_way_merge_false.txt](https://github.com/user-attachments/files/21216196/helmfile_debug_3.12.2_three_way_merge_false.txt) It didn't have any effect of the issue.

Unsetting both `HELM_DIFF_THREE_WAY_MERGE` and `HELM_DIFF_USE_UPGRADE_DRY_RUN` env vars seems to address the issue for reproduction case. I'll experiment with unsetting this options for production workloads and will report later. [helmfile_debug_3.12.2_unset.txt](https://github.com/user-attachments/files/21216282/helmfile_debug_3.12.2_unset.txt)