Schemas: minor updates from the k8s branch (#71688)

Co-authored-by: sam boyer <sdboyer@grafana.com>
This commit is contained in:
Ryan McKinley
2023-07-21 09:17:11 -07:00
committed by GitHub
parent 6c1346cbc1
commit 10ea92fa09
24 changed files with 81 additions and 28 deletions

View File

@@ -20,7 +20,7 @@ type K8sResource = kinds.GrafanaResource[Spec, Status]
func NewK8sResource(name string, s *Spec) K8sResource {
return K8sResource{
Kind: "Role",
APIVersion: "v0.0-alpha",
APIVersion: "v0-0-alpha",
Metadata: kinds.GrafanaResourceMetadata{
Name: name,
Annotations: make(map[string]string),