Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.21 KB

README.md

File metadata and controls

25 lines (16 loc) · 1.21 KB

Grafsplane

Library that provides the Crossplane Composite Resource Definition (XRD) for grafana resources and corresponding go types for programmatically generating the XRs.

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.

XRD Generation

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.

Configuration Package

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.