Skip to content

Schema for empty array/object #290

@fopina

Description

@fopina

If I have something like this in my chart values.yaml:

# -- Expose service
externalIngressRoutes: []
  # Example:
  #  - name: whatever
  #    other_name: whatever

How do I refactor it so this project picks up types (and @schema annotations) for the elements of the array?

Or should I create a separate values-examples.yaml in my chart that won't be used as default values but can be consumed by helm schema command?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions