You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
diff not showing changes with values that contain # (hash) #757
{{- range $rule := .Values.ingress.rules }}
{{- $index := 0 }}
{{- range $path := $rule.paths }}
{{- if or .backend.actions .backend.conditions }}
{{- $index = add $index 1 }}
{{- end }}
{{- if $path.backend.actions }}
alb.ingress.kubernetes.io/actions.rule-{{ $index }}: {{ $path.backend.actions | toJson | squote }}
{{- end }}
{{- if $path.backend.conditions }}
alb.ingress.kubernetes.io/conditions.rule-{{ $index }}: {{ $path.backend.conditions | toJson | squote }}
{{- end }}
{{- end }}
{{- end }}
I don't see the diff, but when running helmfile template i do see the changes being applied and also after running helmfile apply the changes were applied, they look like this from the template run:
when i change query and path values to not include # i am able to see the diff which means that for some reason # is ignored in diff run.
is this a bug? or its intended to ignore values that contain # (hash)?
Activity
yxxhero commentedon Mar 19, 2025
@LeonD9 thanks for your issue. maybe this is a bug. could you post an demo for debuging?
LeonD9 commentedon Mar 19, 2025
@yxxhero you can use the values and helm template i put in the description of this issue.
yxxhero commentedon Mar 19, 2025
@LeonD9 I need whole chart and values to debug and find the issue quickly. thanks so much.
LeonD9 commentedon Mar 20, 2025
This is the helm template i am using:
And this is my values.yaml:
@yxxhero please check if it helps you debug this issue.
yxxhero commentedon Mar 22, 2025
@LeonD9 sorry. I can't reproduce your issue.
LeonD9 commentedon Apr 2, 2025
@yxxhero I checked again and i can reproduce it using this chart and values:
values.yaml:
the expected output should be:
Instead i don't see any output but when i change the values.yaml to this:
I see the correct output:
which seems like helm diff doesn't know how to handle
#values.yxxhero commentedon May 10, 2025
is this right?
yxxhero commentedon May 10, 2025
@LeonD9
LeonD9 commentedon May 27, 2025
@yxxhero Yes, exactly what i expected to see in the helm diff.
yxxhero commentedon May 27, 2025
@LeonD9 in my side, it works fine.