Library that provides the Crossplane Composite Resource Definition (XRD) for grafana resources and corresponding go types for programmatically generating the XRs.
ProvisionedDashboard - A Composite Resource managing a grafana dashboard within an org and optionally a specific folder.
The current package expects a grafana.crossplane.io/ProviderConfig named provisioneddashboards.
XRDs are defined using go structs and struct markers. The kanopy-platform/controller-tools fork provides an xrd plugin used to emit the xrd definition in config. For more details on the available markers pass the plusin the -w flag or consulte the marker documentation.
Packaging into a Crossplane Configuration package is done via the crossplane-package image. All yaml files in the config directory will be included in the configuration package that is published. The tool currently only supports amd64 arch but the packages and package installer doesn't care about the image architecture.