Skip to content

Helm 3: diff looks like .Capabilities.APIVersions.Has always false #165

@jkroepke

Description

@jkroepke

I have some conditions on my chart for check apis installed on the kubernetes server like

{{ if .Capabilities.APIVersions.Has "image.openshift.io/v1" }}

While on helm 2 the condition correctly evalutated it looks like on helm 3 the condition is always false.

The reason is the diff output is wrong because all code inside the if is marked as removed.

Using 3.0.0-rc.7 of helm-diff

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions