K8s: Add basic query service (#80325)
This commit is contained in:
@@ -29,7 +29,7 @@ func TestExampleApp(t *testing.T) {
|
||||
|
||||
t.Run("Check runtime info resource", func(t *testing.T) {
|
||||
// Resource is not namespaced!
|
||||
client := helper.Org1.Admin.Client.Resource(schema.GroupVersionResource{
|
||||
client := helper.Org1.Admin.ResourceClient(t, schema.GroupVersionResource{
|
||||
Group: "example.grafana.app",
|
||||
Version: "v0alpha1",
|
||||
Resource: "runtime",
|
||||
@@ -139,7 +139,7 @@ func TestExampleApp(t *testing.T) {
|
||||
})
|
||||
|
||||
t.Run("Check dummy with subresource", func(t *testing.T) {
|
||||
client := helper.Org1.Viewer.Client.Resource(schema.GroupVersionResource{
|
||||
client := helper.Org1.Viewer.ResourceClient(t, schema.GroupVersionResource{
|
||||
Group: "example.grafana.app",
|
||||
Version: "v0alpha1",
|
||||
Resource: "dummy",
|
||||
|
||||
Reference in New Issue
Block a user