Skip to content

Bug: Allow better naming in dashboard names #41

@angelbarrera92

Description

@angelbarrera92

Currently, the dashboard name set in the organization CR:

---
apiVersion: grafana.k8spin.cloud/v1
kind: Organization
metadata:
  name: example.com
  namespace: monitoring
spec:
  dashboards:
  - name: Pods
    data: |
      {}

can not be as friendly as it should be, for example, it can not contains special characters like / or because this name is being used to override the dashboard internal uid:

dashboardParsed['uid'] = dashboardName
dashboardParsed['title'] = dashboardName
and it does not accept this characters.

It would be awesome if this name accepts every possible character and the uid is not a problem anymore.
Check if the uid is required for anything else that could impact the operator logic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions