Skip to content

.Release.Revision not working correctly in diff #253

@aianus

Description

@aianus

Hi, we have a pod label as follows that includes the helm revision number as a value:

tags.datadoghq.com/version: {{ .Release.Revision | default 0 | quote }}

This seems to work fine with helm, but with helm diff, the value is always displayed as "1" in the diff:

Observed output in diff:

-     tags.datadoghq.com/version: "5"
+     tags.datadoghq.com/version: "1"

Expected output in diff:

-     tags.datadoghq.com/version: "5"
+     tags.datadoghq.com/version: "6"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions