@soft-stech/grafana-operator
v2.3.0
Published
Grafana operator models
Downloads
5
Readme
@kubernetes-models/grafana-operator
Grafana operator models.
Installation
Install with npm.
npm install @kubernetes-models/grafana-operator
Usage
import { Grafana } from "@kubernetes-models/grafana-operator/integreatly.org/v1alpha1/Grafana";
// Create a new Grafana
const grafana = new Grafana({
metadata: { name: "example" },
spec: {
config: {
log: {
mode: "console",
level: "error"
}
}
}
});
// Validate against JSON schema
grafana.validate();
License
See LICENSE