Skip to content

nodePort == 0 should be omitted #8901

Closed
@justinsb

Description

omitEmpty does not omit integer fields, but we really want omitEmpty on nodePort.

@thockin suggested using replica count as an example for how to do this.

(Or is it possible to have omitEmpty recognize int == 0 as empty?)

Metadata

Assignees

No one assigned

    Labels

    priority/backlogHigher priority than priority/awaiting-more-evidence.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions