Skip to content

diff does not honour "helm.sh/resource-policy: keep"  #246

Closed
@timjohncurtis

Description

@timjohncurtis

We have a deployment which used an older version of helm, which defines the namespace as a YAML object in the helm chart. We want to upgrade to removing this as is the defined method in helm 3, so have added helm.sh/resource-policy: keep as an annotation, however when I run helm diff on the chart, it shows it will be removed. This is intended functionality as the YAML no longer exists, but could a note be added to the output of the diff noting to the user that this is annotated so it will not be deleted?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions