Skip to content

Remove Capabilities check from podmonitor resource #466

@ADustyOldMuffin

Description

@ADustyOldMuffin

{{- if and .Values.podMonitor.enabled (.Capabilities.APIVersions.Has "monitoring.coreos.com/v1") }}

Capabilities of the cluster tied to the current context likely has no impact on what should be templated. If I enable pod monitoring then it should template out the pod monitor not check if my current environment supports the CRD as its entirely possible where the helm chart is for is different than the environment templating it (IE CI/CD).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions