Skip to content

Conversation

ricoberger
Copy link
Member

The Dashboards CRD and the references in the Teams and Applications CRD
are supporting placeholders now. Placeholders can be to create more
general usable dashboards and let the user decide which value should be
used for the placeholder.

For that we are adding a placeholders array to the Dashboards CRD, which
is mainly used to show all the available placeholders later in the list
of dashboards. The value for a placeholder is set in the placeholders
map of the Teams/Applications CRD. These values are passed to the Go API
and when we retrieved a dashboard for a given reference we are using the
template package to replace the placeholders in the dashboard with the
correct value. The placeholders can be specified via the following
format: "{% .placeholder %}".

The Dashboards CRD and the references in the Teams and Applications CRD
are supporting placeholders now. Placeholders can be to create more
general usable dashboards and let the user decide which value should be
used for the placeholder.

For that we are adding a placeholders array to the Dashboards CRD, which
is mainly used to show all the available placeholders later in the list
of dashboards. The value for a placeholder is set in the placeholders
map of the Teams/Applications CRD. These values are passed to the Go API
and when we retrieved a dashboard for a given reference we are using the
template package to replace the placeholders in the dashboard with the
correct value. The placeholders can be specified via the following
format: "{% .placeholder %}".
@ricoberger ricoberger merged commit d9f4f9f into v0.4.0 Jun 28, 2021
@ricoberger ricoberger deleted the add-support-for-dashboard-placeholders branch June 28, 2021 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant