Skip to content

Various issues with annotations #99

@mmanciop

Description

@mmanciop

When an asset with a dash0.com/folder-path annotation is exported via get -o yaml and re-applied via apply -f, the folder path is silently dropped.
The same happens with dash0.com/source on dashboards and dash0.com/sharing on all asset types that support it.

Additionally, spec.permissions on views and synthetic checks is stripped during the same flow, meaning permission assignments are lost on re-apply.

Affected asset types: dashboards, views, synthetic checks.

Steps to reproduce:

  1. Create a dashboard with dash0.com/folder-path set (e.g., via apply -f)
  2. Export it: dash0 dashboards get <id> -o yaml
  3. Re-apply: dash0 apply -f exported.yaml
  4. Export again and compare — folder-path is gone
  5. Check in Dash0: The dashboard is not in the folder

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