K8s: Data Plane Aggregator (#91228)

This commit is contained in:
Todd Treece
2024-08-13 22:28:17 +03:00
committed by GitHub
parent 4ce82d3f14
commit 1b0e6b5c09
64 changed files with 5555 additions and 57 deletions
@@ -0,0 +1,16 @@
package install
import (
"k8s.io/apimachinery/pkg/runtime"
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
aggregation "github.com/grafana/grafana/pkg/aggregator/apis/aggregation"
v0alpha1 "github.com/grafana/grafana/pkg/aggregator/apis/aggregation/v0alpha1"
)
// Install registers the API group and adds types to a scheme
func Install(scheme *runtime.Scheme) {
utilruntime.Must(aggregation.AddToScheme(scheme))
utilruntime.Must(v0alpha1.AddToScheme(scheme))
utilruntime.Must(scheme.SetVersionPriority(v0alpha1.SchemeGroupVersion))
}