Schemas: minor updates from the k8s branch (#71688)
Co-authored-by: sam boyer <sdboyer@grafana.com>
This commit is contained in:
co-authored by
sam boyer
parent
6c1346cbc1
commit
10ea92fa09
@@ -20,7 +20,7 @@ type K8sResource = kinds.GrafanaResource[Spec, Status]
|
||||
func NewK8sResource(name string, s *Spec) K8sResource {
|
||||
return K8sResource{
|
||||
Kind: "Dashboard",
|
||||
APIVersion: "v0.0-alpha",
|
||||
APIVersion: "v0-0-alpha",
|
||||
Metadata: kinds.GrafanaResourceMetadata{
|
||||
Name: name,
|
||||
Annotations: make(map[string]string),
|
||||
|
||||
@@ -740,7 +740,7 @@ type Spec struct {
|
||||
|
||||
// Unique numeric identifier for the dashboard.
|
||||
// `id` is internal to a specific Grafana instance. `uid` should be used to identify a dashboard across Grafana instances.
|
||||
Id *int64 `json:"id,omitempty"`
|
||||
Id *int64 `json:"id"`
|
||||
|
||||
// Links with references to other dashboards or external websites.
|
||||
Links []Link `json:"links,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user