k8s: Add a dev only feature flag and simple service to get a client (#60204)

This commit is contained in:
Ryan McKinley
2022-12-13 07:41:16 -08:00
committed by GitHub
parent ebd728a99a
commit cf055ab4ec
15 changed files with 388 additions and 21 deletions
+2
View File
@@ -121,6 +121,7 @@ import (
"github.com/grafana/grafana/pkg/services/store"
"github.com/grafana/grafana/pkg/services/store/entity/httpentitystore"
"github.com/grafana/grafana/pkg/services/store/entity/sqlstash"
"github.com/grafana/grafana/pkg/services/store/k8saccess"
"github.com/grafana/grafana/pkg/services/store/kind"
"github.com/grafana/grafana/pkg/services/store/resolver"
"github.com/grafana/grafana/pkg/services/store/sanitizer"
@@ -352,6 +353,7 @@ var wireBasicSet = wire.NewSet(
wire.Bind(new(tag.Service), new(*tagimpl.Service)),
authnimpl.ProvideService,
wire.Bind(new(authn.Service), new(*authnimpl.Service)),
k8saccess.ProvideK8SAccess,
)
var wireSet = wire.NewSet(