Skip to content

return stable sorting of key-value / map sections #231

Description

@strangemonad

This is an issue in a couple places for us at the moment

  • spec.permissions seems to sometimes return [basic_member, admin] and other times return [admin, basic_member]
  • Dashboard spec.panels seems to not return a stable order.

This means that after a server-side apply followed by get even after filtering out metadata keys, you can't get a clean diff if you don't post-process the output first e.g. sort panels by panel key.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions