Skip to content

Produce warning if chart uses .Capabilities.APIVersions #6

@abstrask

Description

@abstrask

Produce warning if chart uses .Capabilities.APIVersions, which could affect rendered manifests, causing diff to not paint the full picture.

For example, Argo Workflows) won't render a ServiceMonitor resource, unless the API monitoring.coreos.com/v1 is being served.

This could be done by building on #4, that pulls and untars certain chart types. If to this for all charts (then template the local files), we can run grep to determine if a warning should be produced:

grep -R --include='*.yaml' --include='*.yml' --include='*.tpl' ".Capabilities.APIVersions"

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